[JBoss JIRA] (GTNPORTAL-3122) Errors are not handled correctly in UIPortletActionListener.handleErrorResponse
by Boleslaw Dawidowicz (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3122?page=com.atlassian.jira.pl... ]
Boleslaw Dawidowicz updated GTNPORTAL-3122:
-------------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.6.0.Final
Resolution: Done
> Errors are not handled correctly in UIPortletActionListener.handleErrorResponse
> -------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3122
> URL: https://issues.jboss.org/browse/GTNPORTAL-3122
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: WebUI
> Affects Versions: 3.6.0.Beta02
> Reporter: Martin Weiler
> Assignee: Lucas Ponce
> Fix For: 3.6.0.Final
>
> Attachments: reproducer-for-GTNPORTAL-3122.zip
>
>
> When a portlet is running into a NoClassDefFoundError in processAction method, this error is not handled properly in UIPortletActionListener.handleErrorResponse:
> {code:title=UIPortletActionListener.java|borderStyle=solid}
> private void handleErrorResponse(ErrorResponse response) throws Exception {
> throw (Exception) response.getCause();
> }
> {code}
> This code tries to cast the Throwable to Exception, resulting in a ClassCastException which hides the real error. As a result, it is not possible to see the root cause of the issue in the log file.
--
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, 6 months
[JBoss JIRA] (GTNPORTAL-3127) Minor modularity fixes
by Marko Strukelj (JIRA)
Marko Strukelj created GTNPORTAL-3127:
-----------------------------------------
Summary: Minor modularity fixes
Key: GTNPORTAL-3127
URL: https://issues.jboss.org/browse/GTNPORTAL-3127
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Affects Versions: 3.6.0.Beta02
Reporter: Marko Strukelj
Assignee: Marko Strukelj
Fix For: 3.6.0.Final
Use jboss-deployment-structure.xml in favor of MANIFEST.MF to declare dependencies.
--
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, 6 months
[JBoss JIRA] (GTNPORTAL-2960) Unable to determine Dialect to use [name=EnterpriseDB, majorVersion=9] - for PostgresPlus 9.2
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2960?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-2960:
----------------------------------------------------
Boleslaw Dawidowicz <bdawidow(a)redhat.com> made a comment on [bug 975374|https://bugzilla.redhat.com/show_bug.cgi?id=975374]
We'll need to check if this can be fixed by Hibernate upgrade (Vlasta tried with 4.2.1 already). If there is no easy fix it should be documented as a known issue with workaround to set the dialect manually.
> Unable to determine Dialect to use [name=EnterpriseDB, majorVersion=9] - for PostgresPlus 9.2
> ---------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-2960
> URL: https://issues.jboss.org/browse/GTNPORTAL-2960
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Beta02
> Environment: PostgresPlus 9.2 (EnterpriseDB)
> edb-jdbc14.jar
> Reporter: Tomas Kyjovsky
> Labels: JPP61-Test-dev
> Attachments: hibernate-exception.txt
>
>
> Hibernate DialectFactory cannot determine "hibernate.dialect" for PostgresPlus 9.2 (EnterpriseDB).
> ...
> org.hibernate.HibernateException: Unable to determine Dialect to use [name=EnterpriseDB, majorVersion=9]; user must register resolver or explicitly set 'hibernate.dialect'
> at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:105) [hibernate-core-4.1.6.Final.jar:4.1.6.Final]
> at
> ...
--
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, 6 months