Bug #8177
Wrong Template name
Status: | Resolved | Start date: | ||
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | |||
Target version: | - | |||
Affected Flow version: |
Description
Using FLOW3 Alpha 9
./flow3 kickstart package DummyPackage
The filename of the index template for the StandardController is in lowercase, wich will result in a 404 error.
If you follow the documention "Getting Started" the example in chapter 6.2 will not work.
Associated revisions
[+BUGFIX] Kickstart: Now creates upperCamelCase template files, fixes #8177.
History
#1 Updated by Karsten Dambekalns about 5 years ago
- Priority changed from Should have to Must have
- Start date deleted (
2010-06-11)
#2 Updated by Christoph Moeller about 5 years ago
Patrick Kollodzik wrote:
Using FLOW3 Alpha 9
[...]
The filename of the index template for the StandardController is in lowercase, wich will result in a 404 error.
If you follow the documention "Getting Started" the example in chapter 6.2 will not work.
Just to have this searchable (cost me last night because it wasn't): in case the uppercase view filename is missing, you get the 404 page telling this:
Sorry, the page you requested was not found.
The technical reason is: No template was found. View could not be resolved for action "index".
#3 Updated by Bastian Waidelich about 5 years ago
- File 8177_v1.patch added
Attached is a patch that should resolve this issue.
Please apply and commit asap, IMO this is a big blocker for a lot of "getting started"-people
#4 Updated by Bastian Waidelich about 5 years ago
Bastian Waidelich wrote:
Attached is a patch that should resolve this issue.
Please note, that you'll probably have to rename viewTemplate.html.tmpl
to ViewTemplate.html.tmpl
in Resources/Private/Generator/View/
as SVN can't handle this..
#5 Updated by Bastian Waidelich about 5 years ago
- File 8177_v2.patch added
Ok, another version without the ViewTemplate.html.tmpl renaming. Just don't forget to rename it manually.
#6 Updated by Karsten Dambekalns about 5 years ago
Bastian Waidelich wrote:
Please note, that you'll probably have to rename
viewTemplate.html.tmpl
toViewTemplate.html.tmpl
inResources/Private/Generator/View/
as SVN can't handle this..
Of course it can, you just need a case-sensitive file system to do it. And a reasonable client (like the CLI). Hah.
#7 Updated by Karsten Dambekalns about 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r4598.