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 #7752 (new)

Opened 12 years ago

Last modified 12 years ago

Bug: web delete/refresh issues — at Initial Version

Reported by: jamoore Owned by: atarkowska
Priority: major Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-01-17 (6)

Description

While testing #5749 I ran into an odd progression of events. I'll try to summarize them here, before I start reproducing (to follow).

  • In the web (using Chris' 7750_web_config branch, just merged into develop), I created two projects and then copied one dataset into both of them.
  • I selected both projects and deleted them.
  • In the activities window, I saw an error which I wanted to reproduce on the command-line.
  • I went to the command-line and reproduced, but it was only a warning, not an error (see paste below)
  • I went back to the web UI, the error was gone. I.e. the UI had been updated with no more error. (I don't have a screen shot of that)
  • Knowing that I had mucked around on the command-line, I refreshed.
  • Either just before the refresh, during, or just after (sorry, can't remember), I noticed the "please login" screen in the third panel. (See screenshot).
  • I then went about trying to reproduce the project/datasets but I had a number of XMLHTTPRequest errors. (see log)
  • After those errors ended, I thought things were back to normal, so I tried the delete again. This time, I reproduced the error in #5749 (also captured in log)

My very inexpert thought at the moment is that somewhere a reference is being held to a delete handle, but I'm going to try to reproduce as much of the above as I can now.

Command-line delete

@7750_web_config ~/git/dist $ bin/omero hql "select p from Project p"
Using session b8f43b0e-5832-4ddd-ace8-58d2137197af (root@gretzky.openmicroscopy.org.uk:4064). Idle timeout: 10.0 min. Current group: system
 # | Class    | Id   | name        | details         
---+----------+------+-------------+-----------------
 0 | ProjectI | 3618 | New project | owner=0;group=0 
 1 | ProjectI | 3619 | New project | owner=0;group=0 
(2 rows)

To see details for object, enter line number.
To move ahead one page, enter 'p'
To re-display list, enter 'r'.
To quit, enter 'q' or just enter.
q
@7750_web_config ~/git/dist $ bin/omero delete /Project:0 /Project:1
Using session b8f43b0e-5832-4ddd-ace8-58d2137197af (root@gretzky.openmicroscopy.org.uk:4064). Idle timeout: 10.0 min. Current group: system
^CCancelled
@7750_web_config ~/git/dist $ bin/omero delete /Project:3618 /Project:3619
Using session b8f43b0e-5832-4ddd-ace8-58d2137197af (root@gretzky.openmicroscopy.org.uk:4064). Idle timeout: 10.0 min. Current group: system
Deleting /Project 3618... ok
	warning: ConstraintViolation: fkprojectdatasetlink_child_dataset
Deleting /Project 3619... ok
@7750_web_config ~/git/dist $ bin/omero hql "select p from Project p"
Using session b8f43b0e-5832-4ddd-ace8-58d2137197af (root@gretzky.openmicroscopy.org.uk:4064). Idle timeout: 10.0 min. Current group: system
 # 
---
(0 rows)

To see details for object, enter line number.
To move ahead one page, enter 'p'
To re-display list, enter 'r'.
To quit, enter 'q' or just enter.
q
@7750_web_config ~/git/dist $ bin/omero hql "select p from Dataset p""
> 
@7750_web_config ~/git/dist $ bin/omero hql "select p from Dataset p"
Using session b8f43b0e-5832-4ddd-ace8-58d2137197af (root@gretzky.openmicroscopy.org.uk:4064). Idle timeout: 10.0 min. Current group: system
 # 
---
(0 rows)

To see details for object, enter line number.
To move ahead one page, enter 'p'
To re-display list, enter 'r'.
To quit, enter 'q' or just enter.

Change History (4)

Changed 12 years ago by jmoore

Changed 12 years ago by jmoore

Changed 12 years ago by jmoore

Changed 12 years ago by jmoore

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.68507 sec.)

We're Hiring!