[Flow] Adding an interface leads to "Execution of subprocess failed with exit code 255 and no output"
Bastian Waidelich
bastian at typo3.org
Tue Jul 9 11:21:00 CEST 2013
Christian Eßl wrote:
Hi Christian,
> I can't figure out how to add an interface in TYPO3 Flow. For example I
> added this very basic interface as "SortableInterface.php" to the
> Domain/Model/ folder:
> namespace Test\CMS\Domain\Model;
Yet another CMS? interesting ;)
> interface SortableInterface {
>
> /**
> * @var integer
> */
> protected $index;
>
> }
> ?>
Interfaces may not define member variables. That's probably the issue
here and your IDE should have told you about it!?
> Now if I try to access the page or run ./flow doctrine:update in the
> shell, I get this error:
>
> #1355480641: Execution of subprocess failed with exit code 255 and no
> output. The erroneous command was [...]
If the issue is really the mentioned member variable, the error message
should tell you about this.
So if that's really the complete output, you encounter a bug that has
been in the (unreleased) git master for a while but has been fixed in
the meantime, try updating (but mind the renamed git repositories [1]).
[1]
http://typo3.org/news/article/git-repositories-for-typo3-flow-packages-have-been-renamed/
HTH
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the Flow
mailing list