[JBoss JIRA] (GTNPORTAL-2767) Error Messages when using forward
by Gregory SEBERT (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2767?page=com.atlassian.jira.pl... ]
Gregory SEBERT updated GTNPORTAL-2767:
--------------------------------------
Attachment: porlets_src.zip
Portlet source
> Error Messages when using forward
> ---------------------------------
>
> Key: GTNPORTAL-2767
> URL: https://issues.jboss.org/browse/GTNPORTAL-2767
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Common integration
> Affects Versions: 3.5.0.Beta02
> Environment: Gate In 3.5.0 Beta02 on top of EAP6
> Reporter: Frederic Hornain
> Attachments: demoportlet.war, error.log, porlets_src.zip
>
>
> Indeed, the customer portal team has an issue regarding the navigation in portal.
> They are currently trying navigation.
> They would to go to another page by using a forward:
> private void executeNavigation(String nodeURL) {
> PortalRequestContext requestContext = null;
> ServletRequest request = null;
> ServletResponse response = null;
> String requestContextPath = null;
> String trimmedNodeURL = null;
> RequestDispatcher dispatcher = null;
> requestContext = Util.getPortalRequestContext();
> request = requestContext.getRequest();
> response = requestContext.getResponse();
> requestContextPath = requestContext.getPortalContextPath();
> // Remove the portal context path from the nodeURL
> // e.g. if nodeURL = "/portal/hello", and portal context path = "/portal" then trimmedNodeURL = "/hello"
> trimmedNodeURL = nodeURL.substring(requestContextPath != null ? requestContextPath.length() : 0);
> dispatcher = request.getRequestDispatcher(trimmedNodeURL);
> try {
> dispatcher.forward(request, response);
> } catch (Exception e) {
> // TODO
> }
> }
> It works and they are well redirected to the corresponding page.
> However, customer receive an error (see attached log file).
> Then would it be possible to fix this issue ?
--
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, 11 months
[JBoss JIRA] (GTNPORTAL-2820) Unable to clone page (PageService) in a different destination
by Boleslaw Dawidowicz (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2820?page=com.atlassian.jira.pl... ]
Boleslaw Dawidowicz resolved GTNPORTAL-2820.
--------------------------------------------
Resolution: Done
> Unable to clone page (PageService) in a different destination
> -------------------------------------------------------------
>
> Key: GTNPORTAL-2820
> URL: https://issues.jboss.org/browse/GTNPORTAL-2820
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java API
> Affects Versions: 3.5.0.Final
> Environment: Gatein 3.5.2 Final
> Reporter: Gregory SEBERT
> Assignee: Boleslaw Dawidowicz
> Fix For: 3.6.0.Final
>
>
> In the PageManagement service, when I clone a page to a different destination, I received an exception :
> "Could not clone page " + dst.name + "to existing page " + dst.site.getType() + " with id " + dst.site.getName());
> I have a look at the implementation, I find a typo mistake on line 273:
> org.gatein.mop.api.workspace.Page dstRoot = srcSite.getRootPage();
> It should be :
> org.gatein.mop.api.workspace.Page dstRoot = dstSite.getRootPage();
> Best regards,
> Grégory
--
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, 11 months
[JBoss JIRA] (GTNWCM-6) Mavenize **/*.sh scripts
by Peter Palaga (JIRA)
Peter Palaga created GTNWCM-6:
---------------------------------
Summary: Mavenize **/*.sh scripts
Key: GTNWCM-6
URL: https://issues.jboss.org/browse/GTNWCM-6
Project: GateIn WCM
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Peter Palaga
Assignee: Peter Palaga
There is a couple of them and they do things which can be done easily with maven.
gatein-wcm/gatein-wcm-api/setup-module.sh
gatein-wcm/gatein-wcm-impl-sec/setup-module.sh
gatein-wcm/gatein-wcm-impl/setup-module.sh
gatein-wcm/setup.sh
gatein-wcm/test-resources.sh
gatein-wcm/test.sh
--
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, 12 months
[JBoss JIRA] (GTNPORTAL-2820) Unable to clone page (PageService) in a different destination
by Boleslaw Dawidowicz (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2820?page=com.atlassian.jira.pl... ]
Boleslaw Dawidowicz reassigned GTNPORTAL-2820:
----------------------------------------------
Assignee: Boleslaw Dawidowicz
> Unable to clone page (PageService) in a different destination
> -------------------------------------------------------------
>
> Key: GTNPORTAL-2820
> URL: https://issues.jboss.org/browse/GTNPORTAL-2820
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java API
> Affects Versions: 3.5.0.Final
> Environment: Gatein 3.5.2 Final
> Reporter: Gregory SEBERT
> Assignee: Boleslaw Dawidowicz
> Fix For: 3.6.0.Final
>
>
> In the PageManagement service, when I clone a page to a different destination, I received an exception :
> "Could not clone page " + dst.name + "to existing page " + dst.site.getType() + " with id " + dst.site.getName());
> I have a look at the implementation, I find a typo mistake on line 273:
> org.gatein.mop.api.workspace.Page dstRoot = srcSite.getRootPage();
> It should be :
> org.gatein.mop.api.workspace.Page dstRoot = dstSite.getRootPage();
> Best regards,
> Grégory
--
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, 12 months