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.

Changes between Initial Version and Version 12 of Ticket #7752


Ignore:
Timestamp:
01/12/12 13:57:19 (12 years ago)
Author:
jmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7752 – Description

    initial v12  
     1 
     2=== Initial error sequence === 
     3 
    14While testing #5749 I ran into an odd progression of events. I'll try to summarize them here, before I start reproducing (to follow). 
    25 
     6 
     7==== Setup ==== 
    38 * 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. 
    49 * I selected both projects and deleted them. 
    5  * In the activities window, I saw an error which I wanted to reproduce on the command-line. 
    6  * I went to the command-line and reproduced, but it was only a warning, not an error (see paste below) 
    7  * 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) 
     10 * In the activities window, I saw an error which I wanted to reproduce on the command-line. (See [https://trac.openmicroscopy.org.uk/ome/attachment/ticket/7752/web-jan12-errondelete.png this screenshot], taken later) 
     11 * I went to the command-line and reproduced, but it was only a warning, not an error (see "Command-line delete" below) 
     12 * I went back to the web UI, the error was gone. I.e. the UI had been updated with no more error. (I didn't initially have a screen shot of that, found later) 
    813 * Knowing that I had mucked around on the command-line, I refreshed. 
    9  * '''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). 
    10  * I then went about trying to reproduce the project/datasets but I had a number of XMLHTTPRequest errors. (see log) 
     14 
     15 
     16==== What went wrong ==== 
     17 
     18 * '''Either''' just before the refresh, during, or just after (sorry, can't remember), I noticed the "please login" screen in the third panel. (See [https://trac.openmicroscopy.org.uk/ome/attachment/ticket/7752/web-jan12-logout-rightside.png screenshot]) 
     19 * I then went about trying to reproduce the project/datasets but I had a number of XMLHTTPRequest errors. (see [https://trac.openmicroscopy.org.uk/ome/attachment/ticket/7752/web-jan12-xmlerr.log non-debug log]) 
    1120 * 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) 
    1221 
    1322My 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. 
    1423 
    15 === Command-line delete === 
     24 
     25=== After trying to reproduce === 
     26 
     27After all of the above, I restarted the server with `omero.web.debug=true`, but I never reproduced the `XMLHTTPRequest`. I was able, however, to reproduce 
     28 
     29 * the problem in #3021/#5749, namely the `ObjectNotExistException` (See [https://trac.openmicroscopy.org.uk/ome/attachment/ticket/7752/web-jan12-objectnotexist.png this screenshot]) 
     30 * as well as the issues in #3142 (See [https://trac.openmicroscopy.org.uk/ome/attachment/ticket/7752/web-jan12-sorryprojDNE.png this screenshot]), 
     31 * and, the error message which is just a warning message, see #6003 
     32 
     33=== Suggestions === 
     34 
     35There may not be anything that can be done about the `XMLHttpRequest`. Sorry that I couldn't reproduce, but all of the other issues it would be nice if they could be looked into. i.e. 
     36 
     37 * prevent the errors from showing up in the activities window. Warnings should not be considered errors in any counts. 
     38 * prevent the "sorry, that object does not exist" from showing up in the right panel 
     39 * prevent the "please login" from showing up in the right panel (this may be harder, but I understand it's already in progress) 
     40 * prevent the `ObjectNotExistException` from being thrown. 
     41 
     42 If this would be better suited as a story, feel free. 
     43 
     44 Also, if from a log file it is not clear at what time certain actions took place, I suggest increasing logging. I'd be glad to re-test once that's in place. 
     45 
     46 
     47=== Extra information === 
     48==== Previously filed tickets ==== 
     49 * #3021 - `ObjectNotExistException` on `delete.errors()` 
     50 * #5749 - `ObjectNotExistException` on `delete.errors()` 
     51 * #3142 - "sorry, dataset does not exist" 
     52 * #6003 - warnings v. errors 
     53 
     54 
     55==== Command-line delete ==== 
     56This is an example of the warnings typical for #6003: 
    1657{{{ 
    1758@7750_web_config ~/git/dist $ bin/omero hql "select p from Project p" 
     
    62103}}} 
    63104 
     105 

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

We're Hiring!