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.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

(In [6920]) Failing param.prototype test. See #2340.

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.

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

We're Hiring!