clarin-eric / curation-dashboard

java library for CLARIN's CMDI curation
GNU General Public License v3.0
4 stars 0 forks source link

profile doesn't exist #146

Closed kaizimmer1 closed 1 year ago

kaizimmer1 commented 2 years ago

https://curation.clarin.eu/profile/clarin_eu_cr1_p_1353678848745.html displays an error message: "There was an error: The profile clarin_eu_cr1_p_1353678848745.html doesn't exist." Maybe because the profile was marked as private until last friday (2022-10-14). But the page wasn't generated since then?

wowasa commented 2 years ago

thank you for reporting. Usually reports are generated three or four times per week. I will give you a feedback asp

wowasa commented 2 years ago

I can already say that the cause of the error is not the switch from private to public. For some reason the attempt the parse the schema file to a Java Schema object terminates with an error and I have to investigate if the error is in the file or the standard parser, which might take some days. But I'm currently working at this part of curation dashboard anyway and I will provide an answer as well as a solution within the next couple of days

twagoo commented 2 years ago

FTR, the profile is marked as deprecated - maybe this is relevant.

<profileDescription xmlns:ns2="http://www.w3.org/1999/xlink">
    <id>clarin.eu:cr1:p_1324638957739</id>
    <name>media-corpus-profile</name>
    <description>General purpose metadata description of a collection of media files (= recordings)
        and annotation files and optional documentation</description>
    <registrationDate>2012-02-23T10:15:35+00:00</registrationDate>
    <creatorName>Florian Schiel</creatorName>
    <userId>58</userId>
    <domainName>phonetics</domainName>
    <groupName>CLARIN-D</groupName>
    <status>DEPRECATED</status>
    <successor>clarin.eu:cr1:p_1387365569699</successor>
    <commentsCount>1</commentsCount>
    <isPublic>true</isPublic>
    <recommended>false</recommended>
    <showInEditor>true</showInEditor>
</profileDescription>

https://catalog.clarin.eu/ds/ComponentRegistry/rest/items/clarin.eu:cr1:p_1324638957739

wowasa commented 1 year ago

@twagoo : it's a different profile, isn't it? But in fact the deprecated tag shouldn't matter since we decided some months ago, that deprecated profiles should also appear in the list. My guess is, that there is either an error in the query part of the connection string for the public-profile-header lookup or it depends on the non thread safeness of the SAXParserFactory. Anyway, the error is most likely on our side and I'm going to fix it within the next 10 days.

twagoo commented 1 year ago

@twagoo : it's a different profile, isn't it?

you're right, I don't know how but I slipped up here

Anyway, the error is most likely on our side and I'm going to fix it within the next 10 days.

👍

twagoo commented 1 year ago

Maybe this is related to the fact that this profile uses unpublished development components. See https://catalog.clarin.eu/ds/ComponentRegistry#/?itemId=clarin.eu%3Acr1%3Ap_1353678848745&registrySpace=public - if not logged in, you will see that some components do not load for this reason!

wowasa commented 1 year ago

bug fixed in v. 6.0.0