hcts-hra / ziziphus

10 stars 2 forks source link

Data missing in Ziziphus #251

Open SimonGruening opened 9 years ago

SimonGruening commented 9 years ago

There are some collections, not all - e.g. Priya Paul is not effected - in which a work date is shown in Tamboti (both live and test) but when you are in Ziziphus the entries are there but empty. When you edit those entries the dates appear twice in Tamboti.

Original, unedited entry in Tamboti: image

Unedited entry in Ziziphus: image

Edited entry back in Tamboti: image

Tested in Chrome [39.0.2171.65] and Firefox [33.1].

ChiSamurai commented 9 years ago

That's probably due to changed wrapping. Sometime it used to be:

        <date type="creation">
            <earliestDate>
                1993
            </earliestDate>
            <latestDate>
                1993
            </latestDate>
        </date>

but in the new set it was said to wrap the date value in an additonal node:

        <date type="creation">
            <earliestDate>
                <date>1993</date>
            </earliestDate>
            <latestDate>
                <date>1993</date>
            </latestDate>
        </date>
SimonGruening commented 9 years ago

I'm not too sure about that. As first it appeared only in my own sample image (Autumn Afternoon) and shortly after it also appeared in Jo's sample image "Black-and-white photograph of a country road in France" when I was testing the issue on Tamboti-Test. Then I went back to Tamboti-Live and the error occured in the live system as well. Then I started testing other collections.

ChiSamurai commented 9 years ago

Could you compare the XML-sourcecode?

SimonGruening commented 9 years ago

Looks like it is the source code for my image:

<dateSet>
<date dataDate="2014-11-24-11-30-56" pref="false" type="exhibition">
<earliestDate>
<date circa="false">1862</date>
</earliestDate>
</date>
<date dataDate="2014-11-24-10-35-22" pref="false" type="exhibition">
<earliestDate circa="false" extent="British Institute">1855</earliestDate>
<latestDate circa="false">1855</latestDate>
</date>
<date dataDate="2014-11-24-10-34-34" pref="false" type="creation">
<earliestDate circa="false">1852</earliestDate>
<latestDate circa="false">1854</latestDate>
</date>
</dateSet>

But why is the Code in PPColl changed and not in the other collections? I also tested "Ethnographische Fotographie" and "Urban Anthropology" - they are faulty, too.

MatthiasArnold commented 9 years ago

We need to make sure that legacy data (e.g. in collections "Ethnographische Fotographie" and "Urban Anthropology") is updated according to the schema.