[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-23 Thread JIRA (on behalf of Ilgun Ilgun)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ilgun Ilgun updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Ilgun Ilgun 
 
 
 

Documentation update required:
 
 Yes 
 
 
 

Release notes required:
 
 Yes 
 
 
 

Account:
 
 null (null) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-22 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 
 
 
 
 
 
 
 When editing a resource that doesn't have a template set an NPE is thrown causing the opening of the app to fail. Additionally the template is not displayed nicely in the processed resources app's column as the formatter of the app doesn't handle them.h4.  To reproduce  Error  # Created a new resource in JCR from resources app (e.g. by hotfixing)# Switch to processed resources app# Try to edit this resource {code}2016-09-22 10:52:38,654 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [editResource]info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: editResource at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:347) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeDefaultAction(BrowserPresenter.java:324) at info.magnolia.ui.contentapp.browser.BrowserPresenter.access$300(BrowserPresenter.java:94) at info.magnolia.ui.contentapp.browser.BrowserPresenter$4.onItemDoubleClicked(BrowserPresenter.java:214) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:65) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:43) at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:78) at info.magnolia.ui.workbench.AbstractContentPresenterBase.onDoubleClick(AbstractContentPresenterBase.java:152) at info.magnolia.ui.workbench.list.ListViewImpl$3.itemClick(ListViewImpl.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008) at com.vaadin.ui.Table.handleClickEvent(Table.java:3163) at com.vaadin.ui.Table.changeVariables(Table.java:2952) at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:431) at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:86) at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:637) at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:463) at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:412) at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1414) at 

[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-22 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 
 
 
 
 
 
 
 When editing a resource that doesn't have a template set an NPE is thrown causing the opening of the app to fail. Additionally the template is not displayed nicely in the processed resources app's column as the formatter of the app doesn't handle them.h4. To reproduce# Created a new resource in JCR from resources app (e.g. by hotfixing)# Switch to processed resources app# Try to edit this resource{code}2016-09-22 10:52:38,654 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [editResource]info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: editResource at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:347) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeDefaultAction(BrowserPresenter.java:324) at info.magnolia.ui.contentapp.browser.BrowserPresenter.access$300(BrowserPresenter.java:94) at info.magnolia.ui.contentapp.browser.BrowserPresenter$4.onItemDoubleClicked(BrowserPresenter.java:214) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:65) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:43) at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:78) at info.magnolia.ui.workbench.AbstractContentPresenterBase.onDoubleClick(AbstractContentPresenterBase.java:152) at info.magnolia.ui.workbench.list.ListViewImpl$3.itemClick(ListViewImpl.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008) at com.vaadin.ui.Table.handleClickEvent(Table.java:3163) at com.vaadin.ui.Table.changeVariables(Table.java:2952) at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:431) at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:86) at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:637) at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:463) at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:412) at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1414) at 

[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-22 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 
 
 
 
 
 
 
 When editing a resource that doesn't have a template set an NPE is thrown causing the opening of the app to fail. Additionally the template is not displayed nicely in the processed resources app's column as the formatter of the app doesn't handle them.h4. To reproduce# Created a new resource in JCR from resources app (e.g. by hotfixing)# Switch to processed resources app# Try to edit this resource{code}2016-09-22 10:52:38,654 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [editResource]info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: editResource at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:347) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeDefaultAction(BrowserPresenter.java:324) at info.magnolia.ui.contentapp.browser.BrowserPresenter.access$300(BrowserPresenter.java:94) at info.magnolia.ui.contentapp.browser.BrowserPresenter$4.onItemDoubleClicked(BrowserPresenter.java:214) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:65) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:43) at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:78) at info.magnolia.ui.workbench.AbstractContentPresenterBase.onDoubleClick(AbstractContentPresenterBase.java:152) at info.magnolia.ui.workbench.list.ListViewImpl$3.itemClick(ListViewImpl.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008) at com.vaadin.ui.Table.handleClickEvent(Table.java:3163) at com.vaadin.ui.Table.changeVariables(Table.java:2952) at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:431) at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:86) at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:637) at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:463) at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:412) at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1414) at 

[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-22 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 

Summary:
 
 Disable actions when Resource without  template  is not set  causes NPE when trying to edit it 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   




For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: 





[magnolia-dev] [JIRA] (PROCRES-6) Resource without template causes NPE when trying to edit it

2016-09-22 Thread JIRA (on behalf of Philip Mundt)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Philip Mundt updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Processed resources /  PROCRES-6 
 
 
 
  Resource without template causes NPE when trying to edit it  
 
 
 
 
 
 
 
 
 

Change By:
 
 Philip Mundt 
 
 
 
 
 
 
 
 
 
 One may have created When editing  a resource  from resources app and switch to processed resources app, this would  that doesn't  have  all the actions available which is not ideal and only ChangeTemplate action should be available in  a  situation as such  template set an NPE is thrown causing the opening of the app to fail .  Also null  Additionally the  template is not displayed nicely in the processed resources app , 's  column  as the  formatter of the app  should  doesn't  handle  those situations nicer  them . h4. To reproduce# Created a new resource in JCR from resources app (e.g. by hotfixing)# Switch to processed resources app# Try to edit this resource {code}2016-09-22 10:52:38,654 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [editResource]info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: editResource at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:347) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeDefaultAction(BrowserPresenter.java:324) at info.magnolia.ui.contentapp.browser.BrowserPresenter.access$300(BrowserPresenter.java:94) at info.magnolia.ui.contentapp.browser.BrowserPresenter$4.onItemDoubleClicked(BrowserPresenter.java:214) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:65) at info.magnolia.ui.workbench.event.ItemDoubleClickedEvent.dispatch(ItemDoubleClickedEvent.java:43) at info.magnolia.event.SimpleEventBus.fireEvent(SimpleEventBus.java:78) at info.magnolia.ui.workbench.AbstractContentPresenterBase.onDoubleClick(AbstractContentPresenterBase.java:152) at info.magnolia.ui.workbench.list.ListViewImpl$3.itemClick(ListViewImpl.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198) at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008) at com.vaadin.ui.Table.handleClickEvent(Table.java:3163) at com.vaadin.ui.Table.changeVariables(Table.java:2952) at com.vaadin.ui.TreeTable.changeVariables(TreeTable.java:431) at info.magnolia.ui.vaadin.grid.MagnoliaTreeTable.changeVariables(MagnoliaTreeTable.java:86) at com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:637) at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:463) at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:412) at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) at