commit/galaxy-central: carlfeberhard: api/library_contents.create: encode ldda api ids when copying from hda
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b5887125a216/ Changeset: b5887125a216 User: carlfeberhard Date: 2013-06-21 17:28:22 Summary: api/library_contents.create: encode ldda api ids when copying from hda Affected #: 1 file diff -r afe5cf0ab4c084ec427ffaa3824bfbef973ce9db -r b5887125a2164ef4552464031d78dd783f08f06b lib/galaxy/webapps/galaxy/api/library_contents.py --- a/lib/galaxy/webapps/galaxy/api/library_contents.py +++ b/lib/galaxy/webapps/galaxy/api/library_contents.py @@ -220,7 +220,8 @@ return { 'error' : 'user has no permission to add to library folder (%s)' %( folder_id ) } ldda = self.copy_hda_to_library_folder( trans, hda, folder, ldda_message=ldda_message ) - rval = ldda.get_api_value() + ldda_dict = ldda.get_api_value() + rval = trans.security.encode_dict_ids( ldda_dict ) except Exception, exc: #TODO: grrr... @@ -234,7 +235,6 @@ return rval - @web.expose_api def update( self, trans, id, library_id, payload, **kwd ): """ Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org