kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
63 stars 63 forks source link

For Periodical and newspaper, children processes cannot be created #4590

Closed andre-hohmann closed 3 years ago

andre-hohmann commented 3 years ago

Problem

For periodical and newspaper, children processes cannot be created anymore with the "plus" or "calendar" symbol. Both symbols are grey and deactivated.

For the shortly migrated periodical and newspaper processes, the children processes can be created, and the the symbols are blue. Thus, the configuration of the ruleset with use="createChildrenWithCalendar" and use="createChildrenWithCalendar" should be correct. In the properties and the metadata the document type seems to be correct, too.

I am sure that the creation of the processes did work one with the parent processes, When the process is validated in the metadata editor, the following validation warning occurs:

Usually, this warning does not occur for superordinate processes, which do not contain images.

Question

Does anyone had the problem too and/or knows the reason for this behaviour?

matthias-ronge commented 3 years ago

Yes, we had the same problem yesterday: For a newly created top-level newspaper process, the calendar wasn’t showing, though use="createChildrenWithCalendar" was set. We found two things. Aside from the base type, defined in the @TYPE attribute of the first <div> in the <structMap TYPE="LOGICAL">, we also had a <kitodo:metadata name="docType"> with value Periodical. After we changed that to “Newspaper” as well and reindexing, the calendar was showing. So

andre-hohmann commented 3 years ago

I think too, that "reindexing caused the calendar to appear".

Interesting to know is, why the additional manual reindexing is now necessary.

Another observation confirms your assumption:

Examples: linkvolume01

linkvolume02

linkvolume03

andre-hohmann commented 3 years ago

According to https://github.com/kitodo/kitodo-production/issues/4591#issuecomment-900971301, maybe the reason here is too #4543 or #4560.