[jira] [Commented] (OFBIZ-7034) Showing QRCodes in PDF

2018-01-09 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-7034:
-

Here is the reference link 
http://barcode4j.sourceforge.net/trunk/symbol-qr.html

> Showing QRCodes in PDF
> --
>
> Key: OFBIZ-7034
> URL: https://issues.apache.org/jira/browse/OFBIZ-7034
> Project: OFBiz
>  Issue Type: Bug
>  Components: example
>Affects Versions: Trunk, Release Branch 15.12
>Reporter: Murugeswari
>Assignee: Shi Jinghai
> Attachments: barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar, 
> barcode4j-trunk-zxing3.3.1-jdk8.jar
>
>
> Hi Folks,
>   I have to generate a pdf which should have Barcode as well as QRCode so 
> I followed this one OFBIZ-4154.
>   In trunk version, I run with demo data and tried to create a PDF with 
> QRCode by using this link 
> https://localhost:8443/example/control/ExampleReportPdfBarcode?exampleId=EX01.
>   But it fails to render QRCode but BarCodes are rendered successfully. 
> In console I get following error.
> {code}
>  [java] 2016-05-04 12:29:34,677 |http-nio-8080-exec-5 |ControlServlet 
>|T| [[[qrcode(Domain:http://localhost)] Request Done- 
> total:0.245,since last([qrcode(Domain:ht...):0.245]]
>  [java] 2016-05-04 12:29:34,686 |ttp-nio-8443-exec-17 |FOUserAgent
>|E| Image not available. URI: 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20.
>  Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format 
> is not supported. No ImagePreloader found for 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20
>  (See position 43:308)
>  [java] org.apache.xmlgraphics.image.loader.ImageException: The file 
> format is not supported. No ImagePreloader found for 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20
>  [java]   at 
> org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:181)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:128)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81) 
> [fop-2.0.jar:?]
>  [java]   at org.apache.fop.fo.FObj.processNode(FObj.java:129) 
> [fop-2.0.jar:?]
>  [java]   at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291)
>  [fop-2.0.jar:?]
>  [java]   at 
> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179) 
> [fop-2.0.jar:?]
> {code}
> Same thing tested with Release15.12 here also it fails to render QRCode and 
> same exception was caught .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OFBIZ-7034) Showing QRCodes in PDF

2018-01-09 Thread Shi Jinghai (JIRA)

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

Shi Jinghai updated OFBIZ-7034:
---
Attachment: barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar

This jar can be used to replace barcode4j-fop-ext-complete-2.1.jar in former 
OFBiz versions and works with zxing 1.7 to output qrcode in fop.

> Showing QRCodes in PDF
> --
>
> Key: OFBIZ-7034
> URL: https://issues.apache.org/jira/browse/OFBIZ-7034
> Project: OFBiz
>  Issue Type: Bug
>  Components: example
>Affects Versions: Trunk, Release Branch 15.12
>Reporter: Murugeswari
>Assignee: Shi Jinghai
> Attachments: barcode4j-trunk-fop-ext-complete-zxing1.7-jdk6.jar, 
> barcode4j-trunk-zxing3.3.1-jdk8.jar
>
>
> Hi Folks,
>   I have to generate a pdf which should have Barcode as well as QRCode so 
> I followed this one OFBIZ-4154.
>   In trunk version, I run with demo data and tried to create a PDF with 
> QRCode by using this link 
> https://localhost:8443/example/control/ExampleReportPdfBarcode?exampleId=EX01.
>   But it fails to render QRCode but BarCodes are rendered successfully. 
> In console I get following error.
> {code}
>  [java] 2016-05-04 12:29:34,677 |http-nio-8080-exec-5 |ControlServlet 
>|T| [[[qrcode(Domain:http://localhost)] Request Done- 
> total:0.245,since last([qrcode(Domain:ht...):0.245]]
>  [java] 2016-05-04 12:29:34,686 |ttp-nio-8443-exec-17 |FOUserAgent
>|E| Image not available. URI: 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20.
>  Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format 
> is not supported. No ImagePreloader found for 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20
>  (See position 43:308)
>  [java] org.apache.xmlgraphics.image.loader.ImageException: The file 
> format is not supported. No ImagePreloader found for 
> /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20
>  [java]   at 
> org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:181)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:128)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123)
>  ~[xmlgraphics-commons-2.0.1.jar:2.0.1]
>  [java]   at 
> org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81) 
> [fop-2.0.jar:?]
>  [java]   at org.apache.fop.fo.FObj.processNode(FObj.java:129) 
> [fop-2.0.jar:?]
>  [java]   at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291)
>  [fop-2.0.jar:?]
>  [java]   at 
> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179) 
> [fop-2.0.jar:?]
> {code}
> Same thing tested with Release15.12 here also it fails to render QRCode and 
> same exception was caught .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OFBIZ-7538) Add Wiki page for WebSocket usage

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-7538.
--
Resolution: Incomplete

> Add Wiki page for WebSocket usage
> -
>
> Key: OFBIZ-7538
> URL: https://issues.apache.org/jira/browse/OFBIZ-7538
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Amardeep Singh Jhajj
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-10147) Buildbot script refactoring to put in a R17 branch build

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10147:
-

The wiki page is at https://cwiki.apache.org/confluence/display/OFBIZ/BuildBot 
linked from 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Committers+Roles+and+Responsibilities

> Buildbot script refactoring to put in a R17 branch build
> 
>
> Key: OFBIZ-10147
> URL: https://issues.apache.org/jira/browse/OFBIZ-10147
> Project: OFBiz
>  Issue Type: Task
>  Components: BuildBot
>Affects Versions: Trunk, 17.12.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>
> Though I decided to let INFRA-15394 closed I found that the framework+plugins 
> build is not launched (as a dependence) after the framework build.
> As we need the same pattern than the trunk for the R17 branch I will try to 
> fix this issue and then put in a R17 branch build
> Then INFRA-15785 can be actionned



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-10147) Buildbot script refactoring to put in a R17 branch build

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10147:
-

I put a small BuildBot documentation at 
https://svn.apache.org/repos/asf/ofbiz/tools/documentation/BuildBot I'll now 
create a wiki page to import it

Everybody is welcome to try and improve it 

> Buildbot script refactoring to put in a R17 branch build
> 
>
> Key: OFBIZ-10147
> URL: https://issues.apache.org/jira/browse/OFBIZ-10147
> Project: OFBiz
>  Issue Type: Task
>  Components: BuildBot
>Affects Versions: Trunk, 17.12.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>
> Though I decided to let INFRA-15394 closed I found that the framework+plugins 
> build is not launched (as a dependence) after the framework build.
> As we need the same pattern than the trunk for the R17 branch I will try to 
> fix this issue and then put in a R17 branch build
> Then INFRA-15785 can be actionned



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-10028) Update Geo information according to ISO notifications

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10028:
-

Thanks Kyra,

I put in the remaining ones so far: China, Germany, Hungary and Indonesia at 
Completed: 1820644

There is still an issue with svn hooks for BuildBot, I wait for Gavin for 
that... In the meantime I'll trigger them once a week with IRC...


> Update Geo information according to ISO notifications
> -
>
> Key: OFBIZ-10028
> URL: https://issues.apache.org/jira/browse/OFBIZ-10028
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Michael Brohl
>Priority: Minor
> Attachments: OFBIZ-10028_ISO_Geo_Info_Notification_CN.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_CY.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_CY.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_DE.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_EC.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_HU.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_ID.patch, 
> OFBIZ-10028_ISO_Geo_Info_Notification_IS.patch
>
>
> This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq, 
> extract!
> bq. If someone is interested, the China changes are a bit to heavy for me,
> Here are the changes
> {quote}
> Country codes updated
> CN  2017-11-23 /China/
> CY  2017-11-23 /Cyprus/
> DE  2017-11-23 /Germany/
> EC  2017-11-23 /Ecuador/
> HK  2017-11-23 /Hong Kong/
> HU  2017-11-23 /Hungary/
> ID  2017-11-23 /Indonesia/
> IS  2017-11-23 /Iceland/
> KP  2017-11-23 /Korea (the 
> Democratic People's Republic of)/
> LA  2017-11-23 /Lao 
> People's Democratic Republic (the)/
> MD  2017-11-23 /Moldova 
> (the Republic of)/
> MH  2017-11-23 /Marshall 
> Islands (the)/
> ML  2017-11-23 /Mali/
> MO  2017-11-23 /Macao/
> MX  2017-11-23 /Mexico/
> NR  2017-11-23 /Nauru/
> PA  2017-11-23 /Panama/
> PK  2017-11-23 /Pakistan/
> QA  2017-11-23 /Qatar/
> TG  2017-11-23 /Togo/
> TJ  2017-11-23 /Tajikistan/
> UG  2017-11-23 /Uganda/
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OFBIZ-10150) supplierProductId Should Have Consistent Types Across Entities.

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-10150:

Affects Version/s: (was: Release Branch 16.11)
Fix Version/s: (was: Release Branch 16.11)
   (was: Trunk)
   Issue Type: Improvement  (was: Bug)

This is not a bug but could be an improvement son concern only the trunk. Such 
a thing should be discussed 1st on dev ML prior to create a Jira.

> supplierProductId Should Have Consistent Types Across Entities.
> ---
>
> Key: OFBIZ-10150
> URL: https://issues.apache.org/jira/browse/OFBIZ-10150
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order, product
>Affects Versions: Trunk
> Environment: all
>Reporter: jesse thomas
>Priority: Minor
>
> During some data migration I hit an issue where my data for supplierProductId 
> was too long. So I looked up the fields and noticed that the order item 
> entity had a different type for the field than the supplier product entity. I 
> think it would be a good idea to pick one so the two fields can be treated 
> consistently. I would vote for id-long, but I think either way it would be 
> good to have them be the same type. There are other fields that have this 
> issue too if you are interested?
>   
> Thanks!
> applications/datamodel/entitydef/order-entitymodel.xml:  
>  
> applications/datamodel/entitydef/product-entitymodel.xml:  
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OFBIZ-10133) streaming large content cause out of memory exception.

2018-01-09 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10133:
-

Hi Wai,

Will you provide patches as suggested by Michael?

> streaming large content cause out of memory exception.
> --
>
> Key: OFBIZ-10133
> URL: https://issues.apache.org/jira/browse/OFBIZ-10133
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Wai
> Attachments: OFBIZ-10133.patch, OFBIZ-10133.patch, OFBIZ-10133.patch, 
> OFBIZ-10133.patch, OFBIZ-10133.patch, OFBIZ-10133.patch, OFBIZ-10133.patch
>
>
> When ofbiz streams a large content (eg. video file), get out of memory 
> exception.
> console output...
> 2018-01-01 05:01:03,933 |jsse-nio-8443-exec-2 |MycoReqMapHandlerBase 
> |E| Java heap space
> java.lang.OutOfMemoryError: Java heap space
> at 
> org.apache.commons.io.output.ByteArrayOutputStream.needNewBuffer(ByteArrayOutputStream.java:127)
>  ~[commons-io-2.5.jar:2.5]
> at 
> org.apache.commons.io.output.ByteArrayOutputStream.write(ByteArrayOutputStream.java:158)
>  ~[commons-io-2.5.jar:2.5]
> at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2147) 
> ~[commons-io-2.5.jar:2.5]
> at org.apache.commons.io.IOUtils.copy(IOUtils.java:2102) 
> ~[commons-io-2.5.jar:2.5]
> at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123) 
> ~[commons-io-2.5.jar:2.5]
> at org.apache.commons.io.IOUtils.copy(IOUtils.java:2078) 
> ~[commons-io-2.5.jar:2.5]
> at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:721) 
> ~[commons-io-2.5.jar:2.5]
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OFBIZ-10151) Check which variables created from properties should be final

2018-01-09 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-10151:
---

 Summary: Check which variables created from properties should be 
final
 Key: OFBIZ-10151
 URL: https://issues.apache.org/jira/browse/OFBIZ-10151
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Jacques Le Roux
Priority: Minor


This follows this discussion: http://markmail.org/message/jbrhply6u2rqyw5p



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)