Closed shariboodts closed 4 months ago
Edit: Regarding the first problem: this issue seems to be related to the same bug mentioned in issue #745. When first opening the DCT in question, PS-AU s 249 (nr 76) is not shown, even though it is a match. Only after clicking the option 'Rows = show all', PS-AU s 249 (nr 76) appears as a match in the table. When re-clicking 'Rows = Matches only', the displayed matches seem correct (i.e. nr 76 is displayed). Ergo, the problem is connected to the displaying of matches (not the recognition of matches), just like the examples mentioned in issue #745
Another issue, possibly related to problem 2, is problem 3:
So: it seems as if old DCT's like this one consistently present the information as it was present in the manuscripts at the time they were added to the DCT (i.e. they are stable, unchanged), even after deleting and re-adding the manuscript to the DCT. Question: Is this indeed where the problem originates?
This results in an incorrect view of the manuscripts in the DCT (i.e. the ms as in the DCT does not correspond to the ms details page). Ideally, a DCT should automatically retrieve 'changed/corrected' data from the manuscripts, or users should at least be able to delete and reload manuscripts that were since corrected (see above).
This problem was treated in issue #745, and has been resolved. For the most part, this was not a problem, but the use of hidden rows by the researcher. I've added information: when a DCT has hidden rows, then a clear Warning is added. And hovering over that warning shows the simple method to remove the hidden rows.
One large question here is whether the DCT is generated from AF data on a given moment, and not updated, even if that AF is updated.
/rset/details/NN/
contents
of that research set, in order to facilitate quick responsesupdate_ssglists()
. It is triggered in these situations:
Manuscript
or a Collection
is 'changed', re-calculation of the research set's contents
could take place. This means:
Manuscript
or Collection
changes (i.e. addition, deletion):
contents
field to which the Collection
or Manuscript
is connectedSetList
item is re-calculated, automatically re-calculate the ResearchSet
itemUpdate DCT
to execute an overal updateUpdate all
in order to re-calculate and update research set contents (i.e. all setlists as well as the ResearchSet contents)Q: What are the triggers for the 'contents' of a manuscrip or collection changing?
after_new()
method - no, wrong place, removedsave()
method, triggered by the creation of the item - donedelete()
method - okaySermonDescrEqual
, and then its parameter manu
delete()
method - donesave()
method, picking out where an item is created - donesave()
method of model CollectionSuper
that is triggered when an item is createddelete()
method of model CollectionSuper
Problem:
Deleting and re-adding the manuscript to a DCT does not update its contents correctly
This should now not be necessary anymore. What I do need to do here: a one-time (adaptations.py) update of all setlists, so that they are 'fresh' again
adapt_coll_setlists()
adapt_manu_setlists()
Looking at DCT 23, research set 4, manuscript Montpellier H 59
, setlist id 30, sermon linked to PS-AU s Gue 1. There seemingly is an author mismatch:
Augustinus Hipponensis
Anonymus
But all is well:
PASSIM 051.0040
, which is Anonymus
Result: all seems to be well now.
We've noticed problems in the DCT (case in point: https://passim.rich.ru.nl/dct/details/82/ with Montecassino 12 as pivot manuscript):
First problem: PS-AU s 249 (item 76 in pivot manuscript) should be visible in DCT as item 70 in Vat. lat. 3836. The AF is properly linked to manifestations in both manuscripts. Why does it not show up in the DCT? Iris:
Second problem:
If this is indeed the case, that is not how it should work, DCT's should always use the most recent, updated version of the manuscripts/AF's the include.
Sometimes when clicking 'View all' on Rows drop-down menu, there is an error: Is this related to the problems described above?