Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11992 (closed)

Opened 10 years ago

Closed 10 years ago

BUG: error after edit group owner

Reported by: pwalczysko Owned by: jburel
Priority: major Milestone: 5.0.1
Component: Insight Version: 5.0.0-beta2-RC3
Keywords: n.a. Cc: ux@…,
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Noticed after testing of https://github.com/openmicroscopy/openmicroscopy/pull/2100.
See mainly the post-merge discussion there.

https://github.com/openmicroscopy/openmicroscopy/pull/2100

!There is a bug which is still present in this workflow (see screenshot above).

  • login as user-4
  • do not go to Project tab, instead expand immediately the Admin tab
  • do not Refresh
  • go to the group selection menu (still in Admin tab)
  • you can put read-only-1 to display (in Admin tab) -> not expected (user-4 is not an owner of that group)
  • you can expand the read-only-1 group and pick user-4 (=yourself)
  • you can edit the user-4 and change his default group
  • press Save -> error occurs
  • in order to repeat this bug, it is necessary to have a group setup as indicated in the screenslhot (user-4 is also a member of a Test group and one more group, (as well as the read-only and read-write group) = member of 4 groups, and an owner of 2 of them (the Test one and the read-write one). Also, prior to navigating to Admin tab, edit the group selection in Project tab and untick the "read-only group". Also, when putting the read-only group to display in Admin tab, do use "Show all" tick.
java.lang.Exception: java.lang.Exception: No data available.
	at org.openmicroscopy.shoola.agents.metadata.MetadataLoader.handleNullResult(MetadataLoader.java:166)
	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:87)
	at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:191)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:291)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:259)
	at org.openmicroscopy.shoola.agents.metadata.MetadataLoader.handleException(MetadataLoader.java:112)
	at org.openmicroscopy.shoola.agents.metadata.MetadataLoader.handleException(MetadataLoader.java:183)
	at org.openmicroscopy.shoola.agents.metadata.MetadataLoader.handleNullResult(MetadataLoader.java:166)
	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:87)
	at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (1)

Pre-refresh - the read-only visible.png (98.9 KB) - added by pwalczysko 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by pwalczysko

comment:1 Changed 10 years ago by Jean-Marie Burel <j.burel@…>

(In [b66b2478dded371d947a3f1885532f95f87dc5b9/ome.git] on branch develop) Disable menu item if in admin view. (see #11992)

comment:2 Changed 10 years ago by jburel

  • Resolution set to fixed
  • Status changed from new to closed

Fixe.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64168 sec.)

We're Hiring!