Update state and proposals only on invalid items

Invalid items are those that are not ready, and not shown to the user.
When changing metadata, it should only be changed, if the item was not
already shown to the user.
This commit is contained in:
Eike Kettner
2020-05-23 15:46:24 +02:00
parent 855d4eefa8
commit 25d089da6c
6 changed files with 48 additions and 23 deletions

View File

@ -109,7 +109,7 @@ trait Conversions {
coll,
m.name,
if (m.inbox) Seq(ItemState.Created)
else ItemState.validStates,
else ItemState.validStates.toList,
m.direction,
m.corrPerson,
m.corrOrg,