Skip Menu |

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 49825
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: Nobody in particular
Requestors: gsiems [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.8000
Fixed in: (no value)



Subject: Typo in sample code
Ref: Tutorial/08_Testing.pod On line 273: "$ua1->content_contains("/books/form_create\">Create</a>"," shouldn't this be "$ua2->content_contains("/books/form_create\">Create</a>","
O.k. while isn't the typo that I thought (it's late), there is still a typo. In 06_Authorization.pod, the link gets created in root/src/books/list.tt2 as "<a href="[% c.uri_for(c.controller.action_for('form_create')) %]">Admin Create</a>" In 08_Testing.pod, the test is "$ua1->content_contains("/books/form_create\">Create</a>", ..." So it appears that either the test in 08_Testing.pod should be changed ("s/Create/Admin Create/") or the code in 06_Authorization.pod should be changed ("s/Admin Create/Create/")
Fixed in svn rev 11832 & 11833