[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
15 years, 2 months
[JBoss JIRA] Created: (GTNPORTAL-1757) NPE when click link to request a new password for the username in mail after delete user
by Hang Nguyen (JIRA)
NPE when click link to request a new password for the username in mail after delete user
----------------------------------------------------------------------------------------
Key: GTNPORTAL-1757
URL: https://issues.jboss.org/browse/GTNPORTAL-1757
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Hang Nguyen
* Add new user
* Click forgot user/pass
* Input user name/pass and click Send
* Login in portal
* Go to Organization Management
* Delete new user
* Comeback to mail
* Click link to request a new password for the username
=> Unknown error and show exception in cygwin
java.lang.NullPointerException
at org.exoplatform.portal.webui.login.UIResetPassword.setUser(UIResetPassword.java:77)
at org.exoplatform.portal.webui.portal.UIPortalComponentActionListener$RecoveryPasswordAndUs
ernameActionListener.execute(UIPortalComponentActionListener.java:440)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:133)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:73)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:37)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:133)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:120)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:110)
at org.exoplatform.web.WebAppController.service(WebAppController.java:161)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months