Issue Type: Improvement Improvement
Assignee: Frank Sommer
Created: 27/Jun/14 12:01 AM
Description:

The Vanity URL app module is a great idea. But please check compatibilty to Magnolia CE.

After some debugging I think the reason of the incompatibilty is that there is no "default" site in CE release. On CE the following method returns "site".

private String retrieveSite() {
    String siteName = "default";

    AggregationState aggregationState = MgnlContext.getAggregationState();
    if (aggregationState instanceof ExtendedAggregationState) {
        Site site = ((ExtendedAggregationState) aggregationState).getSite();
        siteName = site.getName();
    }

    return siteName;
}

As there is "site" option in the edit dialog things run on an error...

First guess would be one of these options...

  • in CE skip the site selection and use some kind of default behaviour
  • method retrieveSite should simple return "default" if CE

Thanks for an update.

Project: Vanity URL app
Priority: Neutral Neutral
Reporter: Jan Christian Haddorp
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to