Skip to content
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 index not rebuilt when resources deleted #1081

Merged
merged 7 commits into from Jul 22, 2013

Conversation

tobes
Copy link
Contributor

@tobes tobes commented Jul 3, 2013

looks like we should be updating the package here which will also force a reindex. Also looks like resource_group table is not being updated.

Should we fix bad data in these tables?

@tobes
Copy link
Contributor Author

tobes commented Jul 3, 2013

I probably should not have done the pep8 fixes here but they were annoying me I can revert them if needed

@ghost ghost assigned kindly Jul 16, 2013
except ValidationError, e:
errors = e.error_dict['resources'][-1]
raise ValidationError(errors)

entity.delete()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove this line as this is purging the actual entity from the database, not just setting its state to 'deleted'.

kindly added a commit that referenced this pull request Jul 22, 2013
…kage

Package index not rebuilt when resources deleted
@kindly kindly merged commit bc4177e into master Jul 22, 2013
@tobes tobes deleted the 1081-delete-resource-to-update-package branch July 23, 2013 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants