withanage / datacite

OMP Datacite Plugin with additional da|ra support.
GNU Lesser General Public License v3.0
4 stars 12 forks source link

minLength error #3

Open bolelligallevi opened 3 years ago

bolelligallevi commented 3 years ago

Hi Dulip, I received this error for a doi registration by the plugin: 2021-01-26 15:27:01.730 ERROR 37 :: DOI 10.13130/unimi2040.37: [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'. at line 20, column 0 Due to this error, no DOI was created in datacite, but in the plugin the submission was moved to Deposited tab anyway. The error seems to refer to a specific field as written in the XML sent to datacite, unfortunately I can't provide it because of the delete operated by the plugin (DataciteExportPlugin.inc.php row 183). I looked for relevant missing fields in the submission, but I didn't find any. We commented the delete part of the code and we'll try some other tests, but I wanted to ask:

felixhelix commented 2 years ago

Hi,

we just experience the same error as mentioned here. Any ideas what causes this and how to solve it?

Yours,

Felix

felixhelix commented 2 years ago

Just found the solution (by examining the resulting XML files): We did not enter a publisher, so the publisher tag was empty.

As of now, publisher identity is stated to be obligatory only if one needs ONIX-Metadata. So maybe clarify that at least the name of the publisher is needed for DataCite DOIs as well.

Yours

Felix