[JBoss JIRA] Created: (SEAM-89) Call to associateGroups(head, branch) does not persist the group relationship
by Bill Elliot (JIRA)
Call to associateGroups(head, branch) does not persist the group relationship
-----------------------------------------------------------------------------
Key: SEAM-89
URL: https://issues.jboss.org/browse/SEAM-89
Project: Seam 3 Distribution
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: Windows 7 x64, MySQL 5.1
Reporter: Bill Elliot
This is using MySQL 5.1 and it appears the association is not being persisted. If I manually enter the table row the association is detected correctly. But, the call to associateGroups is not persisting the relationship. I have used the following code to test out this:
package org.jboss.seam.security.examples.idmconsole.tests;
import javax.inject.Inject;
import org.picketlink.idm.api.Group;
import org.picketlink.idm.api.IdentitySession;
import org.picketlink.idm.api.PersistenceManager;
import org.picketlink.idm.api.RelationshipManager;
import org.picketlink.idm.common.exception.IdentityException;
public class TestSecurity {
@Inject IdentitySession identitySession;
public String testAction() throws IdentityException {
PersistenceManager pm = identitySession.getPersistenceManager();
RelationshipManager rm = identitySession.getRelationshipManager();
Group head = pm.findGroup("Head Office", "ORGANIZATION_UNIT");
Group branch = pm.findGroup("Branch Office", "ORGANIZATION_UNIT");
if( ! rm.isAssociated(head, branch) ) {
rm.associateGroups(head, branch);
}
boolean isAssociated = rm.isAssociated(head, branch);
return null;
}
}
The 2 groups in the test code exist in my test DB when I run the above code. I single step through the code to verify the situation after each line and everything is as expected, except that the call to rm.associateGroups(head, branch); does not persist the association.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (JBSEAM-4667) Using JSF 2 And Seam - conversation Id
by varun shaji (JIRA)
Using JSF 2 And Seam - conversation Id
--------------------------------------
Key: JBSEAM-4667
URL: https://jira.jboss.org/browse/JBSEAM-4667
Project: Seam
Issue Type: Bug
Affects Versions: 2.2.1.CR1
Environment: JBoss-6.0 M2 , Seam 2.2.0 & Seam 2.2.1 CR1, JSF 2(Mojarro - 2.0.2)
Reporter: varun shaji
During Postback from a JSF page , the conversation id cannot be retored.
The debug logs that i obtained for JSF 1.2 and JSF 2.0 are as shown for the same postback in a pageflow are as shown
JSF 1.2
********************************************************************************************************************
06-15@23:18:50 (JbpmContextInfo.java:145) DEBUG - creating jbpm context with service factories '[]'
06-15@23:18:50 (JbpmContext.java:124) DEBUG - creating org.jbpm.JbpmContext@7b3555
06-15@23:18:50 (Pageflow.java:470) DEBUG - new pageflow instance for definition: hello
06-15@23:18:50 (GraphElement.java:170) DEBUG - event 'process-start' on 'ProcessDefinition(hello)' for 'Token(/)'
06-15@23:18:50 (JbpmContext.java:133) DEBUG - closing jbpmContext org.jbpm.JbpmContext@7b3555
*******************************************************************************************************
JSF 2.0
**********************************************************************************************
06-15@22:38:27 (Pageflow.java:470) DEBUG - new pageflow instance for definition: hello
**********************************************************************************************
I debuged and found the FacesPage from which the conversation Id is returning..Is returning null in JSF2 ..ConversationId is returning null in FacesPage returned by Seam when Using JSF2
--
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
12 years, 11 months
[JBoss JIRA] Created: (SEAM-30) Seam release should not depend on any SNAPSHOT artifacts
by Ondrej Skutka (JIRA)
Seam release should not depend on any SNAPSHOT artifacts
--------------------------------------------------------
Key: SEAM-30
URL: https://issues.jboss.org/browse/SEAM-30
Project: Seam 3
Issue Type: Bug
Components: Release tasks
Affects Versions: 3.0.0.CR1
Reporter: Ondrej Skutka
Tagged version of Seam 3 intended for a release should contain no -SNAPSHOT dependencies in order to have the release rebuildable in the future.
Seam 3.0.0.CR1 modules contain following SNAPSHOT dependencies:
solder/impl/pom.xml: org.jboss.arquillian.container:arquillian-glassfish-remote-3.1:1.0.0-SNAPSHOT
catch/examples/basic-servlet/pom.xml: org.jboss.seam.catch:seam-catch-parent:3.0.0-SNAPSHOT
rest/impl/pom.xml: org.jboss.arquillian.container:arquillian-glassfish-remote-3.1:1.0.0-SNAPSHOT
config/docs/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
org.jboss.seam.config:seam-config-reference-guide:3.0.0-SNAPSHOT
config/dist/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
config/examples/princess-rescue/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
security/examples/pom.xml: org.jboss.seam.security:seam-security-parent:3.0.0-SNAPSHOT
org.jboss.seam.security:seam-security-example-parent:3.0.0-SNAPSHOT
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months