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

2024-04-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-10877:
-

At least it's not a permission issue, you can't connect without.

> 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=.
>  
> | 
> |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=ApPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=ApPortalPage_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=ArPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=ArPortalPage_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=EXAMPLE]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE_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=EXAMPLE1]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE1_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=EXAMPLE2]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE2_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=FinAccountPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=FinAccountPortalPage_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=OrderPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=OrderPortalPage_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=OrderReportPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=OrderReportPage_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=PartyProfile]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=PartyProfile_MODE=DELETE]|PartyProfile|Parties|Party
>  profile page using flexible Portal technology|_NA_| | |0| 

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

2024-04-25 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-10877:
-

Hi [~pierresmits] ,

I was wondering for a moment about <> 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=.
>  
> | 
> |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=ApPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=ApPortalPage_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=ArPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=ArPortalPage_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=EXAMPLE]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE_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=EXAMPLE1]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE1_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=EXAMPLE2]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=EXAMPLE2_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=FinAccountPortalPage]
>  
> [Delete|https://10.5.2.1:8443/webtools/control/UpdateGeneric?entityName=PortalPage=FinAccountPortalPage_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| |
>