Task #2340 (closed)
Opened 14 years ago
Closed 14 years ago
Param prototype not set
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
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: | 0.0d |
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 (4)
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
comment:3 Changed 14 years ago by jmoore
- Status changed from new to assigned
comment:4 Changed 14 years ago by jmoore
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
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.