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

Nicolas Malin commented on OFBIZ-13222:
---------------------------------------

hmmm the patch is linked to this issue  [^OFBIZ-13222.patch] 

> Error viewing entities with fromDate key in entity maintenance
> --------------------------------------------------------------
>
>                 Key: OFBIZ-13222
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13222
>             Project: OFBiz
>          Issue Type: Bug
>          Components: webtools
>    Affects Versions: 24.09.01
>            Reporter: Michael Brohl
>            Assignee: Nicolas Malin
>            Priority: Major
>         Attachments: OFBIZ-13222.patch
>
>
> Viewing entities with a fromDate as a primary seems to be broken.
> I've created a PartyFixedAssetAssignment and clicked "view" in the search 
> results table.
> The generated view link is
> [https://demo-next.ofbiz.apache.org/webtools/control/entity/find/PartyFixedAssetAssignment/DemoCustomer/CUSTOMER/DEMO_VEHICLE_01/2025-04-13%2000:00:00.0]
> This results in a hard error rendered to the screen:
> {code:java}
> HTTP Status 500 – Internal Server ErrorType Exception ReportMessage
>  java.net.URISyntaxException: Illegal character in path at index 104: 
> /webtools/control/entity/find/PartyFixedAssetAssignment/DemoCustomer/CUSTOMER/DEMO_VEHICLE_01/2025-04-13
>  00:00:00.0Description The server encountered an unexpected condition that 
> prevented it from fulfilling the request.Exceptionjava.lang.RuntimeException: 
> java.net.URISyntaxException: Illegal character in path at index 104: 
> /webtools/control/entity/find/PartyFixedAssetAssignment/DemoCustomer/CUSTOMER/DEMO_VEHICLE_01/2025-04-13
>  00:00:00.0
>       
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:202)
>       javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:53)
>       
> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:70)
> Root Causejava.net.URISyntaxException: Illegal character in path at index 
> 104: 
> /webtools/control/entity/find/PartyFixedAssetAssignment/DemoCustomer/CUSTOMER/DEMO_VEHICLE_01/2025-04-13
>  00:00:00.0
>       java.base/java.net.URI$Parser.fail(URI.java:2976)
>       java.base/java.net.URI$Parser.checkChars(URI.java:3147)
>       java.base/java.net.URI$Parser.parseHierarchical(URI.java:3229)
>       java.base/java.net.URI$Parser.parse(URI.java:3188)
>       java.base/java.net.URI.<init>(URI.java:623)
>       
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:198)
>       javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:53)
>       
> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:70)
> Note The full stack trace of the root cause is available in the server logs. 
> {code}
> This does not occur in the 18.12 demo. There, the view link is rendered 
> differently:
> [https://demo-stable.ofbiz.apache.org/webtools/control/ViewGeneric?fromDate=2025-04-13+00%3A00%3A00.0&roleTypeId=CUSTOMER&entityName=PartyFixedAssetAssignment&fixedAssetId=DEMO_VEHICLE_01&partyId=DemoCustomer]
> Why?
> This seems to be a fundamental error and should be adressed.



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

Reply via email to