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 #11243 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

Bug: web script UI with omero.model params

Reported by: wmoore Owned by: wmoore
Priority: minor Milestone: OMERO-4.4.9
Component: Web Version: 4.4.8
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: Blocker 4.4.9 (1)

Description

If a parameter has a prototype (default) type of omero.model object (E.g. in the Make_Movie.py:

default=omero.model.OriginalFileI()

the web script UI tries to populate the field with the 'default' value, which is a string of the original file model object.

If you run the script with this it fails.

Initially, we need to not populate the field (leave blank).

Change History (3)

comment:1 Changed 11 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 11 years ago by Will Moore <will@…>

(In [8d10832398d4af256f4697831e427710c3ae3171/ome.git] on branch develop) script_ui ignores defaults if omero.model objects. See #11243

comment:3 Changed 11 years ago by Chris Allan <callan@…>

(In [da5d7552384608aa058d7c97728736a1db6ffda2/ome.git] on branch develop) Merge pull request #1343 from will-moore/script_ui_model_objects_11243_develop

script_ui ignores defaults if omero.model objects. See #11243 develop

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.66763 sec.)

We're Hiring!