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

Improve messages about publishing/published projects #151

Open
cyplas opened this issue Sep 11, 2017 · 1 comment
Open

Improve messages about publishing/published projects #151

cyplas opened this issue Sep 11, 2017 · 1 comment

Comments

@cyplas
Copy link

cyplas commented Sep 11, 2017

If a project has been published and has results, it doesn't seem to be possible to delete task runs, tasks or the project itself, neither through the web interface nor through the REST API. But the web interface suggests otherwise, since it has a button "Delete all Tasks and Task Runs" along with a message "If you delete all the tasks and task runs they will be gone forever!" (although particularly attentive users may notice that the feedback post-deletion says "TASKS AND TASKRUNS WITH NO ASSOCIATED RESULTS HAVE BEEN DELETED"). With the help of Daniel's pointers, I was able to solve this directly through the database (updating the published flag and deleting the project's results). But it would be good if this was facilitated (maybe with an optional "force=1" parameter in the REST API) or documented somewhere and/or a better warning was given of what you can't do after publishing a project.

@teleyinex
Copy link
Member

Yes, we should improve this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants