Odd behaviour using DSpace REST (v6.4)

45 views
Skip to first unread message

Bjørn Ove Grøtan

unread,
Sep 18, 2020, 10:59:56 AM9/18/20
to DSpace Community
Hello

We are using DSpace v6(.4) and in particular we are publishing articles, reports, maps etc by using the REST-api (we have our own inventory system from way way back).

But, what we are experiencing, is that multi value metadata elements 
such as dc.contributor.author, is not stored in the DSpace database in the same
sorted way we add them in the JSON structure. 

From what I've seen, the sorting of dc.contributor.author is completely random, and
never the same order/sorting as I put in. It's repeatable reproducable.

When using the Web User Interface, there's no problem with correct ordering/sorting 
of authors. We've been told that the xmlui propably write directly to the database and
doesn't use the REST-api at all and thus ordering is handled correctly. It baffles me that the REST-interface does not handle the data the same way its POSTed.

Anyone experienced the same? I have over 7000 publications published with wrong order of authors, and I would very much like to not reorder them manually using the xmlui.

Good ideas?

Database:PostgreSQL
Java: OpenJDK (1.8.x)

Kind regards

Bjørn Ove Grøtan


Reply all
Reply to author
Forward
0 new messages