You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/04/25 09:24:00 UTC

[jira] [Commented] (OFBIZ-10877) java.lang.RuntimeException: Could not find PortalPage with portalPageId []

    [ https://issues.apache.org/jira/browse/OFBIZ-10877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17840722#comment-17840722 ] 

Jacques Le Roux commented on OFBIZ-10877:
-----------------------------------------

Hi [~pierresmits] ,

I was wondering for a moment about <<Could not find PortalPage with portalPageId []>> and if it was due to the recent WIP generalised use of PortalPage. I'm now sure it's not.

1st it also exists in stable demo as shows this picked today:
{noformat}
2024-04-25 04:02:38,724 |-0.0.0.0-8009-exec-6 |ControlServlet                |E| Error in request handler: 
java.lang.RuntimeException: Could not find PortalPage with portalPageId [] 
    at org.apache.ofbiz.widget.model.ModelScreenWidget$PortalPage.getPortalPageValue(ModelScreenWidget.java:1902) ~[ofbiz.jar:?]{noformat}
Unable to connect to the editor. [Need help?|https://ghosttext.fregante.com/troubleshooting/#unable-to-connect]
Unable to connect to the editor. [Need help?|https://ghosttext.fregante.com/troubleshooting/#unable-to-connect]

And of course was pre-existing as shows the current Jira. 

I tried to find a link with requests in access_log..2024-04-25, to no avail. It's hard, if not impossible to reproduce manually, apart the case here. I guess it's due to spider bots, a lot are connecting to demos, that try something w/o access permission. Weird though that I did not find any relation in access_log..2024-04-25.

> java.lang.RuntimeException: Could not find PortalPage with portalPageId [] 
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-10877
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10877
>             Project: OFBiz
>          Issue Type: Bug
>          Components: myportal
>    Affects Versions: 17.12.01
>            Reporter: Wolfgang Rauchholz
>            Assignee: Akash Jain
>            Priority: Minor
>
> I get above mentioned error message when trying to access myportal.
> I checked in ENTITY ENGINE TOOLS. All portalPageId have a value.
> Interesting enough, when going to my portal, I don't see any of these in 'Preferences' or Portal Page Admin.'. Do I have an issue with the security model?
> My username is not 'admin', but one chosen when running
> ./gradlew "ofbiz --load-data readers=seed,seed-initial" loadAdminUserLogin -PuserLoginId=<user_name>.
>  
> | |portalPageId|portalPageName|description|ownerUserLoginId|originalPortalPageId|parentPortalPageId|sequenceNum|securityGroupId|lastUpdatedStamp|lastUpdatedTxStamp|createdStamp|createdTxStamp|helpContentId|
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=ApPortalPage] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=ApPortalPage&UPDATE_MODE=DELETE]|ApPortalPage|Main|Portal page for Past Due Invoices and Invoices Due Soon in AP|_NA_| | |0| |2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=ArPortalPage] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=ArPortalPage&UPDATE_MODE=DELETE]|ArPortalPage|Main|Portal page for Past Due Invoices and Invoices Due Soon in AR|_NA_| | |0| |2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=EXAMPLE] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=EXAMPLE&UPDATE_MODE=DELETE]|EXAMPLE|Example Portal Page|The default example OFBiz portal page|_NA_| | |0| |2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=EXAMPLE1] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=EXAMPLE1&UPDATE_MODE=DELETE]|EXAMPLE1|Example Portal Page 1|Portal page 1|_NA_| |EXAMPLE|100| |2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=EXAMPLE2] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=EXAMPLE2&UPDATE_MODE=DELETE]|EXAMPLE2|Example Portal Page 2|Portal page 2|_NA_| |EXAMPLE|200| |2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=FinAccountPortalPage] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=FinAccountPortalPage&UPDATE_MODE=DELETE]|FinAccountPortalPage|Fin account portal page|Fin account main screen using flexible portal technology|_NA_| | |0| |2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=OrderPortalPage] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=OrderPortalPage&UPDATE_MODE=DELETE]|OrderPortalPage|Order Portal Page|Order main page using flexible Portal technology|_NA_| | |0| |2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=OrderReportPage] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=OrderReportPage&UPDATE_MODE=DELETE]|OrderReportPage|Order Purchase Report Portal Page|Order purchase Report page using flexible Portal technology|_NA_| | |0| |2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0|2019-03-09 12:20:16.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=PartyProfile] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=PartyProfile&UPDATE_MODE=DELETE]|PartyProfile|Parties|Party profile page using flexible Portal technology|_NA_| | |0| |2019-03-09 12:20:11.0|2019-03-09 12:20:10.0|2019-03-09 12:20:11.0|2019-03-09 12:20:10.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=ProductStoreFacility] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=ProductStoreFacility&UPDATE_MODE=DELETE]|ProductStoreFacility|ProductStore Facility Management|The page to manage productStoreFacility data|_NA_| | |100| |2019-03-09 12:20:13.0|2019-03-09 12:20:13.0|2019-03-09 12:20:13.0|2019-03-09 12:20:13.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=SFA_MAIN] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=SFA_MAIN&UPDATE_MODE=DELETE]|SFA_MAIN|Main|The SFA main page|_NA_| | |0| |2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0|2019-03-09 12:20:17.0| |
> |[View|https://10.5.2.1:8443/webtools/control/ViewGeneric?entityName=PortalPage&portalPageId=_NA_] [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage&portalPageId=_NA_&UPDATE_MODE=DELETE]|_NA_|For using genericPortletScreen|To be able to have parameters at the portlet level, not PortletPage level|_NA_| | |0| |2019-03-09 12:20:10.0|2019-03-09 12:20:10.0|2019-03-09 12:20:10.0|2019-03-09 12:20:10.0| |
> !https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif!
> Unable to connect to the editor. [Need help?|https://ghosttext.fregante.com/troubleshooting/#unable-to-connect]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)