Scarab commit: svn commit: r10728 - trunk/src/conf/conf/intake.xml
Hussayn Dabbous <[email protected]>
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dabbous
Date: 2009-05-21 12:42:50-0700
New Revision: 10728
Modified:
trunk/src/conf/conf/intake.xml
Log:
Reordered intake fields due to an error with missing resources (only occurs on unix): when creating a new attribute and trying to store with empty descrioption, an error message (field may not be empty) should be generated. But for some reason the intake_message key gets corrupted and at the end we see a 'missing resource (llowedEmpty)' which is complete nonesense. I found this behaviour on all linux based systems. and i can not reproduce it on windows based systems. something wrong with intake here ???
Modified: trunk/src/conf/conf/intake.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/conf/conf/intake.xml?view=diff&pathrev=10728&r1=10727&r2=10728
==============================================================================
--- trunk/src/conf/conf/intake.xml (original)
+++ trunk/src/conf/conf/intake.xml 2009-05-21 12:42:50-0700
@@ -25,6 +25,11 @@
<rule name="minLength" value="1">intake_AttributeNameNotAllowedEmpty</rule>
<rule name="maxLength" value="255">intake_AttributeNameMustBeLessThan255Characters</rule>
</field>
+ <field name="Description" key="desc" type="String">
+ <rule name="minLength" value="1">intake_AttributeDescriptionNotAllowedEmpty</rule>
+ <rule name="maxLength" value="255">intake_AttributeDescriptionMustBeLessThan255Characters</rule>
+ </field>
+
<field name="Style" key="style" type="String">
<rule name="maxLength" value="255">intake_AttributeFormatMustBeLessThan255Characters</rule>
</field>
@@ -37,10 +42,6 @@
<field name="FieldSize" key="size" type="int">
<rule name="mask" value="[0-9]+">intake_BadValueMessage</rule>
</field>
- <field name="Description" key="desc" type="String">
- <rule name="minLength" value="1">intake_AttributeDescriptionNotAllowedEmpty</rule>
- <rule name="maxLength" value="255">intake_AttributeDescriptionMustBeLessThan255Characters</rule>
- </field>
<field name="Permission" key="perm" type="String">
<rule name="minLength" value="1">intake_PermissionNotAllowedEmpty</rule>
<rule name="maxLength" value="255">intake_PermissionMustBeLessThan255Characters</rule>
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2352676