[
https://jira.duraspace.org/browse/DS-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Van de Velde reassigned DS-851:
-------------------------------------
Assignee: Kevin Van de Velde
> When a "qualdrop_value" is set to "required", submit form always fails
> ----------------------------------------------------------------------
>
> Key: DS-851
> URL: https://jira.duraspace.org/browse/DS-851
> Project: DSpace
> Issue Type: Bug
> Components: JSPUI, XMLUI
> Affects Versions: 1.7.0, 1.8.2
> Reporter: Onivaldo Rosa Junior
> Assignee: Kevin Van de Velde
> Fix For: 3.0
>
>
> The option required in qualdrop_value failure in JSPUI when used as below, is
> constantly indicating that the field was not filled, even though he is filled.
> <field>
> <dc-schema>dc</dc-schema>
> <dc-element>contributor</dc-element>
> <dc-qualifier></dc-qualifier>
> <repeatable>true</repeatable>
> <label>Autores e Colaboradores:</label>
> <input-type
> value-pairs-name="list_contributor">qualdrop_value</input-type>
> <hint>Autor(res) e colaborador(es) deste item.</hint>
> <required>Infome pelo menos um autor deste item.</required>
> </field>
> Additional Details/Example (from Tim Donohue):
> If you just add some "required" text to the out-of-the-box settings for
> "dc.identifier" field, you'll see the error. For example, change the default
> "dc.identifier" field settings in your input-forms.xml to look like this (the
> only thing changed is the <required> tag value):
> <field>
> <dc-schema>dc</dc-schema>
> <dc-element>identifier</dc-element>
> <dc-qualifier></dc-qualifier>
> <!-- An input-type of qualdrop_value MUST be marked as repeatable -->
> <repeatable>true</repeatable>
> <label>Identifiers</label>
> <input-type
> value-pairs-name="common_identifiers">qualdrop_value</input-type>
> <hint>If the item has any identification numbers or codes associated
> with
> it, please enter the types and the actual numbers or codes below.</hint>
> <required>Please enter at least one identifier</required>
> </field>
> Then, restart Tomcat & attempt to submit a new item from either JSPUI or
> XMLUI. You will be unable to continue past the first metadata page, as the
> dc.identifier field will always throw an error whether you enter a value or
> not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel