Bug #7676
repository kickstarter create invalid PHP
Status: | Resolved | Start date: | ||
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | - | |||
Target version: | - | |||
Affected Flow version: |
Description
Using FLOW3 1.0.0 Alpha 8
./flow3 kickstart PhotoDatabase image
created the following PHP, which is invalid due to missing {}
class ImageRepository extends \F3\FLOW3\Persistence\Repository
It should be
class ImageRepository extends \F3\FLOW3\Persistence\Repository { }
Sorry if this is fixed in SVN, but couldn't find any other issue on this one
History
#1 Updated by Michael Sauter about 5 years ago
I think this is a problem with Fluid, see bug #6779.
#2 Updated by Soren Malling about 5 years ago
Michael Sauter wrote:
I think this is a problem with Fluid, see bug #6779.
Must disagree :) the domain model and controller are created with no errors and the template looked 99% the same when I had a look at them yesterday
#3 Updated by Michael Sauter about 5 years ago
Søren Malling wrote:
Michael Sauter wrote:
I think this is a problem with Fluid, see bug #6779.
Must disagree :) the domain model and controller are created with no errors and the template looked 99% the same when I had a look at them yesterday
I know, they're 99% the same. But there's 1% difference :)
Quick fix: Open up Packages/Framework/Kickstart/Resources/Private/Generator/Repository/RepositoryTemplate.php.tmpl and add a comment in between the curly brackets. This will result in a correct PHP file.
#4 Updated by Karsten Dambekalns about 5 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
- Start date deleted (
2010-05-05)
#5 Updated by Karsten Dambekalns about 5 years ago
- Project changed from TYPO3.Flow to kickstarter
#6 Updated by Karsten Dambekalns about 5 years ago
- Project changed from kickstarter to TYPO3.Kickstart
#7 Updated by Karsten Dambekalns almost 5 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100