[jira] [Updated] (OFBIZ-11153) Add the component name in " Request Begun/Done" lines in log

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux updated OFBIZ-11153:

Attachment: OFBIZ-11153.patch

> Add the component name in " Request Begun/Done" lines in log
> 
>
> Key: OFBIZ-11153
> URL: https://issues.apache.org/jira/browse/OFBIZ-11153
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-11153.patch
>
>
> It's sometimes useful to know from which component a request has been sent, 
> eg to differentiate main requests, but not only.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-11153) Add the component name in " Request Begun/Done" lines in log

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-11153:
-

If nobody is against I'll commit this patch  [^OFBIZ-11153.patch] in a week

> Add the component name in " Request Begun/Done" lines in log
> 
>
> Key: OFBIZ-11153
> URL: https://issues.apache.org/jira/browse/OFBIZ-11153
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-11153.patch
>
>
> It's sometimes useful to know from which component a request has been sent, 
> eg to differentiate main requests, but not only.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Assigned] (OFBIZ-11153) Add the component name in " Request Begun/Done" lines in log

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux reassigned OFBIZ-11153:
---

Assignee: Jacques Le Roux

> Add the component name in " Request Begun/Done" lines in log
> 
>
> Key: OFBIZ-11153
> URL: https://issues.apache.org/jira/browse/OFBIZ-11153
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Attachments: OFBIZ-11153.patch
>
>
> It's sometimes useful to know from which component a request has been sent, 
> eg to differentiate main requests, but not only.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (OFBIZ-11153) Add the component name in " Request Begun/Done" lines in log

2019-08-12 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-11153:
---

 Summary: Add the component name in " Request Begun/Done" lines in 
log
 Key: OFBIZ-11153
 URL: https://issues.apache.org/jira/browse/OFBIZ-11153
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Jacques Le Roux


It's sometimes useful to know from which component a request has been sent, eg 
to differentiate main requests, but not only.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (OFBIZ-11152) Unknown request [*****]; this request does not exist or cannot be called directly.

2019-08-12 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-11152:
---

 Summary: Unknown request [*]; this request does not exist or 
cannot be called directly.
 Key: OFBIZ-11152
 URL: https://issues.apache.org/jira/browse/OFBIZ-11152
 Project: OFBiz
  Issue Type: Bug
  Components: example
Reporter: Jacques Le Roux


This issue can be easily reproduced by going to 
example/control/FormWidgetExamples

Other backend components are less concerned but it happens sometimes in them 
too.

It's quite hard to understand what's happening.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Comment Edited] (OFBIZ-11151) Update build.gradle to the latest dependencies

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux edited comment on OFBIZ-11151 at 8/12/19 7:47 PM:
--

For the same or similar reasons than in OFBIZ-10922 I did not update few libs 
(see which ones above and refer to OFBIZ-10922 for explanations)

Notes:
 * For license reason com.lowagie:itext should never be updated.
 * Solr and Lucene have been upgraded and tested, Guava remains the same.
 * AsciiDOctor remains the same

Committed in revisions: 1864973+1864980  

It was not as easy as it might be seen ;)


was (Author: jacques.le.roux):
For the same or similar reasons than in OFBIZ-10922 I did not update few libs 
(see which ones above and refer to OFBIZ-10922 for explanations)

Notes:
* For license reason com.lowagie:itext should never be updated.
* Solr and Lucene have been upgraded and tested, Guava remains the same.
* AsciiDOctor remains the same

Committed revision: 1864973.

It was not as easy as it might be seen ;)


> Update build.gradle to the latest dependencies
> --
>
> Key: OFBIZ-11151
> URL: https://issues.apache.org/jira/browse/OFBIZ-11151
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: Upcoming Branch
>
>
> Here is the dependencyUpdates report.txt content:
> {noformat}
> 
> : Project Dependency Updates (report to plain text file)
> 
> The following dependencies are using the latest release version:
>  - apache-xerces:xercesImpl:2.9.1
>  - at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1
>  - 
> com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.22.0
>  - com.google.guava:guava:20.0
>  - com.google.zxing:core:3.4.0
>  - com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2
>  - com.googlecode.ez-vcard:ez-vcard:0.9.10
>  - com.googlecode.libphonenumber:libphonenumber:8.10.16
>  - com.ibm.icu:icu4j:64.2
>  - com.sun.mail:javax.mail:1.6.2
>  - com.thoughtworks.xstream:xstream:1.4.11.1
>  - commons-cli:commons-cli:1.4
>  - commons-fileupload:commons-fileupload:1.4
>  - commons-net:commons-net:3.6
>  - commons-validator:commons-validator:1.6
>  - de.odysseus.juel:juel-impl:2.2.7
>  - de.odysseus.juel:juel-spi:2.2.7
>  - io.jsonwebtoken:jjwt:0.9.1
>  - javax.el:javax.el-api:3.0.1-b06
>  - javax.servlet:javax.servlet-api:4.0.1
>  - javax.servlet.jsp:javax.servlet.jsp-api:2.3.3
>  - javax.xml.soap:javax.xml.soap-api:1.4.0
>  - net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
>  - net.sf.barcode4j:barcode4j:2.1
>  - net.sf.barcode4j:barcode4j-fop-ext:2.1
>  - org.apache.ant:ant-junit:1.10.6
>  - org.apache.axis2:axis2-kernel:1.7.9
>  - org.apache.axis2:axis2-transport-http:1.7.9
>  - org.apache.axis2:axis2-transport-local:1.7.9
>  - org.apache.commons:commons-collections4:4.4
>  - org.apache.commons:commons-csv:1.7
>  - org.apache.commons:commons-dbcp2:2.7.0
>  - org.apache.commons:commons-text:1.7
>  - org.apache.geronimo.components:geronimo-transaction:3.1.4
>  - org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1
>  - org.apache.httpcomponents:httpclient-cache:4.5.9
>  - org.apache.logging.log4j:log4j-1.2-api:2.12.1
>  - org.apache.logging.log4j:log4j-api:2.12.1
>  - org.apache.logging.log4j:log4j-core:2.12.1
>  - org.apache.logging.log4j:log4j-jul:2.12.1
>  - org.apache.logging.log4j:log4j-slf4j-impl:2.12.1
>  - org.apache.lucene:lucene-analyzers-common:8.2.0
>  - org.apache.lucene:lucene-core:8.2.0
>  - org.apache.lucene:lucene-queryparser:8.2.0
>  - org.apache.poi:poi:4.1.0
>  - org.apache.poi:poi-excelant:4.1.0
>  - org.apache.poi:poi-ooxml:4.1.0
>  - org.apache.poi:poi-ooxml-schemas:4.1.0
>  - org.apache.poi:poi-scratchpad:4.1.0
>  - org.apache.shiro:shiro-core:1.4.1
>  - org.apache.solr:solr-core:8.2.0
>  - org.apache.tika:tika-core:1.22
>  - org.apache.tika:tika-parsers:1.22
>  - org.apache.tomcat:tomcat-catalina:9.0.22
>  - org.apache.tomcat:tomcat-catalina-ha:9.0.22
>  - org.apache.tomcat:tomcat-jasper:9.0.22
>  - org.apache.tomcat:tomcat-tribes:9.0.22
>  - org.apache.tomcat.embed:tomcat-embed-websocket:9.0.22
>  - org.apache.xmlgraphics:fop:2.3
>  - org.apache.xmlrpc:xmlrpc-client:3.1.3
>  - org.apache.xmlrpc:xmlrpc-server:3.1.3
>  - org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380
>  - org.eclipse.birt.runtime:viewservlets:4.5.0
>  - org.freemarker:freemarker:2.3.28
>  - org.hamcrest:hamcrest:2.1
>  - org.hamcrest:hamcrest-library:2.1
>  - org.jruby:jruby-complete:9.2.7.0
>  - org.jsoup:jsoup:1.12.1
>  - org.mockito:mockito-core:3.0.0
>  - 

[jira] [Commented] (OFBIZ-10966) JSON entity data import and export utility

2019-08-12 Thread Jayansh Shinde (JIRA)


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

Jayansh Shinde commented on OFBIZ-10966:


Yes no problem. Go ahead and revert...




> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10966.patch, OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


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

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-11151:
-

For the same or similar reasons than in OFBIZ-10922 I did not update few libs 
(see which ones above and refer to OFBIZ-10922 for explanations)

Notes:
* For license reason com.lowagie:itext should never be updated.
* Solr and Lucene have been upgraded and tested, Guava remains the same.
* AsciiDOctor remains the same

Committed revision: 1864973.

It was not as easy as it might be seen ;)


> Update build.gradle to the latest dependencies
> --
>
> Key: OFBIZ-11151
> URL: https://issues.apache.org/jira/browse/OFBIZ-11151
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Trivial
>
> Here is the dependencyUpdates report.txt content:
> {noformat}
> 
> : Project Dependency Updates (report to plain text file)
> 
> The following dependencies are using the latest release version:
>  - apache-xerces:xercesImpl:2.9.1
>  - at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1
>  - 
> com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.22.0
>  - com.google.guava:guava:20.0
>  - com.google.zxing:core:3.4.0
>  - com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2
>  - com.googlecode.ez-vcard:ez-vcard:0.9.10
>  - com.googlecode.libphonenumber:libphonenumber:8.10.16
>  - com.ibm.icu:icu4j:64.2
>  - com.sun.mail:javax.mail:1.6.2
>  - com.thoughtworks.xstream:xstream:1.4.11.1
>  - commons-cli:commons-cli:1.4
>  - commons-fileupload:commons-fileupload:1.4
>  - commons-net:commons-net:3.6
>  - commons-validator:commons-validator:1.6
>  - de.odysseus.juel:juel-impl:2.2.7
>  - de.odysseus.juel:juel-spi:2.2.7
>  - io.jsonwebtoken:jjwt:0.9.1
>  - javax.el:javax.el-api:3.0.1-b06
>  - javax.servlet:javax.servlet-api:4.0.1
>  - javax.servlet.jsp:javax.servlet.jsp-api:2.3.3
>  - javax.xml.soap:javax.xml.soap-api:1.4.0
>  - net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
>  - net.sf.barcode4j:barcode4j:2.1
>  - net.sf.barcode4j:barcode4j-fop-ext:2.1
>  - org.apache.ant:ant-junit:1.10.6
>  - org.apache.axis2:axis2-kernel:1.7.9
>  - org.apache.axis2:axis2-transport-http:1.7.9
>  - org.apache.axis2:axis2-transport-local:1.7.9
>  - org.apache.commons:commons-collections4:4.4
>  - org.apache.commons:commons-csv:1.7
>  - org.apache.commons:commons-dbcp2:2.7.0
>  - org.apache.commons:commons-text:1.7
>  - org.apache.geronimo.components:geronimo-transaction:3.1.4
>  - org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1
>  - org.apache.httpcomponents:httpclient-cache:4.5.9
>  - org.apache.logging.log4j:log4j-1.2-api:2.12.1
>  - org.apache.logging.log4j:log4j-api:2.12.1
>  - org.apache.logging.log4j:log4j-core:2.12.1
>  - org.apache.logging.log4j:log4j-jul:2.12.1
>  - org.apache.logging.log4j:log4j-slf4j-impl:2.12.1
>  - org.apache.lucene:lucene-analyzers-common:8.2.0
>  - org.apache.lucene:lucene-core:8.2.0
>  - org.apache.lucene:lucene-queryparser:8.2.0
>  - org.apache.poi:poi:4.1.0
>  - org.apache.poi:poi-excelant:4.1.0
>  - org.apache.poi:poi-ooxml:4.1.0
>  - org.apache.poi:poi-ooxml-schemas:4.1.0
>  - org.apache.poi:poi-scratchpad:4.1.0
>  - org.apache.shiro:shiro-core:1.4.1
>  - org.apache.solr:solr-core:8.2.0
>  - org.apache.tika:tika-core:1.22
>  - org.apache.tika:tika-parsers:1.22
>  - org.apache.tomcat:tomcat-catalina:9.0.22
>  - org.apache.tomcat:tomcat-catalina-ha:9.0.22
>  - org.apache.tomcat:tomcat-jasper:9.0.22
>  - org.apache.tomcat:tomcat-tribes:9.0.22
>  - org.apache.tomcat.embed:tomcat-embed-websocket:9.0.22
>  - org.apache.xmlgraphics:fop:2.3
>  - org.apache.xmlrpc:xmlrpc-client:3.1.3
>  - org.apache.xmlrpc:xmlrpc-server:3.1.3
>  - org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380
>  - org.eclipse.birt.runtime:viewservlets:4.5.0
>  - org.freemarker:freemarker:2.3.28
>  - org.hamcrest:hamcrest:2.1
>  - org.hamcrest:hamcrest-library:2.1
>  - org.jruby:jruby-complete:9.2.7.0
>  - org.jsoup:jsoup:1.12.1
>  - org.mockito:mockito-core:3.0.0
>  - org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:5.2.1
>  - org.owasp.esapi:esapi:2.2.0.0
>  - org.safehaus.jug:jug:2.0.0
>  - org.springframework:spring-test:5.1.9.RELEASE
>  - org.zapodot:jackson-databind-java-optional:2.6.1
>  - oro:oro:2.0.8
>  - 
> se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.12
>  - wsdl4j:wsdl4j:1.6.3
> The following dependencies exceed the version found at the release revision 
> level:
>  - com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 
> [20180219.1 <- 1.1]
>  

[jira] [Closed] (OFBIZ-11151) Update build.gradle to the latest dependencies

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux closed OFBIZ-11151.
---
   Resolution: Fixed
 Assignee: Jacques Le Roux
Fix Version/s: Upcoming Branch

> Update build.gradle to the latest dependencies
> --
>
> Key: OFBIZ-11151
> URL: https://issues.apache.org/jira/browse/OFBIZ-11151
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: Gradle
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Trivial
> Fix For: Upcoming Branch
>
>
> Here is the dependencyUpdates report.txt content:
> {noformat}
> 
> : Project Dependency Updates (report to plain text file)
> 
> The following dependencies are using the latest release version:
>  - apache-xerces:xercesImpl:2.9.1
>  - at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1
>  - 
> com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.22.0
>  - com.google.guava:guava:20.0
>  - com.google.zxing:core:3.4.0
>  - com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2
>  - com.googlecode.ez-vcard:ez-vcard:0.9.10
>  - com.googlecode.libphonenumber:libphonenumber:8.10.16
>  - com.ibm.icu:icu4j:64.2
>  - com.sun.mail:javax.mail:1.6.2
>  - com.thoughtworks.xstream:xstream:1.4.11.1
>  - commons-cli:commons-cli:1.4
>  - commons-fileupload:commons-fileupload:1.4
>  - commons-net:commons-net:3.6
>  - commons-validator:commons-validator:1.6
>  - de.odysseus.juel:juel-impl:2.2.7
>  - de.odysseus.juel:juel-spi:2.2.7
>  - io.jsonwebtoken:jjwt:0.9.1
>  - javax.el:javax.el-api:3.0.1-b06
>  - javax.servlet:javax.servlet-api:4.0.1
>  - javax.servlet.jsp:javax.servlet.jsp-api:2.3.3
>  - javax.xml.soap:javax.xml.soap-api:1.4.0
>  - net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
>  - net.sf.barcode4j:barcode4j:2.1
>  - net.sf.barcode4j:barcode4j-fop-ext:2.1
>  - org.apache.ant:ant-junit:1.10.6
>  - org.apache.axis2:axis2-kernel:1.7.9
>  - org.apache.axis2:axis2-transport-http:1.7.9
>  - org.apache.axis2:axis2-transport-local:1.7.9
>  - org.apache.commons:commons-collections4:4.4
>  - org.apache.commons:commons-csv:1.7
>  - org.apache.commons:commons-dbcp2:2.7.0
>  - org.apache.commons:commons-text:1.7
>  - org.apache.geronimo.components:geronimo-transaction:3.1.4
>  - org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1
>  - org.apache.httpcomponents:httpclient-cache:4.5.9
>  - org.apache.logging.log4j:log4j-1.2-api:2.12.1
>  - org.apache.logging.log4j:log4j-api:2.12.1
>  - org.apache.logging.log4j:log4j-core:2.12.1
>  - org.apache.logging.log4j:log4j-jul:2.12.1
>  - org.apache.logging.log4j:log4j-slf4j-impl:2.12.1
>  - org.apache.lucene:lucene-analyzers-common:8.2.0
>  - org.apache.lucene:lucene-core:8.2.0
>  - org.apache.lucene:lucene-queryparser:8.2.0
>  - org.apache.poi:poi:4.1.0
>  - org.apache.poi:poi-excelant:4.1.0
>  - org.apache.poi:poi-ooxml:4.1.0
>  - org.apache.poi:poi-ooxml-schemas:4.1.0
>  - org.apache.poi:poi-scratchpad:4.1.0
>  - org.apache.shiro:shiro-core:1.4.1
>  - org.apache.solr:solr-core:8.2.0
>  - org.apache.tika:tika-core:1.22
>  - org.apache.tika:tika-parsers:1.22
>  - org.apache.tomcat:tomcat-catalina:9.0.22
>  - org.apache.tomcat:tomcat-catalina-ha:9.0.22
>  - org.apache.tomcat:tomcat-jasper:9.0.22
>  - org.apache.tomcat:tomcat-tribes:9.0.22
>  - org.apache.tomcat.embed:tomcat-embed-websocket:9.0.22
>  - org.apache.xmlgraphics:fop:2.3
>  - org.apache.xmlrpc:xmlrpc-client:3.1.3
>  - org.apache.xmlrpc:xmlrpc-server:3.1.3
>  - org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380
>  - org.eclipse.birt.runtime:viewservlets:4.5.0
>  - org.freemarker:freemarker:2.3.28
>  - org.hamcrest:hamcrest:2.1
>  - org.hamcrest:hamcrest-library:2.1
>  - org.jruby:jruby-complete:9.2.7.0
>  - org.jsoup:jsoup:1.12.1
>  - org.mockito:mockito-core:3.0.0
>  - org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:5.2.1
>  - org.owasp.esapi:esapi:2.2.0.0
>  - org.safehaus.jug:jug:2.0.0
>  - org.springframework:spring-test:5.1.9.RELEASE
>  - org.zapodot:jackson-databind-java-optional:2.6.1
>  - oro:oro:2.0.8
>  - 
> se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.12
>  - wsdl4j:wsdl4j:1.6.3
> The following dependencies exceed the version found at the release revision 
> level:
>  - com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 
> [20180219.1 <- 1.1]
>  https://github.com/OWASP/java-html-sanitizer
> The following dependencies have later release versions:
>  - com.lowagie:itext [2.1.7 -> 4.2.2]
>  http://www.itextpdf.com/
>  - junit:junit [4.12 -> 4.13-beta-3]
>  http://junit.org
>  - 

[jira] [Commented] (OFBIZ-10966) JSON entity data import and export utility

2019-08-12 Thread Mathieu Lirzin (JIRA)


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

Mathieu Lirzin commented on OFBIZ-10966:


OK, no problem every one has work to do.

What I am proposing it to temporarily revert the JSON import/export code until 
we have something that is acceptable in term of documentation, test, 
code-quality? Would that be OK for you?

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10966.patch, OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (OFBIZ-11151) Update build.gradle to the latest dependencies

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux updated OFBIZ-11151:

Description: 
Here is the dependencyUpdates report.txt content:

{noformat}


: Project Dependency Updates (report to plain text file)


The following dependencies are using the latest release version:
 - apache-xerces:xercesImpl:2.9.1
 - at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1
 - 
com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.22.0
 - com.google.guava:guava:20.0
 - com.google.zxing:core:3.4.0
 - com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2
 - com.googlecode.ez-vcard:ez-vcard:0.9.10
 - com.googlecode.libphonenumber:libphonenumber:8.10.16
 - com.ibm.icu:icu4j:64.2
 - com.sun.mail:javax.mail:1.6.2
 - com.thoughtworks.xstream:xstream:1.4.11.1
 - commons-cli:commons-cli:1.4
 - commons-fileupload:commons-fileupload:1.4
 - commons-net:commons-net:3.6
 - commons-validator:commons-validator:1.6
 - de.odysseus.juel:juel-impl:2.2.7
 - de.odysseus.juel:juel-spi:2.2.7
 - io.jsonwebtoken:jjwt:0.9.1
 - javax.el:javax.el-api:3.0.1-b06
 - javax.servlet:javax.servlet-api:4.0.1
 - javax.servlet.jsp:javax.servlet.jsp-api:2.3.3
 - javax.xml.soap:javax.xml.soap-api:1.4.0
 - net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
 - net.sf.barcode4j:barcode4j:2.1
 - net.sf.barcode4j:barcode4j-fop-ext:2.1
 - org.apache.ant:ant-junit:1.10.6
 - org.apache.axis2:axis2-kernel:1.7.9
 - org.apache.axis2:axis2-transport-http:1.7.9
 - org.apache.axis2:axis2-transport-local:1.7.9
 - org.apache.commons:commons-collections4:4.4
 - org.apache.commons:commons-csv:1.7
 - org.apache.commons:commons-dbcp2:2.7.0
 - org.apache.commons:commons-text:1.7
 - org.apache.geronimo.components:geronimo-transaction:3.1.4
 - org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1
 - org.apache.httpcomponents:httpclient-cache:4.5.9
 - org.apache.logging.log4j:log4j-1.2-api:2.12.1
 - org.apache.logging.log4j:log4j-api:2.12.1
 - org.apache.logging.log4j:log4j-core:2.12.1
 - org.apache.logging.log4j:log4j-jul:2.12.1
 - org.apache.logging.log4j:log4j-slf4j-impl:2.12.1
 - org.apache.lucene:lucene-analyzers-common:8.2.0
 - org.apache.lucene:lucene-core:8.2.0
 - org.apache.lucene:lucene-queryparser:8.2.0
 - org.apache.poi:poi:4.1.0
 - org.apache.poi:poi-excelant:4.1.0
 - org.apache.poi:poi-ooxml:4.1.0
 - org.apache.poi:poi-ooxml-schemas:4.1.0
 - org.apache.poi:poi-scratchpad:4.1.0
 - org.apache.shiro:shiro-core:1.4.1
 - org.apache.solr:solr-core:8.2.0
 - org.apache.tika:tika-core:1.22
 - org.apache.tika:tika-parsers:1.22
 - org.apache.tomcat:tomcat-catalina:9.0.22
 - org.apache.tomcat:tomcat-catalina-ha:9.0.22
 - org.apache.tomcat:tomcat-jasper:9.0.22
 - org.apache.tomcat:tomcat-tribes:9.0.22
 - org.apache.tomcat.embed:tomcat-embed-websocket:9.0.22
 - org.apache.xmlgraphics:fop:2.3
 - org.apache.xmlrpc:xmlrpc-client:3.1.3
 - org.apache.xmlrpc:xmlrpc-server:3.1.3
 - org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380
 - org.eclipse.birt.runtime:viewservlets:4.5.0
 - org.freemarker:freemarker:2.3.28
 - org.hamcrest:hamcrest:2.1
 - org.hamcrest:hamcrest-library:2.1
 - org.jruby:jruby-complete:9.2.7.0
 - org.jsoup:jsoup:1.12.1
 - org.mockito:mockito-core:3.0.0
 - org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:5.2.1
 - org.owasp.esapi:esapi:2.2.0.0
 - org.safehaus.jug:jug:2.0.0
 - org.springframework:spring-test:5.1.9.RELEASE
 - org.zapodot:jackson-databind-java-optional:2.6.1
 - oro:oro:2.0.8
 - 
se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.12
 - wsdl4j:wsdl4j:1.6.3

The following dependencies exceed the version found at the release revision 
level:
 - com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 
[20180219.1 <- 1.1]
 https://github.com/OWASP/java-html-sanitizer

The following dependencies have later release versions:
 - com.lowagie:itext [2.1.7 -> 4.2.2]
 http://www.itextpdf.com/
 - junit:junit [4.12 -> 4.13-beta-3]
 http://junit.org
 - org.apache.derby:derby [10.14.2.0 -> 10.15.1.3]
 http://db.apache.org/derby/
 - org.apache.sshd:sshd-core [1.7.0 -> 2.3.0]
 http://www.apache.org/
 - org.asciidoctor:asciidoctorj-pdf [1.5.0-alpha.16 -> 1.5.0-beta.2]
 https://github.com/asciidoctor/asciidoctorj
 - org.asciidoctor.convert:org.asciidoctor.convert.gradle.plugin [2.0.0 -> 
2.3.0]
 - org.codehaus.groovy:groovy-all [2.4.16 -> 3.0.0-beta-3]
 https://groovy-lang.org
 - org.jasig.cas:cas-server-core [3.3.5 -> 4.2.7]
 http://www.apereo.org/cas

Failed to determine the latest version for the following dependencies (use 
--info for details):
 - com.sun.syndication:com.springsource.com.sun.syndication
 - org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec
 - org.json:json

Gradle 

[jira] [Created] (OFBIZ-11151) Update build.gradle to the latest dependencies

2019-08-12 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-11151:
---

 Summary: Update build.gradle to the latest dependencies
 Key: OFBIZ-11151
 URL: https://issues.apache.org/jira/browse/OFBIZ-11151
 Project: OFBiz
  Issue Type: Sub-task
  Components: Gradle
Affects Versions: Trunk
Reporter: Jacques Le Roux


Here is the dependencyUpdates report.txt content:

{noformat}

: Project Dependency Updates (report to plain text file)


The following dependencies are using the latest release version:
 - apache-xerces:xercesImpl:2.9.1
 - at.bxm.svntools:at.bxm.svntools.gradle.plugin:2.2.1
 - 
com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.22.0
 - com.google.guava:guava:20.0
 - com.google.zxing:core:3.4.0
 - com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2
 - com.googlecode.ez-vcard:ez-vcard:0.9.10
 - com.googlecode.libphonenumber:libphonenumber:8.10.16
 - com.ibm.icu:icu4j:64.2
 - com.sun.mail:javax.mail:1.6.2
 - com.thoughtworks.xstream:xstream:1.4.11.1
 - commons-cli:commons-cli:1.4
 - commons-fileupload:commons-fileupload:1.4
 - commons-net:commons-net:3.6
 - commons-validator:commons-validator:1.6
 - de.odysseus.juel:juel-impl:2.2.7
 - de.odysseus.juel:juel-spi:2.2.7
 - io.jsonwebtoken:jjwt:0.9.1
 - javax.el:javax.el-api:3.0.1-b06
 - javax.servlet:javax.servlet-api:4.0.1
 - javax.servlet.jsp:javax.servlet.jsp-api:2.3.3
 - javax.xml.soap:javax.xml.soap-api:1.4.0
 - net.fortuna.ical4j:ical4j:1.0-rc3-atlassian-11
 - net.sf.barcode4j:barcode4j:2.1
 - net.sf.barcode4j:barcode4j-fop-ext:2.1
 - org.apache.ant:ant-junit:1.10.6
 - org.apache.axis2:axis2-kernel:1.7.9
 - org.apache.axis2:axis2-transport-http:1.7.9
 - org.apache.axis2:axis2-transport-local:1.7.9
 - org.apache.commons:commons-collections4:4.4
 - org.apache.commons:commons-csv:1.7
 - org.apache.commons:commons-dbcp2:2.7.0
 - org.apache.commons:commons-text:1.7
 - org.apache.geronimo.components:geronimo-transaction:3.1.4
 - org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1
 - org.apache.httpcomponents:httpclient-cache:4.5.9
 - org.apache.logging.log4j:log4j-api:2.12.1
 - org.apache.lucene:lucene-analyzers-common:8.2.0
 - org.apache.lucene:lucene-core:8.2.0
 - org.apache.lucene:lucene-queryparser:8.2.0
 - org.apache.poi:poi:4.1.0
 - org.apache.poi:poi-excelant:4.1.0
 - org.apache.poi:poi-ooxml:4.1.0
 - org.apache.poi:poi-ooxml-schemas:4.1.0
 - org.apache.poi:poi-scratchpad:4.1.0
 - org.apache.shiro:shiro-core:1.4.1
 - org.apache.solr:solr-core:8.2.0
 - org.apache.tika:tika-core:1.22
 - org.apache.tika:tika-parsers:1.22
 - org.apache.tomcat:tomcat-catalina:9.0.22
 - org.apache.tomcat:tomcat-catalina-ha:9.0.22
 - org.apache.tomcat:tomcat-jasper:9.0.22
 - org.apache.tomcat:tomcat-tribes:9.0.22
 - org.apache.tomcat.embed:tomcat-embed-websocket:9.0.22
 - org.apache.xmlgraphics:fop:2.3
 - org.apache.xmlrpc:xmlrpc-client:3.1.3
 - org.apache.xmlrpc:xmlrpc-server:3.1.3
 - org.codeartisans.thirdparties.swing:batik-all:1.8pre-r1084380
 - org.eclipse.birt.runtime:viewservlets:4.5.0
 - org.freemarker:freemarker:2.3.28
 - org.hamcrest:hamcrest:2.1
 - org.hamcrest:hamcrest-library:2.1
 - org.jruby:jruby-complete:9.2.7.0
 - org.jsoup:jsoup:1.12.1
 - org.mockito:mockito-core:3.0.0
 - org.owasp.dependencycheck:org.owasp.dependencycheck.gradle.plugin:5.2.1
 - org.owasp.esapi:esapi:2.2.0.0
 - org.safehaus.jug:jug:2.0.0
 - org.zapodot:jackson-databind-java-optional:2.6.1
 - oro:oro:2.0.8
 - 
se.patrikerdes.use-latest-versions:se.patrikerdes.use-latest-versions.gradle.plugin:0.2.12
 - wsdl4j:wsdl4j:1.6.3

The following dependencies exceed the version found at the release revision 
level:
 - com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 
[20180219.1 <- 1.1]
 https://github.com/OWASP/java-html-sanitizer

The following dependencies have later release versions:
 - com.lowagie:itext [2.1.7 -> 4.2.2]
 http://www.itextpdf.com/
 - junit:junit [4.12 -> 4.13-beta-3]
 http://junit.org
 - org.apache.derby:derby [10.14.2.0 -> 10.15.1.3]
 http://db.apache.org/derby/
 - org.apache.logging.log4j:log4j-1.2-api [2.12.0 -> 2.12.1]
 https://logging.apache.org/log4j/2.x/
 - org.apache.logging.log4j:log4j-core [2.12.0 -> 2.12.1]
 https://logging.apache.org/log4j/2.x/
 - org.apache.logging.log4j:log4j-jul [2.12.0 -> 2.12.1]
 https://logging.apache.org/log4j/2.x/
 - org.apache.logging.log4j:log4j-slf4j-impl [2.12.0 -> 2.12.1]
 https://logging.apache.org/log4j/2.x/
 - org.apache.sshd:sshd-core [1.7.0 -> 2.3.0]
 http://www.apache.org/
 - org.asciidoctor:asciidoctorj-pdf [1.5.0-alpha.16 -> 1.5.0-beta.2]
 https://github.com/asciidoctor/asciidoctorj
 - org.asciidoctor.convert:org.asciidoctor.convert.gradle.plugin [2.0.0 -> 
2.3.0]
 - org.codehaus.groovy:groovy-all [2.4.16 -> 

[jira] [Commented] (OFBIZ-11147) OFBiz-Camel integration

2019-08-12 Thread Girish Vasmatkar (JIRA)


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

Girish Vasmatkar commented on OFBIZ-11147:
--

Attached is the ofbiz-camel plug in. It has added feature of auto discovery of 
Camel Routes on top of what [~bibryam] created.

> OFBiz-Camel integration
> ---
>
> Key: OFBIZ-11147
> URL: https://issues.apache.org/jira/browse/OFBIZ-11147
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Girish Vasmatkar
>Assignee: Girish Vasmatkar
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: ofbiz-camel.tar.gz
>
>
> This OFBiz plug in will provide capability for OFBiz to integrate with Apache 
> Camel. The plug in should provide capability for OFBiz to interface with 
> various external systems via Apache Camel.
> Similarly, the integration will allow inbound communication from external 
> system into OFBiz via Apache Camel.
> Here's the list to the ML discussion thread - 
> [https://lists.apache.org/thread.html/36ee6e3d2425ecc5eed7cf44e41e27125f7263080870bacd72ae556e@%3Cuser.ofbiz.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (OFBIZ-11147) OFBiz-Camel integration

2019-08-12 Thread Girish Vasmatkar (JIRA)


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

Girish Vasmatkar updated OFBIZ-11147:
-
Description: 
This OFBiz plug in will provide capability for OFBiz to integrate with Apache 
Camel. The plug in should provide capability for OFBiz to interface with 
various external systems via Apache Camel.

Similarly, the integration will allow inbound communication from external 
system into OFBiz via Apache Camel.

Here's the list to the ML discussion thread - 

[https://lists.apache.org/thread.html/36ee6e3d2425ecc5eed7cf44e41e27125f7263080870bacd72ae556e@%3Cuser.ofbiz.apache.org%3E]

  was:
This OFBiz plug in will provide capability for OFBiz to integrate with Apache 
Camel. The plug in should provide capability for OFBiz to interface with 
various external systems via Apache Camel.

Similarly, the integration will allow inbound communication from external 
system into OFBiz via Apache Camel.


> OFBiz-Camel integration
> ---
>
> Key: OFBIZ-11147
> URL: https://issues.apache.org/jira/browse/OFBIZ-11147
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Girish Vasmatkar
>Assignee: Girish Vasmatkar
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: ofbiz-camel.tar.gz
>
>
> This OFBiz plug in will provide capability for OFBiz to integrate with Apache 
> Camel. The plug in should provide capability for OFBiz to interface with 
> various external systems via Apache Camel.
> Similarly, the integration will allow inbound communication from external 
> system into OFBiz via Apache Camel.
> Here's the list to the ML discussion thread - 
> [https://lists.apache.org/thread.html/36ee6e3d2425ecc5eed7cf44e41e27125f7263080870bacd72ae556e@%3Cuser.ofbiz.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (OFBIZ-11147) OFBiz-Camel integration

2019-08-12 Thread Girish Vasmatkar (JIRA)


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

Girish Vasmatkar updated OFBIZ-11147:
-
Attachment: ofbiz-camel.tar.gz

> OFBiz-Camel integration
> ---
>
> Key: OFBIZ-11147
> URL: https://issues.apache.org/jira/browse/OFBIZ-11147
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Girish Vasmatkar
>Assignee: Girish Vasmatkar
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: ofbiz-camel.tar.gz
>
>
> This OFBiz plug in will provide capability for OFBiz to integrate with Apache 
> Camel. The plug in should provide capability for OFBiz to interface with 
> various external systems via Apache Camel.
> Similarly, the integration will allow inbound communication from external 
> system into OFBiz via Apache Camel.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10966) JSON entity data import and export utility

2019-08-12 Thread Jayansh Shinde (JIRA)


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

Jayansh Shinde commented on OFBIZ-10966:


Hi Mathieu,
I will pick it and complete it, asap. I am currently occupied with so many
high priority production tasks, thus not able to check it.

Thanks,
Jay


On Mon, Aug 12, 2019 at 3:27 PM Mathieu Lirzin (JIRA) 



> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10966.patch, OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10817) Configure stackTrace displaying on ftl rendering

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10817:
-

No worries, you were in vacation :)

> Configure stackTrace displaying on ftl rendering
> 
>
> Key: OFBIZ-10817
> URL: https://issues.apache.org/jira/browse/OFBIZ-10817
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: Failure.png, FailureSafe.png, OFBIZ-10817.patch, 
> OFBIZ-10817.patch, OFBIZ-10817.patch, 
> OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch, 
> Sélection_236.png, Sélection_237.png
>
>
> Currently when freemarker failed to execute a template, you have on end 
> screen rendered all java stack trace generate.
> I propose to improve this to display the stack trace only when the property 
> widget.verbose is true, no regression during development and when you switch 
> to production site, in general your widget.verbose is false so end user 
> haven't stack trace (that totally unused for them).
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10966) JSON entity data import and export utility

2019-08-12 Thread Mathieu Lirzin (JIRA)


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

Mathieu Lirzin commented on OFBIZ-10966:


Hello Jayansh,

Did you find any time to work that issue?

> JSON entity data import and export utility
> --
>
> Key: OFBIZ-10966
> URL: https://issues.apache.org/jira/browse/OFBIZ-10966
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Reporter: Jayansh Shinde
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10966.patch, OFBIZ-10966_27062019.patch, 
> OFBiz-Web-Tools-JSON-Data-Export-All.png, 
> OFBiz-Web-Tools-JSON-Data-Import-Dir.png, exportJson.png, importJson.png
>
>
> Currently, we support import/export entity data in XML format.
>  Nowadays JSON is widely used in industry, we can have support for JSON 
> format which looks quite similar to XML support.
> Here is example of XML data and it's JSON version
> {code:java}
> 
> {code}
> {code:java}
> {“Party”: 
> {"partyId":"123456","partyTypeId":"PERSON","statusId":"PARTY_ENABLED”}}
> {code}
>  
> *Design Proposal*
> We can write *entityImportJson* and *entityImportDirJson* services for 
> importing JSON from screen and directory respectively.
> And the *entityExportAllJson* service for exporting entity data in JSON.
>  
> *Import Design*
>  The import service will perform following operations:
>  1.) Validate the input JSON data (I am in process of exploring the way for 
> this)
>  2.) On successful validation, convert JSON to OFBiz's entity model 
> (GenericValue)
>  3.) The GenericValue will be inserted in database by some handler class for 
> e.g we can write JsonDataHandler, it will convert given JSON to 
> List, and finally write it to database (Similar pattern is used 
> in XML import).
>  
> *Export Design*
>  Based on existing XML pattern the writeXmlText method of GenericEntity class 
> write the exported data in XML format. 
>  In the similar way, we can implement writeJsonText to export data in JSON 
> format.
> Please free feel to share your thought.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10817) Configure stackTrace displaying on ftl rendering

2019-08-12 Thread Mathieu Lirzin (JIRA)


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

Mathieu Lirzin commented on OFBIZ-10817:


Sorry for the delay

> Configure stackTrace displaying on ftl rendering
> 
>
> Key: OFBIZ-10817
> URL: https://issues.apache.org/jira/browse/OFBIZ-10817
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: Failure.png, FailureSafe.png, OFBIZ-10817.patch, 
> OFBIZ-10817.patch, OFBIZ-10817.patch, 
> OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch, 
> Sélection_236.png, Sélection_237.png
>
>
> Currently when freemarker failed to execute a template, you have on end 
> screen rendered all java stack trace generate.
> I propose to improve this to display the stack trace only when the property 
> widget.verbose is true, no regression during development and when you switch 
> to production site, in general your widget.verbose is false so end user 
> haven't stack trace (that totally unused for them).
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Closed] (OFBIZ-10817) Configure stackTrace displaying on ftl rendering

2019-08-12 Thread Mathieu Lirzin (JIRA)


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

Mathieu Lirzin closed OFBIZ-10817.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch

Committed revision 1864953.

> Configure stackTrace displaying on ftl rendering
> 
>
> Key: OFBIZ-10817
> URL: https://issues.apache.org/jira/browse/OFBIZ-10817
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Mathieu Lirzin
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: Failure.png, FailureSafe.png, OFBIZ-10817.patch, 
> OFBIZ-10817.patch, OFBIZ-10817.patch, 
> OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch, 
> Sélection_236.png, Sélection_237.png
>
>
> Currently when freemarker failed to execute a template, you have on end 
> screen rendered all java stack trace generate.
> I propose to improve this to display the stack trace only when the property 
> widget.verbose is true, no regression during development and when you switch 
> to production site, in general your widget.verbose is false so end user 
> haven't stack trace (that totally unused for them).
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10757:
-

At OFBIZ-11138 I wrote this comment:
bq.  with Java 11 comes HTTP Client which handles HTTP2. Something we surely 
can use when we will switch to Java 11...

> Upgrade OFBiz to use Java JDK Version 11
> 
>
> Key: OFBIZ-10757
> URL: https://issues.apache.org/jira/browse/OFBIZ-10757
> Project: OFBiz
>  Issue Type: Improvement
>Reporter: Taher Alkhateeb
>Priority: Minor
> Attachments: OFBIZ-10757-framework.patch, 
> OFBIZ-10757-framework.patch, OFBIZ-10757-framework.patch, 
> OFBIZ-10757-framework.patch, OFBIZ-10757-plugins.patch, 
> OFBIZ-10757-plugins.patch, OFBIZ-10757_Fix-javadoc-build-for-OpenJDK-11.patch
>
>
> To implement as per [Discussion 
> Thread|https://lists.apache.org/thread.html/71b8c1048f1dd4c5b3f104233c9af7b2cbc690863fe35b08ef91fcf5@%3Cdev.ofbiz.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Reopened] (OFBIZ-10817) Configure stackTrace displaying on ftl rendering

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux reopened OFBIZ-10817:
-
  Assignee: Mathieu Lirzin  (was: Nicolas Malin)

I reopen this issue in order to remove the resolved resolution status. 
Assigning Mathieu also

> Configure stackTrace displaying on ftl rendering
> 
>
> Key: OFBIZ-10817
> URL: https://issues.apache.org/jira/browse/OFBIZ-10817
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Nicolas Malin
>Assignee: Mathieu Lirzin
>Priority: Minor
> Attachments: Failure.png, FailureSafe.png, OFBIZ-10817.patch, 
> OFBIZ-10817.patch, OFBIZ-10817.patch, 
> OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch, 
> Sélection_236.png, Sélection_237.png
>
>
> Currently when freemarker failed to execute a template, you have on end 
> screen rendered all java stack trace generate.
> I propose to improve this to display the stack trace only when the property 
> widget.verbose is true, no regression during development and when you switch 
> to production site, in general your widget.verbose is false so end user 
> haven't stack trace (that totally unused for them).
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (OFBIZ-10895) Unknown request [images]; this request does not exist or cannot be called directly.

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux commented on OFBIZ-10895:
-

I can not longer reproduce the d.png issue in log appearing before login 
locally and on demos(even if I see some related 404 in access log in stable 
demo, not trunk), so closing now. If we get other issues we can reopen or even 
better create a new issue...

> Unknown request [images]; this request does not exist or cannot be called 
> directly.
> ---
>
> Key: OFBIZ-10895
> URL: https://issues.apache.org/jira/browse/OFBIZ-10895
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce, themes
>Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12, 
> Release Branch 18.12
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: 17.12.01, 16.11.06, 18.12.01
>
>
> This error happens in many occasions:
> Inside another request (here LookupProduct)
> {noformat}
> 2019-03-31 12:32:26,215 |jsse-nio-8443-exec-2 |ControlServlet
> |T| [[[LookupProduct(Domain:https://localhost)] Request Begun, 
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2019-03-31 12:32:26,222 |jsse-nio-8443-exec-7 |ControlServlet
> |T| [[[images(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- 
> total:0.0,since last(Begin):0.0]]
> 2019-03-31 12:32:26,222 |jsse-nio-8443-exec-7 |ControlServlet
> |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [images]; this request does not exist or cannot be called directly.
> at 
> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212) 
> [ofbiz.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> [tomcat-embed-websocket-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
>  [ofbiz.jar:?]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>  [ofbiz.jar:?]
> at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:127) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 
> [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
> [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> 

[jira] [Closed] (OFBIZ-10895) Unknown request [images]; this request does not exist or cannot be called directly.

2019-08-12 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux closed OFBIZ-10895.
---
   Resolution: Fixed
Fix Version/s: 18.12.01
   16.11.06
   17.12.01

> Unknown request [images]; this request does not exist or cannot be called 
> directly.
> ---
>
> Key: OFBIZ-10895
> URL: https://issues.apache.org/jira/browse/OFBIZ-10895
> Project: OFBiz
>  Issue Type: Bug
>  Components: ecommerce, themes
>Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12, 
> Release Branch 18.12
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: 17.12.01, 16.11.06, 18.12.01
>
>
> This error happens in many occasions:
> Inside another request (here LookupProduct)
> {noformat}
> 2019-03-31 12:32:26,215 |jsse-nio-8443-exec-2 |ControlServlet
> |T| [[[LookupProduct(Domain:https://localhost)] Request Begun, 
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2019-03-31 12:32:26,222 |jsse-nio-8443-exec-7 |ControlServlet
> |T| [[[images(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- 
> total:0.0,since last(Begin):0.0]]
> 2019-03-31 12:32:26,222 |jsse-nio-8443-exec-7 |ControlServlet
> |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
> [images]; this request does not exist or cannot be called directly.
> at 
> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>  ~[ofbiz.jar:?]
> at 
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212) 
> [ofbiz.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
> [tomcat-embed-websocket-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191)
>  [ofbiz.jar:?]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>  [ofbiz.jar:?]
> at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:127) 
> [javax.servlet-api-4.0.1.jar:4.0.1]
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 
> [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
> [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
>  [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
> [tomcat-catalina-9.0.16.jar:9.0.16]
> at 
>