[jira] [Created] (OFBIZ-12099) Support Freemarker square interpolation syntax

2020-12-20 Thread James Yong (Jira)
James Yong created OFBIZ-12099:
--

 Summary: Support Freemarker square interpolation syntax
 Key: OFBIZ-12099
 URL: https://issues.apache.org/jira/browse/OFBIZ-12099
 Project: OFBiz
  Issue Type: New Feature
  Components: base
Affects Versions: Upcoming Branch
Reporter: James Yong
Assignee: James Yong
 Fix For: Upcoming Branch


Support Freemarker square interpolation syntax [=...] when the freemarker 
template filename ends with '.spi.ftl'. This avoids sharing the same 
interpolation syntax as Javascript's template literal.  
 
Discussion started at 
https://lists.apache.org/thread.html/r485b78638f10f95089e5f1123d73a2d132a3f8c2faea0eb056fa1709%40%3Cdev.ofbiz.apache.org%3E

Reference:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
 
https://freemarker.apache.org/docs/dgui_misc_alternativesyntax.html#dgui_misc_alternativesyntax_interpolation



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (OFBIZ-11942) Check if <> meme needs encoding in some place

2020-12-20 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-11942.
---
  Assignee: Jacques Le Roux
Resolution: Not A Problem

I checked there are no other cases where <> is called in 
MacroTreeRenderer, MacroScreenRenderer and MacroFormRenderer classes

> Check if <> meme needs encoding in some place
> -
>
> Key: OFBIZ-11942
> URL: https://issues.apache.org/jira/browse/OFBIZ-11942
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> This relates with OFBIZ-11871



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-12092) Update build.gradle to the latest dependencies

2020-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12092:
-

Commit a0d8eb86a0760a8e8dd0e14bd674472bdda3190c in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a0d8eb8 ]

Fixed:  Update build.gradle to the latest dependencies (OFBIZ-12092)

Forget about upgrading org.jdom to v2 we need only JDOMException and it works
as is. So this reverts to  org.jdom to v1. We still need the updated entry in
build.gradle

This fixes integration tests with framework only


> Update build.gradle to the latest dependencies
> --
>
> Key: OFBIZ-12092
> URL: https://issues.apache.org/jira/browse/OFBIZ-12092
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> See 
> https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check
>  for libs not upgraded.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-12098.
---
Fix Version/s: 17.12.05
   18.12.01
   Resolution: Fixed

> Make ruleName field in PriceForms.xml#AddPriceRules safe
> 
>
> Key: OFBIZ-12098
> URL: https://issues.apache.org/jira/browse/OFBIZ-12098
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product/catalog
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
>
> I noticed an issue due to entity-auto. Unlike with a standard service you 
> can't protect fields using allow-html="safe" except by overriding fields. So 
> in case this must be done one by one...
> An example is ruleName field in PriceForms.xml#AddPriceRules with 
> createProductPriceRule and updateProductPriceRule services
> See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12098:
-

Commit 8bdf4d447e701fa99b7e4d503a32e4dc321f2eaa in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8bdf4d4 ]

Fixed: Make ruleName field in PriceForms.xml#AddPriceRules safe (OFBIZ-12098)

I noticed an issue due to entity-auto. Unlike with a standard service you can't
protect fields using allow-html="safe" except by overriding fields. So in case
this must be done one by one...

An example is ruleName field in PriceForms.xml#AddPriceRules with
createProductPriceRule and updateProductPriceRule services

This fixes this only case...
Also removes trailing blanks and only that (by IDE setting)


> Make ruleName field in PriceForms.xml#AddPriceRules safe
> 
>
> Key: OFBIZ-12098
> URL: https://issues.apache.org/jira/browse/OFBIZ-12098
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product/catalog
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> I noticed an issue due to entity-auto. Unlike with a standard service you 
> can't protect fields using allow-html="safe" except by overriding fields. So 
> in case this must be done one by one...
> An example is ruleName field in PriceForms.xml#AddPriceRules with 
> createProductPriceRule and updateProductPriceRule services
> See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12098:
-

Commit 4e400fb47a0ddaf271cc8c97a05ad77fbf7e0c34 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4e400fb ]

Fixed: Make ruleName field in PriceForms.xml#AddPriceRules safe (OFBIZ-12098)

I noticed an issue due to entity-auto. Unlike with a standard service you can't
protect fields using allow-html="safe" except by overriding fields. So in case
this must be done one by one...

An example is ruleName field in PriceForms.xml#AddPriceRules with
createProductPriceRule and updateProductPriceRule services

This fixes this only case...
Also removes trailing blanks and only that (by IDE setting)


> Make ruleName field in PriceForms.xml#AddPriceRules safe
> 
>
> Key: OFBIZ-12098
> URL: https://issues.apache.org/jira/browse/OFBIZ-12098
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product/catalog
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> I noticed an issue due to entity-auto. Unlike with a standard service you 
> can't protect fields using allow-html="safe" except by overriding fields. So 
> in case this must be done one by one...
> An example is ruleName field in PriceForms.xml#AddPriceRules with 
> createProductPriceRule and updateProductPriceRule services
> See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12098:
-

Commit 3982f8d526d2cee9bd4bf4093e806c5af1bd880a in ofbiz-framework's branch 
refs/heads/release17.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=3982f8d ]

Fixed: Make ruleName field in PriceForms.xml#AddPriceRules safe (OFBIZ-12098)

I noticed an issue due to entity-auto. Unlike with a standard service you can't
protect fields using allow-html="safe" except by overriding fields. So in case
this must be done one by one...

An example is ruleName field in PriceForms.xml#AddPriceRules with
createProductPriceRule and updateProductPriceRule services

This fixes this only case...
Also removes trailing blanks and only that (by IDE setting)

Conflicts handled by hand
applications/product/servicedef/services_pricepromo.xml


> Make ruleName field in PriceForms.xml#AddPriceRules safe
> 
>
> Key: OFBIZ-12098
> URL: https://issues.apache.org/jira/browse/OFBIZ-12098
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product/catalog
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> I noticed an issue due to entity-auto. Unlike with a standard service you 
> can't protect fields using allow-html="safe" except by overriding fields. So 
> in case this must be done one by one...
> An example is ruleName field in PriceForms.xml#AddPriceRules with 
> createProductPriceRule and updateProductPriceRule services
> See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12098:
-

Commit 72d3dd18ac47c381eee7c368febd25f3b6c1c101 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=72d3dd1 ]

Fixed: Make ruleName field in PriceForms.xml#AddPriceRules safe (OFBIZ-12098)

I noticed an issue due to entity-auto. Unlike with a standard service you can't
protect fields using allow-html="safe" except by overriding fields. So in case
this must be done one by one...

An example is ruleName field in PriceForms.xml#AddPriceRules with
createProductPriceRule and updateProductPriceRule services

This fixes this only case...
Also removes trailing blanks and only that (by IDE setting)


> Make ruleName field in PriceForms.xml#AddPriceRules safe
> 
>
> Key: OFBIZ-12098
> URL: https://issues.apache.org/jira/browse/OFBIZ-12098
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product/catalog
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Major
>
> I noticed an issue due to entity-auto. Unlike with a standard service you 
> can't protect fields using allow-html="safe" except by overriding fields. So 
> in case this must be done one by one...
> An example is ruleName field in PriceForms.xml#AddPriceRules with 
> createProductPriceRule and updateProductPriceRule services
> See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OFBIZ-12098) Make ruleName field in PriceForms.xml#AddPriceRules safe

2020-12-20 Thread Jacques Le Roux (Jira)
Jacques Le Roux created OFBIZ-12098:
---

 Summary: Make ruleName field in PriceForms.xml#AddPriceRules safe
 Key: OFBIZ-12098
 URL: https://issues.apache.org/jira/browse/OFBIZ-12098
 Project: OFBiz
  Issue Type: Sub-task
  Components: product/catalog
Affects Versions: Trunk
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux


I noticed an issue due to entity-auto. Unlike with a standard service you can't 
protect fields using allow-html="safe" except by overriding fields. So in case 
this must be done one by one...

An example is ruleName field in PriceForms.xml#AddPriceRules with 
createProductPriceRule and updateProductPriceRule services

See https://markmail.org/message/osdv2bfpyjuu4tol



--
This message was sent by Atlassian Jira
(v8.3.4#803005)