Hi Stanislav, assuming you have not deleted any default DSpace metadata fields from the registry, you got a dc.type there and can use the field below (it is part of the default input form) by just changing
<dc-element>type-fr</dc-element> to <dc-element>type</dc-element> in the [dspace]/config/input-forms.xml. Whether you want/need it in your submission form that is a question I can not answer. You may check your old submission whether they got dc.type as metadata. If so it has been used and most likely is needed. Hope this helps Claudia Jürgen Am 13.01.2017 um 20:07 schrieb Stanislav Orlov:
Thank you, Claudia, You are right - I found the following in our "input-forms.xml": <field> <dc-schema>dc</dc-schema> <dc-element>type-fr</dc-element> <dc-qualifier></dc-qualifier> <repeatable>true</repeatable> <label>Type</label> <input-type value-pairs-name="common_types">dropdown</input-type> <hint>Select the type(s) of content of the item. To select more than one value in the list, you may have to hold down the "CTRL" or "Shift" key.</hint> <required></required> </field> It was my colleague who handled the metadata, but he left, so I wonder whether I can remove this field or do something else? Cheers, Stan On Wednesday, 11 January 2017 04:22:32 UTC-4, Claudia Jürgen wrote:Hi Stanislav, does your metadata field is actually called dc.type-fr or do you got a typo in your input-forms? I assume it's a typo in the input-forms: https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/input-forms.xml looks as if there is an element like: <dc-element>type-fr</dc-element> The error happens at: https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace-api/src/main/java/org/dspace/content/Item.java#L1632 and it indicates that the schema is dc and the element type-fr. There should be a corresponding more verbose warning in the dspace logs. Hope this helps Claudia Jürgen
-- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 [email protected] www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
