[JBoss JIRA] Created: (JBPORTAL-1621) "title" attribute of "link" tag in jboss-portlet.xml is unhandled
by Pavel Myshkin (JIRA)
"title" attribute of "link" tag in jboss-portlet.xml is unhandled
-----------------------------------------------------------------
Key: JBPORTAL-1621
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1621
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: JBoss Portal 2.6.1 GA bundled
Reporter: Pavel Myshkin
JBOSS-PORTLET.XML
--------------------------------
<!DOCTYPE portlet-app PUBLIC
"-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
"dtd/jboss-portlet_2_6.dtd">
<portlet-app>
<portlet>
<portlet-name>PortletName</portlet-name>
<header-content>
<!-- main calendar program -->
<link rel="stylesheet" type="text/css" media="all" href="/calendar-win2k-cold-1.css" title="win2k-cold-1"/>
</header-content>
</portlet>
</portlet-app>
Generates an error :
Caused by: org.xml.sax.SAXException: Attribute "title" must be declared for element type "link". @ *unknown*[10,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (HIBERNATE-68) assert collection.remove(this) is fail
by Mike Khlu (JIRA)
assert collection.remove(this) is fail
--------------------------------------
Key: HIBERNATE-68
URL: http://jira.jboss.com/jira/browse/HIBERNATE-68
Project: Hibernate
Issue Type: Task
Reporter: Mike Khlu
Assigned To: Steve Ebersole
Priority: Minor
I've got simple ManyToMany case
class A {
@ManyToMany
Set<B> bes=...;
}
class B {
@ManyToMany(mappedBy="bes")
Collection<A> aes=...;
void addAssociation(A newbie){
// everything is clear. and works well
....
}
void removeAssociation(A associated){
assert aes.remove(associated); // works fine
assert a.bes.remove(this); // doesn't works !!!
}
}
if you try to run simple "exploit", you would be unhappy
void foo(){
A a = .... // gets poxy from session
B b = a.iterator().next(); // gets proxy of associated entity by association
b.removeAssociation(a); // we'll got a fail
}
Of course, I know the cause:
1. method call would be delegated to entity (target) by proxy
2. so, "this" in method body means entity (target) not a proxy
3. We can't find entity in collection of proxies, in spite of we have proxy with such ID there
What do you think about this issue?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[JBoss JIRA] Created: (JBPORTAL-1569) Adding window properties with names starting with one of the letters from the range 'a-t'
by Pavel Myshkin (JIRA)
Adding window properties with names starting with one of the letters from the range 'a-t'
-----------------------------------------------------------------------------------------
Key: JBPORTAL-1569
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1569
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6 Final
Reporter: Pavel Myshkin
Assigned To: Julien Viet
When trying to add a window property of some window with the key name starting with letters a-s (upper or lower) you get an exception:
Cause: javax.portlet.PortletException: Expected submitted value of type Boolean for Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}
Message: Expected submitted value of type Boolean for Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}
StackTrace:
javax.portlet.PortletException: Expected submitted value of type Boolean for Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}
at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:253)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:399)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
at org.jboss.portal.faces.portlet.JSFMetaBridgePortlet.render(JSFMetaBridgePortlet.java:125)
......
This does not happen with properties that the key starts with letters t-z.
looks like it is somehow linked to the alphabetical position of the added key in relation to already existing window properties "Partial refresh" and "Region order". The key names that produced the exception are located before these properties in the list and the ones that did not generate the exception are located after these native properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months