Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprint3 web bugs 19 nov #488

Merged
merged 7 commits into from Dec 5, 2012
Merged

Conversation

will-moore
Copy link
Member

Various bug fixes... To test so far:

  • Edit the Name (or Description) of an Image in the Search or History pages. The save & cancel buttons should be hidden after the edit. NB: Editing in the Tag or P/D/I pages should also update the name of the image in the tree.
  • Feedback form should now work in IE8. On way to generate a stack-trace is to search for * in top-right search box.

@manics
Copy link
Member

manics commented Nov 20, 2012

Save/cancel buttons are removed as expected after editting, names in tree are updated, IE8 feedback form works. Can be merged.

RFE: In the image list and search results view (central pane) the names aren't updated.

@jburel
Copy link
Member

jburel commented Nov 20, 2012

@will-moore: might make sense to do the RFE as part of this PR.

@will-moore
Copy link
Member Author

@jburel I guess so, yes.

@will-moore
Copy link
Member Author

To properly test the bug-fix in the previous commit, you need to test the python script from this post https://www.openmicroscopy.org/community/viewtopic.php?f=6&t=3402&p=7761#p7719 with the source image in a different group from your default group. However, this is also being tested by Alex (only required by his script), so our priority is to ensure that these changes haven't broken our scripts: E.g. Channel_Offsets.py or Images_From_ROIs.py. Just try running one of these scripts on an image in your default group and another group.

@manics
Copy link
Member

manics commented Nov 26, 2012

Channel_Offsets.py script runs fine. Tested createImageFromNumpySeq() at the command line on a local build with a non-default group, works.

Still waiting for the earlier RFE.

This bug goes back a fair way, to the refactoring of the right-hand panel jQuery plugin.
@will-moore
Copy link
Member Author

@chris-allan NB: that previous commit fixes a bug with acquisition and preview tabs being disabled for Wells. Been a bug since 0d774bf.

@manics
Copy link
Member

manics commented Nov 29, 2012

Image names are now updated as expected in history and search, can you also do the same for images displayed as list in Data and Tags view? Also for tooltips in the icon view.

@manics
Copy link
Member

manics commented Nov 30, 2012

Another small issue (sorry, I should have been more thorough when testing yesterday). Tooltips for datasets/projects/screens aren't updated in the Search and History view, though the names are updated correctly.

There's a problem with renaming tags: Selecting a tag in the Tags view (left pane), click to edit the tag name (right panel), server 500 error. Related, or do you want me to open a new ticket?

@will-moore
Copy link
Member Author

@manics The tag renaming fix is in #482. I will look at tooltips in search & history views, Cheers.

@manics
Copy link
Member

manics commented Dec 3, 2012

Ready to merge.

@joshmoore
Copy link
Member

@will-moore, do we have tests for the gateway methods which have added SERVICE_OPTS? I looked through them and didn't see anything that would obviously fail, but save methods with group==-1can do strange things depending on what's being passed in.

@will-moore
Copy link
Member Author

All gateway methods should use SERVICE_OPTS, but most tests don't set SERVICE_OPTS. Only the permissions tests check them.

Strictly, we should have every test run across several groups (like the permissions tests) but that's a LOT of work.

Certainly most methods that attempt to save anything would fail if you've got omero.group: -1.

@joshmoore
Copy link
Member

Just an aside: if the intent is that every gateway method invocation should pass SERVICE_OPTS then it might be worth making the service wrapper check for it. But that's beyond scope for this PR.

joshmoore added a commit that referenced this pull request Dec 5, 2012
@joshmoore joshmoore merged commit 9d9adf3 into ome:dev_4_4 Dec 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants