[JBoss JIRA] (GTNPORTAL-2581) RichFaces is not defined after adding a RF portlet to a page
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2581?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration updated GTNPORTAL-2581:
-----------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1080249
> RichFaces is not defined after adding a RF portlet to a page
> ------------------------------------------------------------
>
> Key: GTNPORTAL-2581
> URL: https://issues.jboss.org/browse/GTNPORTAL-2581
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: GateIn 3.4.0.Final
> Reporter: Peter Palaga
> Attachments: jsf2-rf4-hello-world-portlet.war
>
>
> (1) Start a fresh GateIn 3.4.0.Final:
> cd tmp
> wget http://downloads.jboss.org/gatein/Releases/Portal/3.4.0.Final/GateIn-3.4....
> unzip GateIn-3.4.0.Final-jbossas7.zip
> cd GateIn-3.4.0.Final-jbossas7/bin
> ./standalone.sh
> (2) Install gatein-bom-3.4
> git clone https://github.com/ppalaga/gatein-bom.github
> cd gatein-bom
> mvn install -Dgpg.skip=true
> (3) Pack and deploy jsf2-rf4-hello-world-portlet:
> cd tmp
> git clone https://github.com/ppalaga/gatein-portal-quickstart.git
> cd gatein-portal-quickstart/jsf2-rf4-hello-world-portlet
> mvn package jboss-as:deploy
> (4) In web browser:
> * login as root http://127.0.0.1:8080/portal/login?username=root&password=gtn&initialURI=...
> (5) In web browser:
> * Group > Administration > Application Registry > Import Applications
> * Site > Classic > Home
> * Site Editor > Edit Page
> * Drag jsf2-rf4-hello-world-portlet and drop it e.g. under the Home Page portlet
> * make the console with server log visible to you
> * Open developer tools (F12 in Chrome) and switch to Resources. Have a look at loaded scripts. Note that there are no PBR-related scripts there.
> (6) Hit Finish (Diskette Icon) in Page Editor dialog
> (7) UNEXPECTED: After hitting Finish, there comes a modal message in the browser window saying "RichFaces is not defined".
> * Note that while this message is being displayed, there is no change in the scripts compared to before (5).
> * Note that nothing happened in the server log.
>
> (8) Hit OK in the "RichFaces is not defined" alert.
> * Note that one or more PBR-related scripts were loaded. Some of them have error markers in them
> * Sometimes one or more org.exoplatform.portal.config.NoSuchDataExceptions appear in the server log
>
> The problem seems to be related to the fact that the inline JavaScript needed to render the rich:select component is evaluated before the needed js resources were loaded. After reloading the whole page or accessing the page from another session jsf2-rf4-hello-world-portlet works as expected.
> For further observations, define one more step:
> (9)
> * Site > Classic > Home
> * Site Editor > Edit Page
> * remove jsf2-rf4-hello-world-portlet from the page
> * Hit Finish (Diskette Icon) in Page Editor dialog
> When in the state after (8), one performs (9) and then again (5) and (6), "RichFaces is not defined" does not appear.
> "RichFaces is not defined" appears only when one signs out from the portal and signs in again between (9) and (5) of the previous scenario.
--
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
10 years, 8 months
[JBoss JIRA] (GTNPORTAL-3426) CDI portlet throws an exception during deployment
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3426?page=com.atlassian.jira.pl... ]
Peter Palaga updated GTNPORTAL-3426:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.8.0.Final
Resolution: Done
> CDI portlet throws an exception during deployment
> --------------------------------------------------
>
> Key: GTNPORTAL-3426
> URL: https://issues.jboss.org/browse/GTNPORTAL-3426
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Juraci Paixão Kröhling
> Assignee: Juraci Paixão Kröhling
> Fix For: 3.8.0.Final
>
>
> From Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1075588
> CDI portlet
> Any CDI portlet will currently this exception during deployment
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."cdi-jsf-portlet.war".component."org.gatein.cdi.contexts.listeners.CDIServletListener".WeldInstantiator: org.jboss.msc.service.StartException in service jboss.deployment.unit."cdi-jsf-portlet.war".component."org.gatein.cdi.contexts.listeners.CDIServletListener".WeldInstantiator: Failed to start service
> You can find full stack trace here - http://pastebin.com/b8WYRrhy
> I am also enclosing one CDI portlet for easy reproduction.
--
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
10 years, 8 months