[JBoss JIRA] Created: (GTNWSRP-202) Producer configuration - error message for test policy
by Michal Vanco (JIRA)
Producer configuration - error message for test policy
------------------------------------------------------
Key: GTNWSRP-202
URL: https://issues.jboss.org/browse/GTNWSRP-202
Project: GateIn WSRP
Issue Type: Bug
Components: Producer
Environment: Gatein wsrp-extraction branch (from 2/18)
Reporter: Michal Vanco
Assignee: Chris Laprun
Fix For: 2.0.1-GA
There is an error like:
Couldn't register with producer 'selfv2' Could not register consumer named 'mvanco-laptop WSRP v2 version' Cause: Requires a non-null, non-empty identity
when creating new consumer for producer where I I set TestRegistrationPolicy.
Is this correct error? Can you please verify what's happening with this test policy (that's the same as you have at test folder in producer-lib)?
To reproduce:
- copy attached jar to deploy folder (contains policy)
- set policy on producer to: org.gatein.test.wsrp.TestRegistrationPolicy
- create new consumer
Note: you can also verify with 1 instance and self producer/consumer
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (GTNPORTAL-1648) Error in Xml definition in gatein_objects_1_0 / visibility options do not include the default : VISIBLE value
by Antoine Herzog (JIRA)
Error in Xml definition in gatein_objects_1_0 / visibility options do not include the default : VISIBLE value
-------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1648
URL: https://jira.jboss.org/browse/GTNPORTAL-1648
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Common integration
Affects Versions: 3.1.0-GA
Environment: GateIn 3.1.0-GA, jboss 5.1.0-GA, linux, eclipse
Reporter: Antoine Herzog
The file : http://www.gatein.org/xml/ns/gatein_objects_1_0 is used for definition of the xml allowed in files such as navigation.xml and pages.xml.
There is an error in line 69 :
The element named "visibility" is described with the default value : VISIBLE
but this value is not in the options given for the optionType for visibility.
Only "DISPLAYED", "HIDDEN", "TEMPORAL", "SYSTEM" are allowed.
see in this file :
<xs:element name="visibility" type="visibility" default="VISIBLE" minOccurs="0" maxOccurs="1"/>
and
<xs:simpleType name="visibility">
−
<xs:restriction base="xs:string">
<xs:enumeration value="DISPLAYED"/>
<xs:enumeration value="HIDDEN"/>
<xs:enumeration value="TEMPORAL"/>
<xs:enumeration value="SYSTEM"/>
</xs:restriction>
</xs:simpleType>
Adding the VISIBLE value is necessary.
The problem can be seen using eclipse.
An error is triggered (and prevents from compiling the whole eclipse project).
The error detail is : "e-props-correct.2: Invalid value constraint value 'VISIBLE' in element 'visibility'
Location : line 69.
Workaround : download the file, modify it, and use this file url in the xsi:schemaLocation etc... in your pages.xml files and navigation.xml files. Not nice but should work (I have not tried it yet).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months