[MULTISITE-70] Multisite Settings break Servlet calls Created: 23/Dec/16  Updated: 23/Feb/17  Resolved: 23/Feb/17

Status: Closed
Project: Magnolia Multisite Module
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Giancarlo Berner Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X or Linux, JDK 1.7


Issue Links:
relation
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

 Description   

In a project we are using the multisite configuration.
The domain setting is /xyz, the i18n setting is for "en" with country=us and language =en. Page rendering works fine, the selecting a link correctly maps to /xyz/en-us/page.
However, when I configure servlets using the "filter" and "servlet" configuration, the multisite settings get applied to the servlet call. For example:
An Ajax call with url: 'getPartDetails?action=abc' _gets converted to _/xyz/en-us/getPartDetails and of course the servlet is not found.
This is for a client project and hence very urgent. Is there a workaround to configure servlets in a way that I don't have to create "absolute" servlet calls?

Thanks
Giancarlo


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