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

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

BUG: Download/view Python Scripts

Reported by: wmoore Owned by: cblackburn
Priority: minor Milestone: OMERO-Beta4.3
Component: Services Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-02-10 (5)

Description (last modified by jburel)

The option to download or view Python scripts is not working. The Download dialog in the Activities pane says: Unable to Download the File - Cannot access the data, Cannot set the file's ID.

This seems to be the same for All scripts (Figure Scripts AND other scripts).

Change History (14)

comment:1 Changed 9 years ago by jburel

  • Component changed from General to Insight
  • Description modified (diff)
  • Remaining Time set to 0.25

comment:2 Changed 9 years ago by jburel

  • Status changed from new to accepted

comment:3 Changed 9 years ago by jburel

  • Summary changed from Download/view Python Scripts to BUG: Download/view Python Scripts

comment:4 Changed 9 years ago by jburel

  • Component changed from Insight to Services

The setFileId method of the RawFileStore? needs to be updated.

Caused by: Ice.UnknownException
    unknown = "ome.conditions.InternalException: Usage of session.createSQLQuery is forbidden. See ticket #73
               	at ome.tools.hibernate.SessionFactory.invoke(SessionFactory.java:99)
               	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
               	at $Proxy62.createSQLQuery(Unknown Source)

comment:5 Changed 9 years ago by jburel

  • Owner jburel deleted
  • Status changed from accepted to new

comment:6 Changed 9 years ago by jburel

  • Cc jmoore added
  • Owner set to cblackburn

comment:7 Changed 9 years ago by cblackburn

  • Status changed from new to accepted

comment:8 Changed 9 years ago by jburel

  • Sprint changed from 2011-01-27 (4) to 2011-02-10 (5)

Moved from sprint 2011-01-27 (4)

comment:9 Changed 9 years ago by Colin Blackburn <C.Blackburn@…>

(In [bffb8a394160fa5cb2d71435e4869d230ca33832/ome.git]) Initial commit to remove createSQLQuery from PublicRepositoryI. (See #3916)

comment:10 Changed 9 years ago by Colin Blackburn <C.Blackburn@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [3fd72b9fdf0705a6415c6993673be8f309a6cd40/ome.git]) Remove createSQLQuery from PublicRepositoryI. (Fixes #3916)

Used Impl methods in PostgresSqlAction?.
Changed PublicRepositoryI to use exception instead of null for findRepoFile

comment:11 Changed 8 years ago by jmoore <josh@…>

(In [650342b48d3ce110d09d806df985ccd183040a24/ome.git] on branch dev_4_2) Initial commit to remove createSQLQuery from PublicRepositoryI. (See #3916)

comment:12 Changed 8 years ago by jmoore <josh@…>

(In [f14c0fd938c047650a24d3f9042076ecf61b4e2b/ome.git] on branch dev_4_2) Remove createSQLQuery from PublicRepositoryI. (Fixes #3916)

Used Impl methods in PostgresSqlAction?.
Changed PublicRepositoryI to use exception instead of null for findRepoFile

comment:13 Changed 8 years ago by Colin Blackburn <C.Blackburn@…>

(In [bffb8a394160fa5cb2d71435e4869d230ca33832/ome.git]on branches master, develop, feature/5252-import-cancel, fix/4463, python-gateway) Initial commit to remove createSQLQuery from PublicRepositoryI. (See #3916)

comment:14 Changed 8 years ago by Colin Blackburn <C.Blackburn@…>

(In [3fd72b9fdf0705a6415c6993673be8f309a6cd40/ome.git]on branches master, develop, feature/5252-import-cancel, fix/4463, python-gateway) Remove createSQLQuery from PublicRepositoryI. (Fixes #3916)

Used Impl methods in PostgresSqlAction?.
Changed PublicRepositoryI to use exception instead of null for findRepoFile

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

We're Hiring!