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

Published collection can not be discarded if it is empty #1063

Closed
helkv opened this issue Oct 5, 2018 · 1 comment
Closed

Published collection can not be discarded if it is empty #1063

helkv opened this issue Oct 5, 2018 · 1 comment
Assignees
Labels
bug Issue found during QA testphase (qa-imeji)
Milestone

Comments

@helkv
Copy link
Contributor

helkv commented Oct 5, 2018

Testserver: qa imeji
Browser: ff
Version: version 4.3 - build date 2018-09-24 11:15:25
User: admin user

A published/released collection can not be discarded if it has no items.

imeji_errors_discarding_empty_collection

Steps to reproduce:

  1. Create a collection (The collection can not be published until it has at least one item)
  2. Upload an item to the collection
  3. Publish the collection
  4. Discard the item (Now the collection is empty)
  5. Discard the collection
  6. Result/Bug: The collection can not be discarded. Two error-messages are displayed: "Error during discarding of the collection!" + "An empty collection can not be released!"

If the published collection is not empty (an item is uploaded to the collection again), then the collection can be discarded.

Also see #164 and #68 for related but old/closed bug-tickets.

@helkv helkv added the bug Issue found during QA testphase (qa-imeji) label Oct 5, 2018
@haarli haarli added this to the imeji 4.3 milestone Oct 25, 2018
MPDLTam added a commit that referenced this issue Oct 31, 2018
- bug was due to a missing check (is list of collection's items empty?)
  in de.mpg.imeji.logic.core.facade.WorkflowFacade
@hofmannc
Copy link

Testserver: qa imeji
Browser: ff
Version: version 4.3.1 - build date 2018-11-12 16:36:13
User: admin

result: ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue found during QA testphase (qa-imeji)
Projects
None yet
Development

No branches or pull requests

4 participants