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
int(request.REQUEST.get('index', 0) all in try/except. See #9918 #482
Conversation
Can't assume that request strings are castable to int().
Does anyone know if this is intended for 4.4.5? |
@joshmoore; I will not take the chance, so I will exclude it. |
Depends whether #9918 is a blocker (can't edit Tag name / description in web). |
@will-more, Chris also had some questions about the strategy in general, so it'll need to be omitted for 4.4.5. |
@chris-allan You have some questions about the "strategy in general"? Can you summarise here, or do you want to discuss? |
Given that we are now after 4.4.5 my position is that we should be a little more thorough with this fix. Specifically I'd like to see the removal of the unneeded parsing from
I admit to not knowing the consequences on the code if It does also seem needless to be attempting this parsing action when executing a view function that does not target a Plate or Well. Perhaps we should be doing it only where required? Furthermore, does an error condition when a Plate or Well is being targeted make more sense rather than blindly using |
Hmmm - OK, just need to think how to do this without some horribly long template if/else statements! |
Just an idea: is there any way to extend request/REQUEST to add a method |
This is a further measure to prevent invalid ?index= urls to cause errors in parsing request.get('index')
@joshmoore @chris-allan Can I get this back into a build now? (remove the 'needs-work' label)? |
@will-moore: done |
index = int(request.REQUEST.get(name, default)) | ||
except: | ||
index = 0 | ||
print "getIntOrDefault", name, default, index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print
should go.
// we may have well-index, if we are editing an image within a Well | ||
var idx = "{{ index }}"; | ||
if (idx.length > 0) { | ||
idx = "?index=" + idx; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way that {{ index }}
can contain something that won't be appropriately appendable to ?index=
? That's the only thing I can think to check, but otherwise this is good to go.
@joshmoore |
All seems a bit more thorough now. Merging. |
int(request.REQUEST.get('index', 0) all in try/except. See #9918
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Fix off-by-one bin assignment in histogram tests' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1423 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1423/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Fix off-by-one bin assignment in histogram tests' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#4 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/4/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Fix off-by-one bin assignment in histogram tests' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#209 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/209/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Fix off-by-one bin assignment in histogram tests' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1424 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1424/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Fix off-by-one bin assignment in histogram tests' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#5 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/5/)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#13 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/13/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#220 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/220/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1436 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1436/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#14 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/14/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#221 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/221/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1437 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1437/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#15 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/15/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#222 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/222/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1438 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1438/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#16 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/16/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#223 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/223/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1439 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1439/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#17 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/17/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#224 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/224/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1440 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1440/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#18 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/18/)
…canonical real names and email addresses ome#482)
Repository: ome/openmicroscopy Excluded PRs: - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (label: exclude) - PR 6319 dominikl 'Add integration test for joining session' (exclude comment) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (exclude comment) - PR 6212 jburel 'add test to import images' (exclude comment) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (label: exclude) Already up-to-date. Merged PRs: - PR 6301 jburel 'Use the copy' - PR 6309 jburel 'add try block' - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' Conflicting PRs (not included): - PR 6346 sbesson 'Remove no-op services.jar from being generated by the build system' Generated by OMERO-push#225 (https://snoopycrimecop-ci.openmicroscopy.org/jenkins/job/OMERO-push/225/)
Repository: openmicroscopy/openmicroscopy Excluded PRs: - PR 6350 sbesson 'Histogram tests: fix tests and cover more pixel types' (user: sbesson) - PR 6349 sbesson 'Map contributors to use canonical real names and email addresses ome#482' (user: sbesson) - PR 6348 sbesson 'logback.xml/logback-indexing.xml: add default scanPeriod of 1 minute' (user: sbesson) - PR 6347 sbesson 'Upgrade Ivy to 2.5.1' (user: sbesson) - PR 6319 dominikl 'Add integration test for joining session' (user: dominikl) - PR 6309 jburel 'add try block' (user: jburel) - PR 6301 jburel 'Use the copy' (user: jburel) - PR 6275 joshmoore 'Add OMERO5.4__1 for omero-model#71' (user: joshmoore) - PR 6212 jburel 'add test to import images' (user: jburel) - PR 6086 manics 'Alternative JSON configuration system for OMERO.web' (user: manics) Already up-to-date. Generated by OMERO-push#1441 (https://latest-ci.openmicroscopy.org/jenkins/job/OMERO-push/1441/)
Map contributors to use canonical real names and email addresses #482
Can't assume that request strings can be cast to int().
9918 bug is due to adding of 'index' request parameter to various edit actions of the right hand panel, to cater for Well editing (which actually edits image at specified index).
This, combined with c35bac9 causes the bug. The single commit on this branch effectively reverts c35bac9, wrapping int(index) in a try / except.
A more thorough fix will be to remove the 'index' logic from the right-hand panel where not needed.