[
https://jira.duraspace.org/browse/DS-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Donohue updated DS-851:
---------------------------
Component/s: XMLUI
Description:
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 paste the first metadata page, as the
dc.identifier field will always throw an error whether you enter a value or not.
was:
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>
Priority: Minor (was: Major)
Environment: (was: CentOS 5.5)
Affects Version/s: 1.8.2
Fix Version/s: 3.0
Summary: When a "qualdrop_value" is set to "required", submit
form always fails (was: qualdrop_value required fail )
> 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
> 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 paste 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:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel