New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package_owner_org_update doesn't work #2661

Closed
trickvi opened this Issue Sep 30, 2015 · 0 comments

Comments

Projects
None yet
3 participants
@trickvi
Copy link
Contributor

trickvi commented Sep 30, 2015

When calling package owner work the API returns a 500 Server error. On the server end the log says:

Error - <type 'exceptions.AssertionError'>: No revision is currently set for this Session

I haven't debugged further

@davidread davidread self-assigned this Oct 6, 2015

brew added a commit that referenced this issue Jun 24, 2016

[#2661] Add revision if owner-org updated.
package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.

brew added a commit that referenced this issue Jun 24, 2016

[#2661] Add 'add_revision' to ctx in pkg create.
package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.

@brew brew self-assigned this Jun 24, 2016

k-nut pushed a commit to k-nut/ckan that referenced this issue Jul 4, 2016

[ckan#2661] Add revision if owner-org updated.
package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.

k-nut pushed a commit to k-nut/ckan that referenced this issue Jul 4, 2016

[ckan#2661] Add 'add_revision' to ctx in pkg create.
package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.

junsk1 added a commit to kata-csc/ckan that referenced this issue Jan 25, 2017

[ckan#2661] Add revision if owner-org updated.
package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.

amercader added a commit that referenced this issue Feb 14, 2017

[#2661] Add revision if owner-org updated.
package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.

amercader added a commit that referenced this issue Feb 14, 2017

[#2661] Add 'add_revision' to ctx in pkg create.
package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.

amercader added a commit that referenced this issue Feb 14, 2017

[#2661] Add revision if owner-org updated.
package_owner_org_update is called during a package_update to handle
updating the owner organization. A package revision is created during
this by package_update. If package_owner_org_update is called in
isolation, no revision is created and an error occurs in vdm. This
commit ensures a revision is created when package_owner_org_update is
called outside of a package_update.

amercader added a commit that referenced this issue Feb 14, 2017

[#2661] Add 'add_revision' to ctx in pkg create.
package_create also calls package_owner_org_update, and requires the
'add_revision' property adding to the context to prevent
package_owner_org_update from creating an unecessary revision.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment