Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5482

Not specifying viewType after node path in URL opens an empty broken form

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2
    • None
    • None
    • Yes

    Description

      Repro steps

      1. In any new UI app (e.g. DAM app) open a resource in edit mode.
      2. Remove the viewType part of the URL.
      3. e.g.:  before: http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:dam:jcrDetail;/tours/shark_brian_warrick_0824.JPG:edit 
        after: http://localhost:5439/magnoliaAuthor/.magnolia/admincentral#app:dam:jcrDetail;/tours/shark_brian_warrick_0824.JPG

      Actual result

      Empty form opened. Clicking on Cancel / Submit does nothing.

      Result in 6.1

      Resource opened in edit mode (viewType: edit)

      You can try it directly on demo just by opening this URL: 

      https://demo.magnolia-cms.com/.magnolia/admincentral#app:assets:detail;/tours/shark_brian_warrick_0824.JPG

      Expected result

      ??

      Doc update

      Resource: https://documentation.magnolia-cms.com/display/DOCS61/Location,+location,+location

      Depending on the resolution of this issue, the view type may become a mandatory part of URL for a Content type subApp or if not, a default will be specified.

      Subapp ID and its parameters section contains an example without the viewType. In case this will not be supported, it should be amended/removed.

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD