[MGNLUI-795] Opening non-default subapps via url doesn't start default one Created: 04/Mar/13  Updated: 07/Mar/13  Resolved: 05/Mar/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Espen Jervidalo Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: alpha3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLUI-810 Workbench switches to tree view after... Closed
duplicate
duplicates MGNLUI-757 Re-loading the page doesn't re-open a... Closed
relation
is related to MGNLUI-813 Url-navigation to subapp doesn't work... Closed
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
Date of First Response:

 Description   

when openening a non-default subapp directly using the addressbar it won't open the default subapp. App is more or less broken then as you might not be able to navigate (e.g. Pages app).

reproduce:

  • open admincentral
  • admincentral#app:contacts:item;/mmonroe:edit into addressbar of browser
  • contacts app launches with only one subapp
  • hit save or cancel


 Comments   
Comment by Daniel Lipp [ 04/Mar/13 ]

...and you get an exception:

2013-03-04 18:39:48,430 WARN  info.magnolia.event.SimpleEventBus                : Exception caught when dispatching event: No view type could be found for [edit]
java.lang.IllegalArgumentException: No view type could be found for [edit]
	at info.magnolia.ui.workbench.ContentView$ViewType.fromString(ContentView.java:81)
	at info.magnolia.ui.contentapp.location.ContentLocation.extractView(ContentLocation.java:98)
	at info.magnolia.ui.contentapp.location.ContentLocation.<init>(ContentLocation.java:53)
	at info.magnolia.ui.contentapp.location.ContentLocation.wrap(ContentLocation.java:127)
	at info.magnolia.ui.contentapp.ContentSubApp.start(ContentSubApp.java:111)

Comment by Daniel Lipp [ 05/Mar/13 ]

Those tickets are related as both are about location changes. Looks like they're not really related codewise.

Generated at Mon Feb 12 08:40:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.