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

Selecting a prefixed item results in malfunctioning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Major
    • 5.0
    • 5.0
    • content app

    Description

      To reproduce it

      • Open config app
      • Expand server node and select mgnl:created property (okay, it should not be there in the first place, anyways...)
      • A WARN as the one pasted below will show up in the logs
      • From now on, the app no longer reacts to events, i.e. URI fragment or action availability in action bar do not change if a different item is selected
      • Closing the app sometimes results in a Vaadin's out-of-synch error
      2012-12-11 14:24:28,702 WARN  info.magnolia.ui.framework.event.SimpleEventBus   : Exception caught when dispatching event: No view type could be found for [created]
      java.lang.IllegalArgumentException: No view type could be found for [created]
      	at info.magnolia.ui.admincentral.content.view.ContentView$ViewType.fromString(ContentView.java:83)
      	at info.magnolia.ui.admincentral.app.content.location.ContentLocation.extractView(ContentLocation.java:101)
      	at info.magnolia.ui.admincentral.app.content.location.ContentLocation.<init>(ContentLocation.java:55)
      	at info.magnolia.ui.admincentral.app.content.location.ContentLocation.wrap(ContentLocation.java:131)
      	at info.magnolia.ui.admincentral.app.content.AbstractContentSubApp.getCurrentLocation(AbstractContentSubApp.java:171)
      	at info.magnolia.ui.admincentral.app.content.AbstractContentSubApp$1.onItemSelected(AbstractContentSubApp.java:188)
      	at info.magnolia.ui.admincentral.event.ItemSelectedEvent.dispatch(ItemSelectedEvent.java:78)
      	at info.magnolia.ui.admincentral.event.ItemSelectedEvent.dispatch(ItemSelectedEvent.java:1)
      	at info.magnolia.ui.framework.event.SimpleEventBus.fireEvent(SimpleEventBus.java:76)
      	at info.magnolia.ui.admincentral.content.view.ContentPresenter.onItemSelection(ContentPresenter.java:132)
      	at info.magnolia.ui.admincentral.tree.view.TreeViewImpl.presenterOnItemSelection(TreeViewImpl.java:258)
      	at info.magnolia.ui.admincentral.tree.view.TreeViewImpl.access$4(TreeViewImpl.java:256)
      	at info.magnolia.ui.admincentral.tree.view.TreeViewImpl$2.valueChange(TreeViewImpl.java:132)
      	at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
      	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
      	at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
      	at com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:897)
      	at com.vaadin.ui.AbstractField.setValue(AbstractField.java:529)
      	at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:670)
      	at com.vaadin.ui.Table.handleSelectedItems(Table.java:2391)
      	at com.vaadin.ui.Table.changeVariables(Table.java:2440)
      	at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:390)
      	at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:61)
      	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java:1460)
      	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1404)
      	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1329)
      	at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:761)
      	at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:323)
      	...
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD