Development

#4078 (Typo in 1_1 Chapter 4, "Adding a page")

You must first sign up to be able to contribute.

Ticket #4078 (closed documentation: fixed)

Opened 4 months ago

Last modified 4 months ago

Typo in 1_1 Chapter 4, "Adding a page"

Reported by: caponica Assigned to: fabien
Priority: minor Milestone: 1.1.1
Component: other Version: 1.1.0
Keywords: Cc:
Qualification: Unreviewed

Description

In the yellow block it says:
URLs (not domain names) are case-sensitive, and so is symfony (even though the method names are case-insensitive in PHP). This means that if you add an executeshow() method, or an executeShow(), and then you call show with the browser, symfony will return a 404 error.

But the second example is actually not an example of a case error - "executeShow()" is the correct method name. I guess this has crept in since, in the original 1.0 version of the book the example was "...This means that if you add an executemyaction() method, or an executeMyaction(), and then you call myAction with the browser, symfony will return a 404 error."

To correct this I would recommend changing the 1.1 documentation to read:
URLs (not domain names) are case-sensitive and so is symfony (even though the method names are case-insensitive in PHP). This means that if you add an executeshow() method and then you call show with the browser symfony will return a 404 error.

Change History

08/01/08 17:36:41 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [10585]) [1.1, 1.2] fixed typos in chapter 4 (closes #4078)

08/01/08 17:36:53 changed by fabien

  • milestone set to 1.1.1.