Task #2340 (new)
Opened 14 years ago
Last modified 14 years ago
Param prototype not set — at Version 2
Reported by: | wmoore | Owned by: | jmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-04-30 (8) |
Description (last modified by wmoore)
For scripts.Long and scripts.Int the prototype is not being set.
getParams() then param.prototype returns None.
This may explain why Insight does not display Long and Int parameters in the UI on the fly.
Test (committed below...)
wjm:OmeroPy will$ PYTHONPATH=$PYTHONPATH:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/scripts.py TestScripts.testUploadOfficialScript prototype None F ====================================================================== FAIL: testUploadOfficialScript (__main__.TestScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/integration/scripts.py", line 102, in testUploadOfficialScript self.assertNotEqual(param.prototype, None, "Parameter prototype is 'None'") AssertionError: Parameter prototype is 'None' ---------------------------------------------------------------------- Ran 1 test in 8.757s
Change History (2)
comment:1 Changed 14 years ago by wmoore
comment:2 Changed 14 years ago by wmoore
- Cc jburel added
- Description modified (diff)
- Owner set to jmoore
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [6920]) Failing param.prototype test. See #2340.