[MGNLOPENSOCIAL-1] Context-Path should be configurable Created: 14/Feb/11  Updated: 19/Aug/20  Resolved: 19/Aug/20

Status: Closed
Project: OpenSocial Connector (closed)
Component/s: container
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Right now there's several places where the context-path is hardcoded (mgnl-opensocial.js, container.js, magnolia-oscontainer.js, magnolia-shindig.properties) - of course it should be configurable



 Comments   
Comment by Christian Ringele [ 14/Feb/11 ]

It doesn't need to be configurable, it just should be made dynamic, there is a variable for it:
In freemarker: ${contextPath}
In Java: MgnlContext.getContextPath()

Comment by Daniel Lipp [ 26/Apr/11 ]

updated list of affected files

Comment by Daniel Lipp [ 27/Apr/11 ]

Other approaches we should check are scenario 2 & 3 from a thread of the shindig mailing-list: http://mail-archives.apache.org/mod_mbox/shindig-dev/201103.mbox/%3c9E24FE73B6CFAC4592582CA1A18643DC0D1B873D@OAEXCH2SERVER.oa.oclc.org%3e - they might also fix the problem...

Comment by Daniel Lipp [ 06/Sep/12 ]

Looks like it's fixed since Shindig 2.5.0-beta: https://issues.apache.org/jira/browse/SHINDIG-1525

Comment by Pat Hills [ 19/Aug/20 ]

We're closing this ticket as Outdate as the project it belongs to it's marked as Closed (CSH-1634)

Generated at Mon Feb 12 10:24:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.