[MGNLDEMO-279] Tourfinder on CE does not load and console shows errors Created: 29/Mar/18  Updated: 09/Apr/18  Resolved: 03/Apr/18

Status: Closed
Project: Magnolia Demo Projects
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: 1.2.3

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File tourfinder-error-chrome.png     PNG File tourfinder-error.png    
Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Kromeriz 140, Kromeriz 141
Story Points: 3

 Description   

The tourfinder is this page: http://localhost:8080/magnoliaAuthor/travel/tour-finder.html

Ive downloaded the latest snapshot of CE demo webapp, installed, open travel demo page and get the errors shown in attached screenshots on magnoliaAuthor and magnoliaPublic.

(The tourfinder works on latest EE demo webapp)

(magnolia-community-demo-webapp-5.6.4-20180329.075840-62) downloaded installed via the CLI.

Chrome shows 404 on this resource:

http://localhost:8080/magnoliaPublic/.resources/tours/webresources/views/index.html

but the resource is visible in the Resources app.



 Comments   
Comment by Robert Šiška [ 29/Mar/18 ]

Caused by /modules/tours/virtualUriMappings/toursMapping@fromUri=/tours(.*).html

Comment by Mikaël Geljić [ 29/Mar/18 ]

Interestingly, RegexVUMapping has been using matcher.find() instead of matcher.matches() forEVER
whereas pretty much everybody configuring fromUri = /foo/bar expects it from beginning of the uri
As a workaround in tours demo: set fromUri to ^/tours(.*).html

Comment by Mikaël Geljić [ 29/Mar/18 ]

re-bootstrap overrides config update from multisite/sportstation

Generated at Mon Feb 12 05:18:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.