[Neos] Adding or Moving a Page Doesn't Change Published state
Bastian Waidelich
bastian at typo3.org
Thu Nov 28 12:04:02 CET 2013
Nick Poaros wrote:
Hi Nick,
> Haven't used any patches with git yet have only been using composer to
> get dev master.
In this very case you could just manually do the three changes from:
https://review.typo3.org/#/c/25711/1/Classes/TYPO3/TYPO3CR/Domain/Model/Node.php
in
Packages/Application/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/Node.php
If you really want to get into the git (which I can highly recommend)
you can use the *--prefer-source* option of composer to fetch the git
repositories instead of the packed distributions. Or you use git
directly to clone a repository. In this case:
cd Packages/Application
rm -Rf TYPO3.TYPO3CR
git clone git://git.typo3.org/Packages/TYPO3.TYPO3CR.git TYPO3.TYPO3CR
Afterwards you can apply the patch with:
cd TYPO3.TYPO3CR
git fetch https://review.typo3.org/Packages/TYPO3.TYPO3CR
refs/changes/11/25711/1 && git cherry-pick FETCH_HEAD
and get back to your initial state with:
git reset --hard origin/master
There are also some guides and walk-throughs in the TYPO3 wiki[1]
But be prepared for a learning curve when it comes to git..
[1] http://wiki.typo3.org/Category:Git
--
Bastian Waidelich
More information about the Neos
mailing list