Status "Released" is weak (e.g. for entry 32924)

This commit is contained in:
gexce
2017-10-27 16:14:48 +02:00
parent 478ba4eb63
commit 991528a0f4
@@ -207,7 +207,7 @@ public class MamMigrationSelective implements CommandLineRunner {
for (String p : parameters) {
// TODO what if "Released" is assigned after "Archived"? (Multiple category problem)
// Status "Released" is weaker than the other statuses
if (p.startsWith("Status.")) {
if (!p.equals("Status.Released"))
record.removeClassification("Status.Released");