mirror of https://github.com/apache/archiva.git
[MRM-598] avoid javascript validation errors by removing upper limits that aren't that useful anyway
Merged from: r639284 git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@639286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4a54528f3
commit
1603003a05
|
@ -50,8 +50,11 @@
|
|||
</field-validator>
|
||||
<field-validator type="int">
|
||||
<param name="min">1</param>
|
||||
<!-- Webwork bug renders this as 65.535
|
||||
<param name="max">65535</param>
|
||||
<message>Port needs to be between ${min} and ${max}</message>
|
||||
-->
|
||||
<message>Port needs to be larger than ${min}</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
</validators>
|
||||
</validators>
|
||||
|
|
|
@ -38,17 +38,16 @@
|
|||
</field-validator>
|
||||
</field>
|
||||
<field name="repository.retentionCount">
|
||||
<field-validator type="int">
|
||||
<param name="min">1</param>
|
||||
<param name="max">100</param>
|
||||
<message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
<field-validator type="int">
|
||||
<param name="min">1</param>
|
||||
<param name="max">100</param>
|
||||
<message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
<field name="repository.daysOlder">
|
||||
<field-validator type="int">
|
||||
<param name="min">0</param>
|
||||
<param name="max">1000</param>
|
||||
<message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
<field name="repository.daysOlder">
|
||||
<field-validator type="int">
|
||||
<param name="min">0</param>
|
||||
<message>Repository Purge By Days Older Than needs to be larger than ${min}.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
</validators>
|
||||
</validators>
|
||||
|
|
|
@ -38,17 +38,16 @@
|
|||
</field-validator>
|
||||
</field>
|
||||
<field name="repository.retentionCount">
|
||||
<field-validator type="int">
|
||||
<param name="min">1</param>
|
||||
<param name="max">100</param>
|
||||
<message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
<field-validator type="int">
|
||||
<param name="min">1</param>
|
||||
<param name="max">100</param>
|
||||
<message>Repository Purge By Retention Count needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
<field name="repository.daysOlder">
|
||||
<field-validator type="int">
|
||||
<param name="min">0</param>
|
||||
<param name="max">1000</param>
|
||||
<message>Repository Purge By Days Older Than needs to be between ${min} and ${max}.</message>
|
||||
</field-validator>
|
||||
<field name="repository.daysOlder">
|
||||
<field-validator type="int">
|
||||
<param name="min">0</param>
|
||||
<message>Repository Purge By Days Older Than needs to be larger than ${min}.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
</validators>
|
||||
</validators>
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
<field name="rowCount">
|
||||
<field-validator type="int">
|
||||
<param name="min">10</param>
|
||||
<param name="max">5000</param>
|
||||
<message>Row count must be between ${min} and ${max}.</message>
|
||||
<message>Row count must be larger than ${min}.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
<!--
|
||||
|
@ -42,4 +41,4 @@
|
|||
<message>You must provide a repository id.</message>
|
||||
</field-validator>
|
||||
</field>
|
||||
</validators>
|
||||
</validators>
|
||||
|
|
Loading…
Reference in New Issue