Issue Details (XML | Word | Printable)

Key: BCMS-129
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Gregory Chomatas
Reporter: Gregory Chomatas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
BetaCMS

Fix bug in default URL Rewrite rules (portal api) in betacms-portal-commons module

Created: 11/Nov/09 03:59 PM   Updated: 15/Nov/09 01:16 AM  Due: 10/Nov/09
Component/s: betacms-portal-commons
Affects Version/s: 2.1.0.CR1
Fix Version/s: 2.1.0.CR2

Time Tracking:
Not Specified


 Description  « Hide
The pattern (?:/[t|template|resourceRepresentationTemplate]/([A-Za-z0-9_\-]+))?(?:/[type|resourceRepresentationType]/(xhtml|pdf|excel))? which is present in all rules is not properly expressed. The brackets should be replaced by parenthesis.

The correct way to express the above pattern is
(?:/(?:t|template|resourceRepresentationTemplate)/([A-Za-z0-9_\-]+))?(?:/(?:type|resourceRepresentationType)/(xhtml|pdf|excel))?

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Gregory Chomatas added a comment - 15/Nov/09 01:16 AM
DONE