Bug #8177

Wrong Template name

Added by Patrick Kollodzik over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

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.


Files

8177_v1.patch (2 KB) 8177_v1.patch Bastian Waidelich, 2010-06-17 13:02
8177_v2.patch (1.01 KB) 8177_v2.patch Bastian Waidelich, 2010-06-17 13:12
#1

Updated by Karsten Dambekalns over 11 years ago

  • Priority changed from Should have to Must have
  • Start date deleted (2010-06-11)
#2

Updated by Christoph Moeller over 11 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 over 11 years ago

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 over 11 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 over 11 years ago

Ok, another version without the ViewTemplate.html.tmpl renaming. Just don't forget to rename it manually.

#6

Updated by Karsten Dambekalns over 11 years ago

Bastian Waidelich wrote:

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..

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 over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4598.

Also available in: Atom PDF