You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Olivier Heintz (JIRA)" <ji...@apache.org> on 2012/11/22 12:01:00 UTC
[jira] [Commented] (OFBIZ-5073) My Portal Preferences error
[ https://issues.apache.org/jira/browse/OFBIZ-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502718#comment-13502718 ]
Olivier Heintz commented on OFBIZ-5073:
---------------------------------------
After reading commit Trunk @Rev1392766 about OFBIZ-2628, I do not saw a relation with portal.
So I have make correction at the screen / form level
before in Form
{code}
<field name="portalPageId" title="${uiLabelMap.CommonEdit}">
<hyperlink description="${uiLabelMap.CommonEdit}" target="ManagePortalPages">
<parameter param-name="portalPageId"/>
<parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/>
</hyperlink>
</field>
{code}
and I have as result in the web browser
the error message and in source
{code}
<input name="parentPortalPageId" value=" <html> <head> <title>Open For Business Message</title> <meta http-equiv="
{code}
After, I have added in action part of screen
{code}
<set field="parentPortalPageId" from-field="parameters.parentPortalPageId"/>
{code}
and in Form, i have changed
{code}
<field name="portalPageId" title="${uiLabelMap.CommonEdit}">
<hyperlink description="${uiLabelMap.CommonEdit}" target="ManagePortalPages">
<parameter param-name="portalPageId"/>
<parameter param-name="parentPortalPageId"/>
</hyperlink>
</field>
{code}
And now, all is fine.
I not understand why the initial solution not works (but I not understand the content of @Rev1392766 commit, it's too technic for me ).
Hoping that it helps to find the proper correction.
> My Portal Preferences error
> ---------------------------
>
> Key: OFBIZ-5073
> URL: https://issues.apache.org/jira/browse/OFBIZ-5073
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Environment: demo site https://demo-stable.ofbiz.apache.org/myportal
> Reporter: Naofumi Fukue
>
> Select My Portal > Preferences, displays bellow error.
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.NullPointerException (null)
> Reverting org/ofbiz/widget/WidgetWorker.java previous latest OFBIZ-2628 bug fix, then the problem recovered.
--
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