[JBoss JIRA] (GTNPORTAL-3218) The global chromattic session context doesn't close properly
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl... ]
Trong Tran reassigned GTNPORTAL-3218:
-------------------------------------
Assignee: Trong Tran
> The global chromattic session context doesn't close properly
> ------------------------------------------------------------
>
> Key: GTNPORTAL-3218
> URL: https://issues.jboss.org/browse/GTNPORTAL-3218
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Trong Tran
> Labels: backlogs
> Fix For: 3.7.0.Final
>
>
> The following unit testcase doesn't work, it fails in the second openning of the context :
> {code}
> public void testGlobalSessionClose() {
> chromatticManager.beginRequest();
> try {
> test1LF.openContext();
> // do something
> test1LF.closeContext(false); // close without persisting changes to DB
> //
> test1LF.openContext();
> test1LF.closeContext(true);
> }
> finally {
> chromatticManager.endRequest(true);
> }
> }
> {code}
> it raises an exception of java.lang.IllegalStateException: A context is already opened
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (GTNPORTAL-3218) The global chromattic session context doesn't close properly
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3218 started by Trong Tran.
> The global chromattic session context doesn't close properly
> ------------------------------------------------------------
>
> Key: GTNPORTAL-3218
> URL: https://issues.jboss.org/browse/GTNPORTAL-3218
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Trong Tran
> Labels: backlogs
> Fix For: 3.7.0.Final
>
>
> The following unit testcase doesn't work, it fails in the second openning of the context :
> {code}
> public void testGlobalSessionClose() {
> chromatticManager.beginRequest();
> try {
> test1LF.openContext();
> // do something
> test1LF.closeContext(false); // close without persisting changes to DB
> //
> test1LF.openContext();
> test1LF.closeContext(true);
> }
> finally {
> chromatticManager.endRequest(true);
> }
> }
> {code}
> it raises an exception of java.lang.IllegalStateException: A context is already opened
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (GTNPORTAL-3234) Add the conditional comments for IE
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3234?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3234:
----------------------------------
Labels: backlogs (was: )
> Add the conditional comments for IE
> -----------------------------------
>
> Key: GTNPORTAL-3234
> URL: https://issues.jboss.org/browse/GTNPORTAL-3234
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: WebUI
> Reporter: Tuyen Nguyen The
> Assignee: Tuyen Nguyen The
> Labels: backlogs
>
> We have some bugs only on IE (ie9, ie8).We should add Conditional comments to <html> tag
> so UI team can fix bug on ie base on class "ie8" , ie9..
> this is my suggestion
> {code:xml}
> <!--[if IE 7]> <html class="ie7 lt-ie8 lt-ie9 lt-ie10"> <![endif]-->
> <!--[if IE 8]> <html class="ie8 lt-ie9 lt-ie10"> <![endif]-->
> <!--[if IE 9]> <html class="ie9 lt-ie10"> <![endif]-->
> <!--[if gt IE 9]> <html class=" ie10"> <![endif]-->
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (GTNPORTAL-3230) 508 compliancy changes doesn't properly 'hide' elements for rtl languages
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3230?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-3230:
----------------------------------------------------
Thomas Heute <theute(a)redhat.com> changed the Status of [bug 990161|https://bugzilla.redhat.com/show_bug.cgi?id=990161] from ASSIGNED to MODIFIED
> 508 compliancy changes doesn't properly 'hide' elements for rtl languages
> -------------------------------------------------------------------------
>
> Key: GTNPORTAL-3230
> URL: https://issues.jboss.org/browse/GTNPORTAL-3230
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Mobile, User Interface
> Reporter: Matt Wringe
> Assignee: Matt Wringe
> Fix For: 3.6.3.Final
>
>
> The 508 changes to "hide" content off to a negative left position is incorrect when handling rtl languages. For rtl languages it should be placed at a negative right position instead.
> With older android browsers there is an issue where it expect a _positive_ right position for this hack to work. A work around will have to be done to deal with this situation.
> Without these changes it causes the browser to render the page as it if is extremely wide(10 000px). Some browsers cannot handle this and it causes strange behaviours such as links no longer functioning.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months
[JBoss JIRA] (GTNPORTAL-3243) Exceptions are swallowed in PicketLinkIDMOrganizationServiceImpl flush and endRequest
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3243?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-3243:
----------------------------------------------------
Thomas Heute <theute(a)redhat.com> changed the Status of [bug 998885|https://bugzilla.redhat.com/show_bug.cgi?id=998885] from ASSIGNED to MODIFIED
> Exceptions are swallowed in PicketLinkIDMOrganizationServiceImpl flush and endRequest
> -------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3243
> URL: https://issues.jboss.org/browse/GTNPORTAL-3243
> Project: GateIn Portal
> Issue Type: Bug
> Components: Identity integration
> Affects Versions: 3.6.0.Final
> Reporter: Martin Weiler
> Assignee: Marek Posolda
> Fix For: 3.6.3.Final
>
>
> IDM operations are invoked from a WS facade in our environment, and not from the GUI. Therefore, we have overridden PicketLinkIDMOrganizationServiceImpl.recoverFromIDMError to just let any errors bubble up and let the upper layer handle it, instead of rolling back + restarting the transaction.
> But here's the place the exception handling is not working as expected. The issue is in PicketLinkIDMOrganizationServiceImpl.flush():
> {code}
> public void flush() {
> try {
> if (configuration.isUseJTA()) {
> if (traceLoggingEnabled) {
> log.trace("Flushing UserTransaction in method flush");
> }
> // Complete restart of JTA transaction don't have good performance. So we will only sync identitySession (same
> // as for non-jta environment)
> // finishJTATransaction();
> // beginJTATransaction();
> if (jtaTransactionLifecycleService.getUserTransaction().getStatus() == Status.STATUS_ACTIVE) {
> idmService_.getIdentitySession().save();
> }
> } else {
> try {
> if (idmService_.getIdentitySession().getTransaction().isActive()) {
> 166: idmService_.getIdentitySession().save();
> }
> } catch (Exception e) {
> log.error(e.getMessage(), e);
> 170: recoverFromIDMError(e);
> }
> }
> 174: } catch (Exception e) {
> 175: log.error(e.getMessage(), e);
> }
> }
> {code}
> Let's assume there is an exception at session.save() in line 166. This exception is then handled by the recoverFromIDMError method in line 170. In our environment, this method is overridden and throws an Exception.
> But the initial goal of overriding this method, which was to have this exception propagated to the caller, is not reached here, as there is an outer try..catch block in the PicketLinkIDMOrganizationServiceImpl.flush() method which just logs the error.
> The outer try..catch block should be removed in flush() and endRequest().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 4 months