[MGNLUI-5482] Not specifying viewType after node path in URL opens an empty broken form Created: 07/Nov/19  Updated: 19/Nov/20

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Šimon Demočko Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Documentation update required:
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.

 


Generated at Mon Feb 12 09:27:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.