Short name type should match pattern "([a-zA-Z0-9])+" if you haven't
modified the default shortNameType in rxt.xsd . Also it seems you have an
additional </field> tag below Createdtime. Try correcting them and check.


On Mon, Dec 15, 2014 at 5:14 PM, Shiva Balachandran <sh...@wso2.com> wrote:
>
> Hi Himasha,
>
> Nope, does not fix the issue.
>
> Thank you.
>
> Regards,
>
>
> On Mon, Dec 15, 2014 at 5:11 PM, Himasha Guruge <himas...@wso2.com> wrote:
>>
>> Hi Shiva,
>>
>> I'm not sure if dashes are supported ( shortName="E-Process" ) , try
>> without it and see.
>>
>> Thanks & Regards,
>> Himasha
>>
>> On Mon, Dec 15, 2014 at 5:07 PM, Shiva Balachandran <sh...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I am using ES 2.0.0, trying to create a new asset type and i encounter
>>> this error.
>>>
>>> ManageGenericArtifactServiceRegistryExceptionException
>>>
>>> You can find my RXT below, what could be causing this error,
>>>
>>> <?xml version="1.0"?>
>>> <artifactType type="application/vnd.wso2-eproces+xml"
>>> shortName="E-Process" singularLabel="Executable Process"
>>> pluralLabel="Executable Processes"
>>>               hasNamespace="false" iconSet="10">
>>>
>>> <storagePath>/eprocess/@{overview_provider}/@{overview_name}/@{overview_version}</storagePath>
>>>     <nameAttribute>overview_name</nameAttribute>
>>>     <ui>
>>>         <list>
>>>             <column name="Provider">
>>>                 <data type="path" value="overview_provider"
>>> href="@{storagePath}"/>
>>>             </column>
>>>             <column name="Name">
>>>                 <data type="path" value="overview_name"
>>> href="@{storagePath}"/>
>>>             </column>
>>>             <column name="Version">
>>>                 <data type="path" value="overview_version"
>>> href="@{storagePath}"/>
>>>             </column>
>>>         </list>
>>>     </ui>
>>>     <content>
>>>         <table name="Overview">
>>>             <field type="text" required="true">
>>>                 <name>Provider</name>
>>>             </field>
>>>             <field type="text" required="true">
>>>                 <name>Name</name>
>>>             </field>
>>>             <field type="text" required="true">
>>>                 <name>Version</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Createdtime</name>
>>>             </field>
>>>              </field>
>>>             <field type="text-area">
>>>                 <name>Description</name>
>>>             </field>
>>>             </table>
>>>             <table name="Properties">
>>>     <field type="text" required="true">
>>>                 <name>Owner</name>
>>>             </field>
>>>     <field type="text" url="true" required="true">
>>>                 <name>Deployment URL</name>
>>>             </field>
>>>     <field type="text" url="true" required="true">
>>>                 <name>Webapp URL</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>IT Support</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Developers</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Predecessors</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Sucessors</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Generalizations</name>
>>>             </field>
>>>             <field type="text">
>>>                 <name>Specializations</name>
>>>             </field>
>>>         </table>
>>>         <table name="Images">
>>>             <field type="text" required="true">
>>>                 <name>Thumbnail</name>
>>>             </field>
>>>             <field type="text" required="true">
>>>                 <name>Banner</name>
>>>             </field>
>>>             <field type="text" required="true">
>>>                 <name>Process Archive</name>
>>>             </field>
>>>
>>>         </table>
>>>     </content>
>>>
>>> </artifactType>
>>>
>>> Thank you.
>>>
>>> Regards,
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> --
>> Himasha Guruge
>> *Software Engineer*
>> WS*O2* *Inc.*
>> Mobile: +94 777459299
>> himas...@wso2.com
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

-- 
Isuruwan Herath
Technical Lead

Contact: +94 776 273 296
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to