commit/galaxy-central: dannon: Fix set_slug method in sharable manager / scope issues.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7ae2d8430ffc/ Changeset: 7ae2d8430ffc User: dannon Date: 2015-01-22 22:34:40+00:00 Summary: Fix set_slug method in sharable manager / scope issues. Affected #: 1 file diff -r 62d257911db2b0d3ee1a8c36b50270b66b3c4003 -r 7ae2d8430ffc05c779ebbac8c416dbdd47ebcc74 lib/galaxy/managers/sharable.py --- a/lib/galaxy/managers/sharable.py +++ b/lib/galaxy/managers/sharable.py @@ -248,7 +248,7 @@ raise exceptions.RequestParameterInvalidException( "Invalid slug", slug=new_slug ) # error if slug is already in use - if self._slug_exists( trans, user, slug ): + if self._slug_exists( trans, trans.user, new_slug ): raise exceptions.Conflict( "Slug already exists", slug=new_slug ) item.slug = new_slug 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