Collections with deleted documents can not be re-indexed.
Bug #809828 reported by
Sebastian Meyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Goobi.Presentation |
Fix Released
|
Medium
|
Sebastian Meyer | ||
1.0 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If a collections has deleted documents, it can not be re-indexed in the backend module. It throws an error, which says "There is no record with UID 123 or you are not allowed to access it".
Obviously the module tries to re-index the deleted documents too, but is not allowed to access them. It should either be allowed to access them or not try to re-index them. The second option should be the preferred one.
Related branches
lp:~sebastian-meyer/goobi-presentation/bug809828
- Sebastian Meyer: Approve
-
Diff: 436 lines (+110/-72)11 files modifieddlf/cli/class.tx_dlf_cli.php (+3/-3)
dlf/common/class.tx_dlf_document.php (+28/-22)
dlf/common/class.tx_dlf_helper.php (+1/-5)
dlf/common/class.tx_dlf_indexing.php (+13/-1)
dlf/common/class.tx_dlf_plugin.php (+6/-0)
dlf/hooks/class.tx_dlf_tcemain.php (+27/-3)
dlf/modules/indexing/index.php (+3/-5)
dlf/plugins/metadata/class.tx_dlf_metadata.php (+7/-7)
dlf/plugins/navigation/class.tx_dlf_navigation.php (+3/-9)
dlf/plugins/pageview/class.tx_dlf_pageview.php (+3/-9)
dlf/plugins/toc/class.tx_dlf_toc.php (+16/-8)
lp:goobi-presentation/1.0
- Sebastian Meyer: Approve
-
Diff: 26 lines (+3/-2)2 files modifieddlf/ext_emconf.php (+1/-1)
dlf/plugins/pageview/viewer.js (+2/-1)
Changed in goobi-presentation: | |
milestone: | none → 1.0.1 |
description: | updated |
Changed in goobi-presentation: | |
status: | Confirmed → Fix Committed |
Changed in goobi-presentation: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.