Uploaded image for project: 'Vanity URL app'
  1. Vanity URL app
  2. VANITY-2

Check compatibilty to Magnolia CE

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.2.0
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                frank.sommer Frank Sommer
                jhaddorp Jan Christian Haddorp
                ameyer, Roland Aust, Werner Rauch
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD