[jira] [Closed] (OFBIZ-9202) Encoding links for nodes in trees does not work

2022-10-12 Thread Jacques Le Roux (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-9202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-9202.
--
  Assignee: Jacques Le Roux
Resolution: Works for Me

I finally prefer KISS here

> Encoding links for nodes in trees does not work
> ---
>
> Key: OFBIZ-9202
> URL: https://issues.apache.org/jira/browse/OFBIZ-9202
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk, Upcoming Branch
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
>
> As explained in OFBIZ-9191 using encode="true" for links in 
> AccountingTrees.xml should work. 
> The encode attribute is false by default and setting it to true has no effect.



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


[jira] [Comment Edited] (OFBIZ-9191) Navigate Accounts tree does not work

2022-10-12 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-9191 at 10/12/22 12:33 PM:
---

Thanks Moatasim,

There is indeed an issue which can be reproduced on the official demo
stable (R16) 
https://ofbiz-vm2.apache.org:18443/accounting/control/GlAccountNavigate?trail=null|10
trunk 
https://ofbiz-vm2.apache.org:8443/accounting/control/GlAccountNavigate?trail=null|10
But works in old  (R13) 
https://ofbiz-vm2.apache.org:28443/accounting/control/GlAccountNavigate?trail=null%7C10

Then note that it works also in both stable and trunk when encoding | with %7C
trunk 
https://ofbiz-vm2.apache.org:8443/accounting/control/GlAccountNavigate?trail=null%7C10
stable (R16) 
https://ofbiz-vm2.apache.org:18443/accounting/control/GlAccountNavigate?trail=null%7C10

So it's an encoding issue...


was (Author: jacques.le.roux):
Thanks Moatasim,

There is indeed an issue which can be reproduced on the official demo
stable (R16) 
https://ofbiz-vm2.apache.org:18443/accounting/control/GlAccountNavigate?trail=null|10
trunk 
https://ofbiz-vm2.apache.org:8443/accounting/control/GlAccountNavigate?trail=null|10
But works in old  (R13) 
https://ofbiz-vm2.apache.org:28443/accounting/control/GlAccountNavigate?trail=null%7C10

Then note that it works also in both stable and trunk when encoding | with %7C1
trunk 
https://ofbiz-vm2.apache.org:8443/accounting/control/GlAccountNavigate?trail=null%7C10
stable (R16) 
https://ofbiz-vm2.apache.org:18443/accounting/control/GlAccountNavigate?trail=null%7C10

So it's an encoding issue...

> Navigate Accounts tree does not work
> 
>
> Key: OFBIZ-9191
> URL: https://issues.apache.org/jira/browse/OFBIZ-9191
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 16.11
> Environment: windows 10
>Reporter: Moatasim Al Masri
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 16.11.02, 17.12.01
>
>
> go to 
> Accounting --> Global GL Setting --> Navigate Accounts
> when I try to open tree, gave me in URL 
> https://localhost:8443/accounting/control/GlAccountNavigate?glAccountId=10=null|10
> and gave me white page !!? it should expand the tree !
> NOTE: OFBiz ver. 16.11.01 and database Oracle 12c



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


[jira] [Commented] (OFBIZ-6747) Replace ConcurrentLinkedHashMap by Caffeine

2022-10-12 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-6747:


Indeed, just tried: 2 errors to fix, does not seem hard... later...

> Replace ConcurrentLinkedHashMap by Caffeine
> ---
>
> Key: OFBIZ-6747
> URL: https://issues.apache.org/jira/browse/OFBIZ-6747
> Project: OFBiz
>  Issue Type: Task
>  Components: ALL COMPONENTS
>Reporter: Ben Manes
>Assignee: Jacques Le Roux
>Priority: Minor
>
> Similar to OFBIZ-3779, please consider upgrading the library used by 
> [UtilCache|https://github.com/apache/ofbiz/blob/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java]
>  (v1.2). The current version is 1.4.2 and is the last major release planned.
> The preferable alternative would be to upgrade to 
> [Caffeine|https://github.com/ben-manes/caffeine]. This is a Java 8 rewrite 
> based on what I've learned since developing CLHM and Guava's cache. As 
> expected it provides [superior 
> performance|https://github.com/ben-manes/caffeine/wiki/Benchmarks]. It also 
> provides a [near 
> optimal|https://github.com/ben-manes/caffeine/wiki/Efficiency] eviction 
> policy.



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