cceh / mea-atom-installation

Atom installation scripts for MEA
0 stars 0 forks source link

Linked "attachments" show up multiple times in the navigation #72

Open pdaengeli opened 9 years ago

pdaengeli commented 9 years ago

Maxime reports a strange behavior that is evident when linking more than one items (Unterlage) to an entry. Doing so results in a very confusing display of entries in the left-hand navigation (both for authenticated and public users).

Example: when opening any of the five items under http://meister-eckhart-archiv.uni-koeln.de/a/index.php/rwre-xzys-49rd the navigation gets populated by a large number of entries of the form

Einzelstück1933-05-30 [Unterlage 1] - "Verzeichnis der Hss. die von Jacques Rosenthal 1914 gekauft wurden" (München, 28.1.1914)
Einzelstück1933-05-30 [Unterlage 2] - "Verzeichnis der Hss. die von Jacques Rosenthal 1914 gekauft wurden" (München, 20.2.1914)
Einzelstück1933-05-30 [Unterlage 4] - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 22.7.1915)
Einzelstück1933-05-30 [Unterlage 5] - Notizzettel
Einzelstück1933-05-30 [Unterlage 3] - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 24.2.1914)
Einzelstück1933-05-30 [Unterlage 4] - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 22.7.1915)
Einzelstück1933-05-30 [Unterlage 5] - Notizzettel
Einzelstück1933-05-30 [Unterlage 1] - "Verzeichnis der Hss. die von Jacques Rosenthal 1914 gekauft wurden" (München, 28.1.1914)
Einzelstück1933-05-30 [Unterlage 3] - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 24.2.1914)
Einzelstück1933-05-30 [Unterlage 4] - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 22.7.1915)
Einzelstück1933-05-30 [Unterlage 5] - Notizzettel

that repeat over and over when scrolling within the navigation.

Is there a way to fix this?

textloop commented 9 years ago

The "[..]" within "Kennung" seems to have caused the problem. I modified it from "1933-05-30 [Unterlage 1]" to "1933-05-30-U1". The problem seems to be gone?

pdaengeli commented 9 years ago

Thanks for testing this.

Unfortunately I keep getting multiple occurrences, but only for U3 and U4:

Einzelstück1933-05-30-U1 - "Verzeichnis der Hss. die von Jacques Rosenthal 1914 gekauft wurden" (München, 28.1.1914)
Einzelstück1933-05-30 - Christ, K. an Rosenthal, E. (o. O., 30.5.1933)
Einzelstück1933-05-30-U3 - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 24.2.1914)
Einzelstück1933-05-30-U4 - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 22.7.1915)
Einzelstück1933-05-30-U5 - Notizzettel
Einzelstück1933-05-30 - Christ, K. an Rosenthal, E. (o. O., 30.5.1933)
Einzelstück1933-05-30-U3 - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 24.2.1914)
Einzelstück1933-05-30-U4 - Rosenthal, 
pdaengeli commented 9 years ago

Removing the brackets from Kennung seems to have helped considerably. Currently, two of the five sample entries are still shown redundantly and the sorting within the date is irregular.

These problems might not arise for newly created entries that do not contain special characters.

pdaengeli commented 9 years ago

When navigating to U1 or U2 the entries U3 and U4 are still shown double. From U3, U4 and U5 each entry is shown just once (as expected).

Perhaps U1 and U2 were created in a different way than U3, U4 and U5.

We need to wait for the next comparable case to learn more.

textloop commented 9 years ago

While our meeting with Maxime, we did some further tests. The way he creates this kind of entries seems to be correct, we couldn't find a hint, what might cause the doubling.

To get to know the problem, go to: http://meister-eckhart-archiv.uni-koeln.de/a/index.php/rwre-xzys-49rd Click on linked "Unterlage 2" within "Identifikation". Scroll down in the navigation on the left. You will find three "Einzelstücke" listet twice: 1933-05-30-U3 - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 24.2.1914) 1933-05-30-U4 - Rosenthal, J. an die Königliche Bibliothek Berlin (München, 22.7.1915) 1933-05-30 - Christ, K. an Rosenthal, E. (o. O., 30.5.1933)

Do you have any idea what we are dealing with here?

gioele commented 9 years ago

@strec: has this problem been reported to the Atom devs? have we got a ticket number or a discussion thread that we can include here for future reference?