Re: Open in Eclipse and using SQL Server?

2021-04-10 Thread Georg Potthast

Here is a description how to use Microsoft SQL Server for OFbiz:

https://cwiki.apache.org/confluence/display/OFBIZ/How+to+migrate+OFBiz+from+Derby+to+MySQL+database



-Ursprüngliche Nachricht- 
From: Katie Qiu

Sent: Friday, April 9, 2021 10:25 PM
To: user@ofbiz.apache.org
Subject: Open in Eclipse and using SQL Server?

Hi,



I'm kind of new to OFbiz program. With your kind help, I was able to have
the program running with demo data on my VPS at
https://www.polluniverse.com/ecommerce/control/main Thank you!



Now I'm trying to do two things (If you have better suggestions what to do
next, please let me know)



1.   Open the program in Eclipse and add modifications

2.   Connect the program to Microsoft SQL Server instead of using the
demo data.



Could you please provide some information and links so I can continue to the
next steps?





Thanks

Katie



New tutorial for OFBiz

2020-12-13 Thread Georg Potthast
I could not complete this during the recent Community Days. But now I finished 
my tutorial for developers and published it on the OFBiz Wiki. I thought a 
further tutorial discussing different examples would be helpful to become 
familiar with OFBiz application development. Here is the link:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=170266058

Georg

Re: Demos shutdown because possible security issues

2020-12-06 Thread Georg Potthast
I changed the entry in qrcode.properties. But I am sorry, it still reports 
image not found.


Is it possible to omit the logo? This is just to make it beautiful.

I use the downloaded apache-ofbiz-17.12.04.zip file. No changes done to the 
example plugin nor the framework.


What location does component:// start from? When I use this in a plugin, it 
will start from the plugin directory.


Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Sunday, December 6, 2020 5:57 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Since your image is in themes\common\webapp\images\ofbiz.png you should use

qrcode.default.logoimage=component://themes/common/webapp/images/ofbiz.png

Just curious: did you combine different versions?

Jacques

Le 06/12/2020 à 16:13, Georg Potthast a écrit :
Yes, in the file qrcode.properties, which has the path 
\framework\common\config\qrcode.properties,  there is:


# default logo image to put in the center of a QRCode
qrcode.default.logoimage=component://common-theme/webapp/images/ofbiz.png

However, the image is in the path: themes\common\webapp\images\ofbiz.png

What should I specify in the qrcode.properties file? I assume 
"component://" starts at framework or example. How do I specify a path to 
themes?


Georg

-Ursprüngliche Nachricht- From: Jacques Le Roux
Sent: Sunday, December 6, 2020 11:38 AM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Would you miss ofbiz.png? PLease check qrcode.properties

Jacques

Le 05/12/2020 à 21:45, Georg Potthast a écrit :

Hi Jacques,

thank you very much that got it to work! However, I observe that on the 
demo-trunk you get two

barcodes while I only get one on my local PC.

Here is an image of the output comparing both:
https://up.picr.de/40021689ij.png

And here is the error message in the log:
2020-12-05 21:26:04,937 |jsse-nio-8443-exec-7 |FOUserAgent |E| Image not 
found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(See position 47:77)
2020-12-05 21:26:05,336 |jsse-nio-8443-exec-7 |FOUserAgent |E| Image not 
found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(No context info available)


What can I do to generate the second barcode too?

Georg

-Ursprüngliche Nachricht- From: Jacques Le Roux
Sent: Saturday, December 5, 2020 8:38 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Oops, indeed I forgot to mention in fop.xconf:

-  http://localhost:8080
+  https://demo-trunk.ofbiz.apache.org

HTH

Jacques

Le 05/12/2020 à 20:13, Georg Potthast a écrit :

Hi Jacques,

I installed OFBiz on SUSE Linux and got the same error message there:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException 
java.lang.reflect.UndeclaredThrowableException


You must have added a secret spice to the demo-trunk! Here is the log on 
Linux, it does not complain about fonts:



2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet |T| 
[[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.001s, 50 requests, 34 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro

ller.xml
2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 48 requests, 22 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr

oller.xml
2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 0 requests, 0 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr

oller.xml
2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 26 requests, 10 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr

oller.xml
2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 2 requests, 2 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid

gets.xml
2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler |I| 
Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher |T| 
Sync service [example/getUserPreferenceGroup] finished in [2] 
milliseconds
2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 22 
screens in 0.006s from: 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties |I| 
ResourceBundle ProductUiLab

Re: Demos shutdown because possible security issues

2020-12-06 Thread Georg Potthast
Yes, in the file qrcode.properties, which has the path 
\framework\common\config\qrcode.properties,  there is:


# default logo image to put in the center of a QRCode
qrcode.default.logoimage=component://common-theme/webapp/images/ofbiz.png

However, the image is in the path: themes\common\webapp\images\ofbiz.png

What should I specify in the qrcode.properties file? I assume "component://" 
starts at framework or example. How do I specify a path to themes?


Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Sunday, December 6, 2020 11:38 AM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Would you miss ofbiz.png? PLease check qrcode.properties

Jacques

Le 05/12/2020 à 21:45, Georg Potthast a écrit :

Hi Jacques,

thank you very much that got it to work! However, I observe that on the 
demo-trunk you get two

barcodes while I only get one on my local PC.

Here is an image of the output comparing both:
https://up.picr.de/40021689ij.png

And here is the error message in the log:
2020-12-05 21:26:04,937 |jsse-nio-8443-exec-7 |FOUserAgent |E| Image not 
found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(See position 47:77)
2020-12-05 21:26:05,336 |jsse-nio-8443-exec-7 |FOUserAgent |E| Image not 
found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(No context info available)


What can I do to generate the second barcode too?

Georg

-Ursprüngliche Nachricht- From: Jacques Le Roux
Sent: Saturday, December 5, 2020 8:38 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Oops, indeed I forgot to mention in fop.xconf:

-  http://localhost:8080
+  https://demo-trunk.ofbiz.apache.org

HTH

Jacques

Le 05/12/2020 à 20:13, Georg Potthast a écrit :

Hi Jacques,

I installed OFBiz on SUSE Linux and got the same error message there:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException 
java.lang.reflect.UndeclaredThrowableException


You must have added a secret spice to the demo-trunk! Here is the log on 
Linux, it does not complain about fonts:



2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet |T| 
[[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.001s, 50 requests, 34 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro

ller.xml
2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 48 requests, 22 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr

oller.xml
2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 0 requests, 0 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr

oller.xml
2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 26 requests, 10 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr

oller.xml
2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 2 requests, 2 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid

gets.xml
2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler |I| 
Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync 
service [example/getUserPreferenceGroup] finished in [2] milliseconds
2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 22 
screens in 0.006s from: 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties |I| 
ResourceBundle ProductUiLabels (en_US) created in 0.179s with 2641 
properties
2020-12-05 20:00:33,463 |sse-nio-8443-exec-10 |ApacheFopWorker |I| FOP 
FontBaseURL: 
file:/home/georg/apache-ofbiz-17.12.04/framework/webapp/config/
2020-12-05 20:00:33,467 |sse-nio-8443-exec-10 |FOP |D| target-resolution 
set to: 72.0dpi (px2mm=0.3528)
2020-12-05 20:00:33,498 |sse-nio-8443-exec-10 |FOP |D| User configuration 
found for MIME type application/pdf
2020-12-05 20:00:33,535 |sse-nio-8443-exec-10 |FOP |D| User configuration 
found for MIME type application/pdf
2020-12-05 20:00:34,095 |http-nio-8080-exec-1 |ControlServlet |T| 
[[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:34,096 |http-nio-8080-exec-1 |RequestHandler |I| Sending 
redirect to: 
[https://localhost:8443/example/control/qrcode?message=Exampl

Re: Demos shutdown because possible security issues

2020-12-05 Thread Georg Potthast

Hi Jacques,

thank you very much that got it to work! However, I observe that on the 
demo-trunk you get two

barcodes while I only get one on my local PC.

Here is an image of the output comparing both:
https://up.picr.de/40021689ij.png

And here is the error message in the log:
2020-12-05 21:26:04,937 |jsse-nio-8443-exec-7 |FOUserAgent 
|E| Image not found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(See position 47:77)
2020-12-05 21:26:05,336 |jsse-nio-8443-exec-7 |FOUserAgent 
|E| Image not found. URI: 
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011=bmp=UTF-8=true=20=20. 
(No context info available)


What can I do to generate the second barcode too?

Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Saturday, December 5, 2020 8:38 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Oops, indeed I forgot to mention in fop.xconf:

-  http://localhost:8080
+  https://demo-trunk.ofbiz.apache.org

HTH

Jacques

Le 05/12/2020 à 20:13, Georg Potthast a écrit :

Hi Jacques,

I installed OFBiz on SUSE Linux and got the same error message there:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException 
java.lang.reflect.UndeclaredThrowableException


You must have added a secret spice to the demo-trunk! Here is the log on 
Linux, it does not complain about fonts:



2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet |T| 
[[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.001s, 50 requests, 34 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro

ller.xml
2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 48 requests, 22 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr

oller.xml
2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 0 requests, 0 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr

oller.xml
2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 26 requests, 10 views in 
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr

oller.xml
2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader |I| 
controller loaded: 0.0s, 2 requests, 2 views in 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid

gets.xml
2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler |I| 
Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync 
service [example/getUserPreferenceGroup] finished in [2] milliseconds
2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 22 
screens in 0.006s from: 
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties |I| 
ResourceBundle ProductUiLabels (en_US) created in 0.179s with 2641 
properties
2020-12-05 20:00:33,463 |sse-nio-8443-exec-10 |ApacheFopWorker |I| FOP 
FontBaseURL: 
file:/home/georg/apache-ofbiz-17.12.04/framework/webapp/config/
2020-12-05 20:00:33,467 |sse-nio-8443-exec-10 |FOP |D| target-resolution 
set to: 72.0dpi (px2mm=0.3528)
2020-12-05 20:00:33,498 |sse-nio-8443-exec-10 |FOP |D| User configuration 
found for MIME type application/pdf
2020-12-05 20:00:33,535 |sse-nio-8443-exec-10 |FOP |D| User configuration 
found for MIME type application/pdf
2020-12-05 20:00:34,095 |http-nio-8080-exec-1 |ControlServlet |T| 
[[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:34,096 |http-nio-8080-exec-1 |RequestHandler |I| Sending 
redirect to: 
[https://localhost:8443/example/control/qrcode?message=Example%2011=bmp=UTF-8=true

oImageMaxWidth=20=20].  Hidden sessionId by default.
2020-12-05 20:00:34,097 |http-nio-8080-exec-1 |ServerHitBin |I| Visit 
delegatorName=default, ServerHitBin delegatorName=default
2020-12-05 20:00:34,104 |http-nio-8080-exec-1 |ControlServlet |T| 
[[[qrcode(Domain:http://localhost)] Request Done- total:0.009,since 
last([qrcode(Domain:ht...):0.009]]
2020-12-05 20:00:34,144 |sse-nio-8443-exec-10 |ScreenFopViewHandler |E| 
Unable to transform FO file: org.apache.fop.apps.FOPException

java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:







http://www.w3.org/1999/XSL/Format;>


  page-width="8in"
  margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" 
margin-right="0.25in&

Re: Demos shutdown because possible security issues

2020-12-05 Thread Georg Potthast
 from: 
file:/home/georg/apache-ofbiz-17.12.04/applications/commonext/widget/CommonScreens.xml
2020-12-05 20:00:34,250 |sse-nio-8443-exec-10 |ServiceDispatcher 
|T| Sync service [example/getLastSystemInfoNote] finished in [11] 
milliseconds
2020-12-05 20:00:34,270 |sse-nio-8443-exec-10 |ServerHitBin 
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-05 20:00:34,279 |sse-nio-8443-exec-10 |ControlServlet 
|T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done- 
total:1.712,since last([ExampleReportPdf...):1.712]]

Building 91% > :ofbiz



-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Thursday, December 3, 2020 3:39 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Mmm, not sure it will work though,  I have not them into C:/WINDOWS/FONTS/ 
and it works here (I was the one who did that some years ago, on Windows 
too)


Also check fop.properties, maybe the name must be NotoSans "NotoSans" not 
"Noto Sans"


Not sure about all that :) I'd make several different tries...

Jacques

Le 03/12/2020 à 15:34, Jacques Le Roux a écrit :

Hi Georg,

The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd 
try to put them into C:/WINDOWS/FONTS/


HTH

Jacques

Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit :

Hi Jacques,

here are lines from the log. It does not find fonts, I have included only 
the last lines of the messages that it could not find the font.


Here is a screenshot of my fonts directory on Windows:
https://up.picr.de/40004386kt.png
It seems to me the fonts are there but with different names.

Georg

2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent 
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. 
Reason: java.lang.RuntimeException: The font 
file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a 
licensing restriction.
2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet 
|T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader 
|I| controller loaded: 0.0s, 50 requests, 34 views in 
file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml
2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader 
|I| controller loaded: 0.0s, 48 requests, 22 views in 
file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader 
|I| controller loaded: 0.0s, 0 requests, 0 views in 
file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controll

Re: Demos shutdown because possible security issues

2020-12-03 Thread Georg Potthast 2
I should add that I can generate PDF files fine on my Windows installation. The 
problem appears with barcode only. So I do not know why I need all these fonts.

Is there a Github site where I could look at the "demo-trunk.ofbiz.apache.org" 
code?

Georg

> Jacques Le Roux  hat am 03.12.2020 15:41 
> geschrieben:
> 
>  
> I'd have a look at 
> https://stackoverflow.com/questions/19767205/embedding-font-into-apache-fop 
> too
> 
> HTH
> 
> Le 03/12/2020 à 15:39, Jacques Le Roux a écrit :
> > Mmm, not sure it will work though,  I have not them into C:/WINDOWS/FONTS/ 
> > and it works here (I was the one who did that some years ago, on Windows 
> > too)
> >
> > Also check fop.properties, maybe the name must be NotoSans "NotoSans" not 
> > "Noto Sans"
> >
> > Not sure about all that :) I'd make several different tries...
> >
> > Jacques
> >
> > Le 03/12/2020 à 15:34, Jacques Le Roux a écrit :
> >> Hi Georg,
> >>
> >> The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd 
> >> try to put them into C:/WINDOWS/FONTS/
> >>
> >> HTH
> >>
> >> Jacques
> >>
> >> Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit :
> >>> Hi Jacques,
> >>>
> >>> here are lines from the log. It does not find fonts, I have included only 
> >>> the last lines of the messages that it could not find the font.
> >>>
> >>> Here is a screenshot of my fonts directory on Windows:
> >>> https://up.picr.de/40004386kt.png
> >>> It seems to me the fonts are there but with different names.
> >>>
> >>> Georg
> >>>
> >>> 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent
> >>>    |W| Unable to load font file: 
> >>> file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: 
> >>> java.lang.UnsupportedOperationException: coverage set class table not yet 
> >>> supported
> >>> 2020-12-03 13:00:56,627 |j

Re: Demos shutdown because possible security issues

2020-12-03 Thread Georg Potthast 2
: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:






http://www.w3.org/1999/XSL/Format;>

  

  
  
  

  

  

  
Example 11
  
  

  http://barcode4j.krysalis.org/ns;
  message="EX11">

  0.75in
  .375mm


  bottom
  Helvetica
  18pt
  false
  false

  

  
  

  
  

  

  



2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory 
|I| Got 27 screens in 0.016s from: 
file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory 
|I| Got 26 screens in 0.0s from: 
file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory 
|I| Got 8 screens in 0.015s from: 
file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory 
|I| Got 1 screens in 0.016s from: 
file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher 
|T| Sync service [example/getLastSystemInfoNote] finished in [16] milliseconds
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet
|T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done- 
total:22.793,since last([ExampleReportPdf...):22.793]]
2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet
|T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher 
|T| Sync service [example/setLocaleFromBrowser] finished in [32] milliseconds
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
|I| Ran Event [service:#setLocaleFromBrowser] from [request], result is 
[success]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
|I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId 
by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
|I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null 
Hidden sessionId by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
|I| Ran Event 
[java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] 
from [request], result is [success]
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet
|T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done- 
total:0.047,since last([setLocaleFromBro...):0.047]]
>



> Jacques Le Roux  hat am 03.12.2020 08:44 
> geschrieben:
> 
>  
> Hi  Georg,
> 
> Could you please send a little bit more of log?
> Most of the time 10 to 15 lines just before and below the issue helps.
> 
> Jacques
> 
> Le 02/12/2020 à 21:38, Georg Potthast a écrit :
> > That is good news, I was waiting for that!
> >
> > I have trouble with generating Barcode. Using the new demos, when I click 
> > on the Barcode button on the following screen I get a nice PDF with a 
> > barcode:
> > https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11
> >
> > However, on my local OFBiz installation (17.12.04) I get instead:
> > The Following Errors Occurred:
> > Unable to transform FO file: org.apache.fop.apps.FOPException 
> > java.lang.reflect.UndeclaredThrowableException
> >
> > What can I do to get it to work on my local PC?
> >
> > Georg
> >
> > -Ursprüngliche Nachricht- From: Jacques Le Roux
> > Sent: Tuesday, December 1, 2020 12:22 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Demos shutdown because possible security issues
> >
> > Hi,
> >
> > Good news the demos are back after OFBIZ-12080
> >
> > Enjoy!
> >
> > Jacques
> >
> > Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :
> >> Hi,
> >>
> >> Due to possible security issues the demos have been shutdown.
> >>
> >> These possible security issues are due to the demos data.
> >>
> >> So custom projects should not have to worry.
> >>
> >> We will discuss in dev ML how to restart the demos.
> >>
> >> Thanks for your patience
> >>
> >> Jacques
> >>
> >


Re: Demos shutdown because possible security issues

2020-12-02 Thread Georg Potthast

That is good news, I was waiting for that!

I have trouble with generating Barcode. Using the new demos, when I click on 
the Barcode button on the following screen I get a nice PDF with a barcode:

https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11

However, on my local OFBiz installation (17.12.04) I get instead:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException 
java.lang.reflect.UndeclaredThrowableException


What can I do to get it to work on my local PC?

Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Tuesday, December 1, 2020 12:22 PM
To: user@ofbiz.apache.org
Subject: Re: Demos shutdown because possible security issues

Hi,

Good news the demos are back after OFBIZ-12080

Enjoy!

Jacques

Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :

Hi,

Due to possible security issues the demos have been shutdown.

These possible security issues are due to the demos data.

So custom projects should not have to worry.

We will discuss in dev ML how to restart the demos.

Thanks for your patience

Jacques





Re: OFBiz Community Days - November 2020

2020-11-27 Thread Georg Potthast 2
Hi Michael,

this is the screen I get: 
[img]https://up.picr.de/39954061zl.png[/img]

It says "You have no email from apache.org? Please ask your workspace 
administrator at ASF for an invitation."

This is the link from Devanshu's message which I clicked:
"To chat with users and developers of Apache OFBiz. Please create a Slack 
account using this invite link <https://s.apache.org/slack-invite>" 

Georg

> Michael Brohl  hat am 27.11.2020 12:50 geschrieben:
> 
>  
> You can simply continue with your email instead of choosing Google.
> 
> Best regards,
> 
> Michael Brohl
> 
> ecomify GmbH - www.ecomify.de
> 
> 
> Am 27.11.20 um 12:19 schrieb Georg Potthast 2:
> > At least I cannot successfully open an account on Slack. When I selected 
> > "Access with Google" as offered on the screen, I was asked if I would allow 
> > to provide access to my data to Slack and after I answered yes, I was 
> > presented with a drop-down list with all my email addresses to choose from.
> >
> >> Michael Brohl  hat am 27.11.2020 08:24 
> >> geschrieben:
> >>
> >>   
> >> Good morning Georg,
> >>
> >> there are several people on the #ofbiz Slack channel with mail addresses
> >> other than @apache.org so this should work.
> >>
> >> What makes you think that Slack will read all your email contacts then?
> >> I am pretty sure that this can be switched off for data protection reasons.
> >>
> >> Best regards,
> >>
> >> Michael Brohl
> >>
> >> ecomify GmbH - www.ecomify.de
> >>
> >>
> >> Am 27.11.20 um 08:07 schrieb Georg Potthast:
> >>> Devanshu,
> >>>
> >>> I tried to get an account with Slack to join the room as you
> >>> mentioned. However, I can only create an account with an email address
> >>> that ends with @apache.org. When I try to get an account with Google
> >>> instead, it apparently reads all my email addresses from my PC. But
> >>> following that I cannot use one of these because I have no @apache.org
> >>> email address.
> >>>
> >>> Georg
> >>>
> >>> -Ursprüngliche Nachricht- From: Devanshu Vyas
> >>> Sent: Saturday, November 21, 2020 2:18 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: OFBiz Community Days - November 2020
> >>>
> >>> Hello all,
> >>>
> >>> We are back with OFBiz Community Days, hope you are excited too! :-)
> >>> The community days are organized once per quarter so a total of four(4)
> >>> events throughout the year.
> >>>
> >>> We are having a sequence of 5 days that form the Community Days. This
> >>> extends the time frame and gives people more flexibility to contribute.
> >>> So, this month our Community Days will be from *27th November – 1st
> >>> December 2020*.
> >>>
> >>> If you are new to the concept of Community Days then please take a
> >>> look at
> >>> the following wiki pages:
> >>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days
> >>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days+Dates
> >>>
> >>>
> >>> This is such an event where anyone can participate (and we would like to
> >>> encourage as many people as possible to do so)
> >>>
> >>> If there is an OFBiz task or particular area that you would like to
> >>> work on
> >>> then please see if you can set aside some time over the next few days
> >>> to do
> >>> it. (Even an hour will help!)
> >>>
> >>> Remember that you do not have to work on it alone, our Community Days are
> >>> also a chance to collaborate with others in the community.
> >>>
> >>> Our Community Days are not only coding related, but we would also like to
> >>> do some tidy up of our wiki and our project documentation.
> >>>
> >>> *Testing, Review and Committing Patches*
> >>> Testing and applying patches is always an important area. Many
> >>> contributors
> >>> from the community have provided patches for bugs and improvements but
> >>> before committing them we need to test to them.
> >>>
> >>> Patches can become out of date very quickly meaning that if they are not
> >>> tested early enough then they can miss out on being included. We 

Re: OFBiz Community Days - November 2020

2020-11-27 Thread Georg Potthast 2
At least I cannot successfully open an account on Slack. When I selected 
"Access with Google" as offered on the screen, I was asked if I would allow to 
provide access to my data to Slack and after I answered yes, I was presented 
with a drop-down list with all my email addresses to choose from.

> Michael Brohl  hat am 27.11.2020 08:24 geschrieben:
> 
>  
> Good morning Georg,
> 
> there are several people on the #ofbiz Slack channel with mail addresses 
> other than @apache.org so this should work.
> 
> What makes you think that Slack will read all your email contacts then? 
> I am pretty sure that this can be switched off for data protection reasons.
> 
> Best regards,
> 
> Michael Brohl
> 
> ecomify GmbH - www.ecomify.de
> 
> 
> Am 27.11.20 um 08:07 schrieb Georg Potthast:
> > Devanshu,
> >
> > I tried to get an account with Slack to join the room as you 
> > mentioned. However, I can only create an account with an email address 
> > that ends with @apache.org. When I try to get an account with Google 
> > instead, it apparently reads all my email addresses from my PC. But 
> > following that I cannot use one of these because I have no @apache.org 
> > email address.
> >
> > Georg
> >
> > -Ursprüngliche Nachricht- From: Devanshu Vyas
> > Sent: Saturday, November 21, 2020 2:18 PM
> > To: user@ofbiz.apache.org
> > Subject: OFBiz Community Days - November 2020
> >
> > Hello all,
> >
> > We are back with OFBiz Community Days, hope you are excited too! :-)
> > The community days are organized once per quarter so a total of four(4)
> > events throughout the year.
> >
> > We are having a sequence of 5 days that form the Community Days. This
> > extends the time frame and gives people more flexibility to contribute.
> > So, this month our Community Days will be from *27th November – 1st
> > December 2020*.
> >
> > If you are new to the concept of Community Days then please take a 
> > look at
> > the following wiki pages:
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days+Dates
> >  
> >
> >
> > This is such an event where anyone can participate (and we would like to
> > encourage as many people as possible to do so)
> >
> > If there is an OFBiz task or particular area that you would like to 
> > work on
> > then please see if you can set aside some time over the next few days 
> > to do
> > it. (Even an hour will help!)
> >
> > Remember that you do not have to work on it alone, our Community Days are
> > also a chance to collaborate with others in the community.
> >
> > Our Community Days are not only coding related, but we would also like to
> > do some tidy up of our wiki and our project documentation.
> >
> > *Testing, Review and Committing Patches*
> > Testing and applying patches is always an important area. Many 
> > contributors
> > from the community have provided patches for bugs and improvements but
> > before committing them we need to test to them.
> >
> > Patches can become out of date very quickly meaning that if they are not
> > tested early enough then they can miss out on being included. We have a
> > large number of patches available so this could be a good opportunity for
> > test, review and commit.
> >
> > *Documentation*
> > We know that our current documentation could be a whole lot better so any
> > contribution that helps us improve it is welcome.
> >
> > *Jira Sprint*
> > I will create a Jira sprint "OFBiz Community Day (November 2020)" so 
> > please
> > add any Jira tasks when you are working on it.
> > This Jira Sprint helps us track and report on the work done during the
> > Community Days so please try to make sure your work is included.
> > To set the sprint on an existing issue, simply click on the "Edit" option
> > on the issue and select the sprint field.
> >
> > We should add the Sprint in all the cases:
> > 1.) If we create a ticket we should add it.
> > 2.) If we start working on an existing ticket (adding patch or closing it
> > after a commit) we should add sprint if it is missing.
> >
> > Basically adding Sprint will make sure the contribution will be 
> > counted in
> > OFBiz community days event, which is from 27th November – 1st December.
> > At the end of November's OFBiz Community day i.e. after 1st December, 
> > this
> > will help us in reporting.
> >
> 

Re: OFBiz Community Days - November 2020

2020-11-26 Thread Georg Potthast

Devanshu,

I tried to get an account with Slack to join the room as you mentioned. 
However, I can only create an account with an email address that ends with 
@apache.org. When I try to get an account with Google instead, it apparently 
reads all my email addresses from my PC. But following that I cannot use one 
of these because I have no @apache.org email address.


Georg

-Ursprüngliche Nachricht- 
From: Devanshu Vyas

Sent: Saturday, November 21, 2020 2:18 PM
To: user@ofbiz.apache.org
Subject: OFBiz Community Days - November 2020

Hello all,

We are back with OFBiz Community Days, hope you are excited too! :-)
The community days are organized once per quarter so a total of four(4)
events throughout the year.

We are having a sequence of 5 days that form the Community Days. This
extends the time frame and gives people more flexibility to contribute.
So, this month our Community Days will be from *27th November – 1st
December 2020*.

If you are new to the concept of Community Days then please take a look at
the following wiki pages:
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Community+Days+Dates

This is such an event where anyone can participate (and we would like to
encourage as many people as possible to do so)

If there is an OFBiz task or particular area that you would like to work on
then please see if you can set aside some time over the next few days to do
it. (Even an hour will help!)

Remember that you do not have to work on it alone, our Community Days are
also a chance to collaborate with others in the community.

Our Community Days are not only coding related, but we would also like to
do some tidy up of our wiki and our project documentation.

*Testing, Review and Committing Patches*
Testing and applying patches is always an important area. Many contributors
from the community have provided patches for bugs and improvements but
before committing them we need to test to them.

Patches can become out of date very quickly meaning that if they are not
tested early enough then they can miss out on being included. We have a
large number of patches available so this could be a good opportunity for
test, review and commit.

*Documentation*
We know that our current documentation could be a whole lot better so any
contribution that helps us improve it is welcome.

*Jira Sprint*
I will create a Jira sprint "OFBiz Community Day (November 2020)" so please
add any Jira tasks when you are working on it.
This Jira Sprint helps us track and report on the work done during the
Community Days so please try to make sure your work is included.
To set the sprint on an existing issue, simply click on the "Edit" option
on the issue and select the sprint field.

We should add the Sprint in all the cases:
1.) If we create a ticket we should add it.
2.) If we start working on an existing ticket (adding patch or closing it
after a commit) we should add sprint if it is missing.

Basically adding Sprint will make sure the contribution will be counted in
OFBiz community days event, which is from 27th November – 1st December.
At the end of November's OFBiz Community day i.e. after 1st December, this
will help us in reporting.

*OFBiz Slack Channel*
If you haven't already taken a look, our OFBiz Slack channel is available
all the time but can be especially useful when collaborating during our
Community Days event. Please join our room using the link below:
https://s.apache.org/ofbiz-slack-channel

To chat with users and developers of Apache OFBiz. Please create a Slack
account using this invite link  and join
the *#ofbiz channel*.  Please do
*not* ask OFBiz questions/discussion in the #general channel.

Let's all collaborate to improve OFBiz, have fun and enjoy working together.

Thanks & Regards,
Devanshu Vyas. 



Re: Shorten the order fulfillment processs

2020-11-15 Thread Georg Potthast

Hi Jacques,

I wanted to look again at the link you provided, but it is no longer 
available. Is the code available somewhere?


[1] https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry

Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Monday, August 10, 2020 4:10 PM
To: user@ofbiz.apache.org
Subject: Re: Shorten the order fulfillment processs

Hi Georg,

I did something like that in 2007 for an ecommerce GB company (not with the 
signed delivery note part).
I had to add some custom code to the order entry wizard/tunnel[1] and it's 
still the same today.
As the needs are most of the time specific there is no way to have that 
OOTB. But it's easy to add because all the bricks are present.


HTH

Jacques

[1] https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry

Le 07/08/2020 à 10:04, Georg Potthast 2 a écrit :

I hope this question will open in a new thread.

We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in 
the wiki page OFBIZ/Order+Fulfillment+Process+Overview


We take the orders by phone and generate a delivery note from that. Our 
driver picks the goods from our storage and delivers them to the customer. 
When he returns with a signed delivery note from the customer, we enter 
the delivery note into the ERP system. The ERP system takes a look at the 
agreement details for the customer including his price and generates an 
invoice which is sent in the mail.


This does not seem to fit the process described in the wiki page. How can 
we use OFBiz to fit our existing process? 




Re: How to return to a previous plugin version?

2020-11-02 Thread Georg Potthast

Thank you Aditya and Michael,

I worked with various versions of the same plugin. So I had several mytest* 
plugins in the plugin directory with the same mount point in the 
ofbiz-component.xml file. I did not remember that OFBiz runs through all 
directories and reads the ofbiz-component.xml files for each.


Now I moved all the directories I made for backup into a directory outside 
of the ofbiz directory. Now it works as far as I can tell. I use WinMerge to 
compare the directories for changes.


Georg

-Ursprüngliche Nachricht- 
From: Michael Brohl

Sent: Monday, November 2, 2020 6:36 PM
To: user@ofbiz.apache.org
Subject: Re: How to return to a previous plugin version?

Additionally, I'd recommend putting a component-load.xml in the plugins
directory where you can specify which plugin(s) should be loaded and in
which order.

For a quick change, simply comment out the plugins you do not need and
restart ofbiz.

component-load.xml

http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd;>
    
    
   


You should be able to see the loading of your plugin(s) in the log like
this:

2020-11-02 14:56:23,028 |main |CatalinaContainer             |I|
Creating context [mytest]


Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 02.11.20 um 07:19 schrieb Aditya Sharma:

Hi Georg,

What I suspect with a cursory reading is as you made a replica the values
of mount point etc may be the same
https://github.com/apache/ofbiz-plugins/blob/trunk/ecommerce/ofbiz-component.xml#L55

As you are new to OFBiz, I would recommend using the Gradle task to create
a new plugin instead of replicating it.

if you just want to play with it with various versions of same plugin. I
would recommend you is to initialise plugin as a local git repo and create
separate branches for drastic changes. This way it would easy to track the
changes also.
https://git-scm.com/docs/git-init

HTH

Thanks and Regards,
Aditya Sharma

On Mon, Nov 2, 2020 at 2:11 AM Georg Potthast 
wrote:


For testing I create a plugin, e.g. mytest: “gradlew
createPlugin -PpluginId=mytest”. To be able to fall back to a working
version, I frequently copy this plugin directory to e.g. mytest-1,
mytest-2
etc. When I decide to use the mytest-1 directory again, I rename the
directory I am currently working with to mytest-current and copy mytest-1
to
mytest. Then I restart ofbiz and expect that to work with this mytest
directory.

However, OFBiz seems to continue to work with the former current
directory.
E.g. I have made three menu items in mytest-current while I had just two
menu items in the older mytest-1 directory. After copying the mytest-1
directory to mytest and restarting OFBiz, I still have three menu items
displayed although there should be only two.

What could be the reason for this and what do I have to do to properly
fall
back to the state of mytest-1?






How to return to a previous plugin version?

2020-11-01 Thread Georg Potthast
For testing I create a plugin, e.g. mytest: “gradlew 
createPlugin -PpluginId=mytest”. To be able to fall back to a working 
version, I frequently copy this plugin directory to e.g. mytest-1, mytest-2 
etc. When I decide to use the mytest-1 directory again, I rename the 
directory I am currently working with to mytest-current and copy mytest-1 to 
mytest. Then I restart ofbiz and expect that to work with this mytest 
directory.


However, OFBiz seems to continue to work with the former current directory. 
E.g. I have made three menu items in mytest-current while I had just two 
menu items in the older mytest-1 directory. After copying the mytest-1 
directory to mytest and restarting OFBiz, I still have three menu items 
displayed although there should be only two.


What could be the reason for this and what do I have to do to properly fall 
back to the state of mytest-1? 



Re: Setup issues

2020-10-26 Thread Georg Potthast

You can use Webtools to see the data related to each entity in the database.

-Ursprüngliche Nachricht- 
From: Dominic Amann

Sent: Monday, October 26, 2020 6:25 PM
To: user@ofbiz.apache.org
Subject: Re: Setup issues

Yes, the data is there (in XML). I guess I need to go poking around in the
database to find out if it got into there during setup? Or perhaps check
the pages of output during the "./gradlew loadAll " step... I'll do the
latter first.

On Mon, 26 Oct 2020 at 13:11, Jason RJ  wrote:


Hi Dominic,

Province data and similar locality data is part of the seed data and
loaded from the /framework/common/data/Geo*.xml files you should be able
to spot that being loaded in your initial setup log output. It's been a
while since I've spun up a clean instance, but the data is certainly
there so it's just not being loaded for some reason.

Hope that helps,

Jason


On 26/10/2020 16:55, Dominic Amann wrote:
> I am attempting to setup OFBiz for my business.
>
> I am a Linux developer of many years experience.
>
> I wanted a secure (SSL) setup, and I thought I would use Mariadb as I
> already use that for other software, and I would avoid duplication with
> another database. I stretched this further by wanting to have no demo
data.
>
> I found it very difficult to accomplish all this. Much more difficult
than
> I might have expected for a major apache project. However, I persevered,
> and after a whole weekend of work, I got it working to a first order. I
> have documented each step I took.
>
> HOWEVER:
>
> I CANNOT ADD A PARTY MAILING ADDRESS. There are no provinces listed for
> Canada. There are no states listed for the USA. I don't know other
> countries intimately, so I can't speak for them. As a result of being
> incomplete, I cannot add addresses at all.
>
> I initially thought this must be because I did not use the demo data.
So, I
> repeated my work, but left the demo data in place. SAME PROBLEM.
>
> Then I thought that perhaps I should do the migration (to Mysql) AFTER
> setting up the initial data. That was BROKEN and wouldn't complete on
> import, and the resulting website wouldn't display properly.
>
> Then I thought it might be the database - perhaps it doesn't work with
> mysql. I would just do the straightforward install, and work with that.
> SAME PROBLEM.
>
> So here we are: 3 full days and I can't enter my first employee, even
with
> the simplest install with default settings.  Of course there is one
> fundamental lesson here: never just believe that something works just
> because it is from a reputable project that has been out there for
years. I
> should have known better.
>




--


Dominic Amann

M 416-270-4587 



Re: BIRT Flexible reports questions

2020-10-05 Thread Georg Potthast 2
Thank you Jacques,

I will be travelling for a couple of days, so I cannot try that now. But I will 
end of this week.
Since I am a contributor, I can change the wiki documentation so that I would 
understand it and you could modify what I wrote if needed.

Georg

> Jacques Le Roux  hat am 05.10.2020 09:44 
> geschrieben:
> 
>  
> Le 05/10/2020 à 09:25, Jacques Le Roux a écrit :
> > < > Explorer" >> 
> 
> This is after having created your report; saved it in the Report Builder dir 
> and opened it in the Report Builder.
> 
> Then to create the layout in your report: in "Data Explorer" open "Data Sets" 
> (click on it); right click on the only "Data Set" and use "Insert the 
> Layout"; save your change.
> 
> This is the "Simple design without break" option as explained in the doc. 
> There are other more advanced options explained in the doc.
> 
> HTH (I know it's not as easy as it look once you have done it 1st time)
> 
> Jacques


Re: BIRT Flexible reports questions

2020-10-05 Thread Georg Potthast

Hi Jacques,

thank you for the fix! I will test it end of this week. However, does this 
cause the downloaded rptdesign files to contain a layout now or shall they 
have no layout and just contain a data set?


Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Sunday, October 4, 2020 12:07 PM
To: user@ofbiz.apache.org
Subject: Re: BIRT Flexible reports questions

Hi Georg,

Good news, with https://issues.apache.org/jira/browse/OFBIZ-12039 I fixed 
the issue.


I was then able to follow the doc to "Insert the Layout" from the "Data Set" 
in "Data Explorer" from the "Report Builder" and it worked as before


You just need to update your working copy with this fix and it should be 
alright


Enjoy!

Jacques

Le 03/10/2020 à 19:17, Jacques Le Roux a écrit :

Hi Georg,

I found these errors in OFBiz log (or console):

2020-10-03 19:07:48,910 |jsse-nio-8443-exec-4 |ServiceDispatcher 
|T| Sync service [birt/prepareFlexibleReportSearchFormToEdit] finished in 
[1] milliseconds
2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 1. Error 
message: cvc-elt.1.a: Cannot find the declaration of element 'forms'.
2020-10-03 19:07:48,926 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,929 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,931 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,933 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,935 |jsse-nio-8443-exec-4 |UtilXml 
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error 
message: TargetNamespace.2: Expecting no namespace, but the schema 
document has a target

 namespace of 'http://ofbiz.apache.org/Widget-Form'.

I had some old files in my Birt\workspace\Report Builder dir. I picked one 
and it worked as before. So I guess the problem is really these errors 
above.


I'll have a deeper look ASAP

Thanks for your interest in the BIRT Flexible reports  :)

Jacques

Le 26/09/2020 à 13:47, Georg Potthast a écrit :
I kept on testing BIRT flexible reports. When I generate a report like 
this:

select „Choose report topic: example“,
enter the name e.g. „myexample“ plus a description,
click „send“ and download the generated report.
The downloaded myexample.rptdesign has no layout and the Data Set 
includes all the fields in the entity definition for 
entity-name="Example" in \plugins\example\entitydef\entitymodel.xml.
I can drag a new table into the main window and specify „Data Set“ as the 
Data Set. Then I can select exampleId, exampleTypeId and exampleName from 
the list of fields. If I save this report design then and upload it, it 
will show the report result as provided in the example at the main 
button.


This works but it is not mentioned as the procedure to use in the online 
documentation. I expected that the downloaded file includes a layout 
which the master would provide.






Browsing Derby Database in Eclipse

2020-10-05 Thread Georg Potthast
In this wiki page 
https://cwiki.apache.org/confluence/display/OFBIZ/Browsing+Derby+Database+in+Eclipse
 it says:
“The template expects the driver to be in a file called derby.jar. [...] You 
will find this in your workspace as 
framework/entity/lib/jdbc/derby-10.2.2.0.jar”
However, it is not at that location and I cannot find it anywhere else. Where 
can I find this driver?

Request to become an contributor

2020-10-02 Thread Georg Potthast

I forgot to mention my confluence username. It is georgp24

-Ursprüngliche Nachricht- 
From: Craig L Russell

Sent: Sunday, September 27, 2020 4:01 PM
To: Georg Potthast
Cc: G. Potthast ; priv...@ofbiz.apache.org
Subject: Re: ICLA agreement

Dear Georg Potthast,

This message acknowledges receipt of your ICLA, which has been filed in the 
Apache Software Foundation records.


With this message, the OFBiz PMC has been notified that your ICLA has been 
filed.


** Please contact the Apache OFBiz PMC with any further questions, not the 
Secretary. Thanks. **


If you have been invited as a committer, please provide the Apache OFBiz PMC 
(copied) with your preferred Apache id.


The id must not already be in use. See 
https://people.apache.org/committer-index.html
Note that some existing ids include '-' and '_'. These characters are no 
longer permitted in ids.


The id must consist of lowercase alphanumeric characters only, starting with 
an alphabetic character.

Minimum length 3 characters. No special characters.

Warm Regards,

--
Craig L Russell
Assistant Secretary, Apache Software Foundation 



Request to become an contributor

2020-09-27 Thread Georg Potthast
I have signed a CLA 
https://people.apache.org/unlistedclas.html 
and have a confluence ID 
https://cwiki.apache.org/confluence/dopeopledirectorysearch.action?queryString=potthast=Search=false=0

Re: BIRT Flexible reports questions

2020-09-26 Thread Georg Potthast

I kept on testing BIRT flexible reports. When I generate a report like this:
select „Choose report topic: example“,
enter the name e.g. „myexample“ plus a description,
click „send“ and download the generated report.
The downloaded myexample.rptdesign has no layout and the Data Set includes 
all the fields in the entity definition for entity-name="Example" in 
\plugins\example\entitydef\entitymodel.xml.
I can drag a new table into the main window and specify „Data Set“ as the 
Data Set. Then I can select exampleId, exampleTypeId and exampleName from 
the list of fields. If I save this report design then and upload it, it will 
show the report result as provided in the example at the main button.


This works but it is not mentioned as the procedure to use in the online 
documentation. I expected that the downloaded file includes a layout which 
the master would provide.




init-gradle-wrapper.bat will not run on Windows 10

2020-09-25 Thread Georg Potthast
I guess after one of the recent Windows updates the file 
init-gradle-wrapper.bat will not run anymore.


After downloading apache-ofbiz-17.12.04.zip and unpacking it I have problems 
running the init-gradle-wrapper.bat script in an administrator command 
window. I get the message like „The file 
"C:\ofbiz\gradle\init-gradle-wrapper.ps1" cannot be executed - the file 
"C:\ofbiz\gradle\init-gradle-wrapper.ps1" is not digitally signed.


I finally got it to work by changing the executionpolicy in the 
init-gradle-wrapper.bat file from „remotesigned“ to „bypass“:

Powershell.exe -executionpolicy bypass -File gradle\init-gradle-wrapper.ps1



Re: BIRT Flexible reports questions

2020-09-24 Thread Georg Potthast

Here is my message again, slightly extended. Yes, I need help with this.

I did some more testing but I do not know what I did not understand and do 
wrong.


When I generate a report I select „Choose report topic: example“, enter the 
name „example“ as the report name plus the description and click „send“. So 
I assume I selected the master "example.rptdesign" to generate my report.


This generates the file 
G:\ofbiz-2\runtime\uploads\birtRptDesign\example_0.rptdesign.


When open this file with the BIRT report designer or download this file and 
open it, the Initialize, Open and Fetch scripts are completely different 
from the ones in the „plugins\birt\webapp\birt\report\example.rptdesign“ 
file which I think is the master. I assume these files should be the same?


I get the following scripts:

Initialize:
importPackage(Packages.org.eclipse.birt.report.engine.api);
importPackage(Packages.org.apache.ofbiz.entity);
importPackage(Packages.org.apache.ofbiz.service);
importPackage(Packages.org.apache.ofbiz.base.util);
importPackage(java.util);
module = "G:/ofbiz-2/runtime/uploads/birtRptDesign/example_0.rptdesign"; 
Debug.logInfo("## In initialize ", module);


Open:
importPackage(Packages.org.apache.ofbiz.birt);
Debug.logInfo(" In open", module)
try {
   listRes = dispatcher.runSync("callPerformFindFromBirt", 
UtilMisc.toMap("userLogin", reportContext.getParameterValue("userLogin"), 
"locale", reportContext.getParameterValue("locale"), "reportContext", 
reportContext));

   if (ServiceUtil.isError(listRes)) {
Debug.logError(ServiceUtil.getErrorMessage(listRes));
   }
}
catch (e) { Debug.logError(e, module); }
records = listRes.get("records");
countOfRow = 0;
totalRow = records.size();

Fetch:
if (countOfRow == totalRow) return false;
line = records.get(countOfRow);
longDescription = line.get("longDescription"); row["longDescription"] = 
longDescription;
exampleTypeId = line.get("exampleTypeId"); row["exampleTypeId"] = 
exampleTypeId;

anotherDate = line.get("anotherDate"); row["anotherDate"] = anotherDate;
exampleDate = line.get("exampleDate"); row["exampleDate"] = exampleDate;
exampleId = line.get("exampleId"); row["exampleId"] = exampleId;
comments = line.get("comments"); row["comments"] = comments;
statusId = line.get("statusId"); row["statusId"] = statusId;
description = line.get("description"); row["description"] = description;
anotherText = line.get("anotherText"); row["anotherText"] = anotherText;
exampleName = line.get("exampleName"); row["exampleName"] = exampleName;
exampleSize = line.get("exampleSize"); row["exampleSize"] = exampleSize;
countOfRow ++;


However, the scripts in the 
plugins\birt\webapp\birt\report\example.rptdesign file, which I think is the 
master, are:


Initialize:
importPackage(Packages.org.apache.ofbiz.base.util)
module = "example.rptdesign";

Open:
examples = null;
try {
   examples = delegator.findList("Example", null, null, null, null, false);
} catch (e) {
   Debug.logError(e, module);
}
totalRow = 0;
countOfRow = 0;
if (examples) {
   totalRow = examples.size();
}return true;

Fetch:
if (countOfRow == totalRow - 1) return false;

example = examples.get(countOfRow);
exampleId = example.getString("exampleId");
exampleTypeId = example.getString("exampleTypeId");
exampleName = example.getString("exampleName");

row["exampleId"] = exampleId;
row["exampleTypeId"] = exampleTypeId;
row["exampleName"] = exampleName;

countOfRow ++;
return true;


When I then run the report with output as html/text I get the message:
The following items have errors:

Table (id = 35):
+ DataSet "Example" is not defined in report.
+ A BIRT exception occurred. See next exception for more information.
ReferenceError: "dataSetRow" is not defined.


However, I get it to run when I copy the 
„plugins\birt\webapp\birt\report\example.rptdesign“ file into the 
„G:\ofbiz-2\runtime\uploads\birtRptDesign„ directory and rename it to 
„example_0.rptdesign“. Then I get the same report as the example PDF 
available in the „Main“ button. I can also download that and upload it 
again. It will work.


So it seems to me that the example_0.rptdesign file is not generated 
properly. At least you cannot generate a report from it without 
modifications which are not mentioned in the BIRT flexible reports 
documentation.




-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Thursday, September 24, 2020 6:50 PM
To: user@ofbiz.apache.org
Subject: Re: BIRT Flexible reports questions

Hi Georg,

Sorry, I saw your last message this morning but I lost it (issue with my 
machine). If needed please resend, TIA




Re: BIRT Flexible reports questions

2020-09-24 Thread Georg Potthast
I did some more testing but I do not know what I do not understand or do 
wrong.


When I generate a report I select „Choose report topic: example“, enter the 
name „example“ as the report name plus a description and click „send“.


This generates the file 
G:\ofbiz-2\runtime\uploads\birtRptDesign\example_0.rptdesign.


When open this file with the BIRT report designer or download this file and 
open it, the Initialize, Open and Fetch scripts are completely different 
from the ones in the „plugins\birt\webapp\birt\report\example.rptdesign“ 
file which I think is the master. I assume both files should be the same?


I get the following scripts:

Initialize:
importPackage(Packages.org.eclipse.birt.report.engine.api);
importPackage(Packages.org.apache.ofbiz.entity);
importPackage(Packages.org.apache.ofbiz.service);
importPackage(Packages.org.apache.ofbiz.base.util);
importPackage(java.util);
module = "G:/ofbiz-2/runtime/uploads/birtRptDesign/newtest_0.rptdesign"; 
Debug.logInfo("## In initialize ", module);


Open:
importPackage(Packages.org.apache.ofbiz.birt);
Debug.logInfo(" In open", module)
try {
   listRes = dispatcher.runSync("callPerformFindFromBirt", 
UtilMisc.toMap("userLogin", reportContext.getParameterValue("userLogin"), 
"locale", reportContext.getParameterValue("locale"), "reportContext", 
reportContext));

   if (ServiceUtil.isError(listRes)) {
Debug.logError(ServiceUtil.getErrorMessage(listRes));
   }
}
catch (e) { Debug.logError(e, module); }
records = listRes.get("records");
countOfRow = 0;
totalRow = records.size();

Fetch:
if (countOfRow == totalRow) return false;
line = records.get(countOfRow);
longDescription = line.get("longDescription"); row["longDescription"] = 
longDescription;
exampleTypeId = line.get("exampleTypeId"); row["exampleTypeId"] = 
exampleTypeId;

anotherDate = line.get("anotherDate"); row["anotherDate"] = anotherDate;
exampleDate = line.get("exampleDate"); row["exampleDate"] = exampleDate;
exampleId = line.get("exampleId"); row["exampleId"] = exampleId;
comments = line.get("comments"); row["comments"] = comments;
statusId = line.get("statusId"); row["statusId"] = statusId;
description = line.get("description"); row["description"] = description;
anotherText = line.get("anotherText"); row["anotherText"] = anotherText;
exampleName = line.get("exampleName"); row["exampleName"] = exampleName;
exampleSize = line.get("exampleSize"); row["exampleSize"] = exampleSize;
countOfRow ++;
return true;

However, e.g. the fetch script in the 
„plugins\birt\webapp\birt\report\example.rptdesign“ file is:


if (countOfRow == totalRow - 1) return false;

example = examples.get(countOfRow);
exampleId = example.getString("exampleId");
exampleTypeId = example.getString("exampleTypeId");
exampleName = example.getString("exampleName");

row["exampleId"] = exampleId;
row["exampleTypeId"] = exampleTypeId;
row["exampleName"] = exampleName;

countOfRow ++;
return true;


When I run the report with output as html/text I get the message:
The following items have errors:

Table (id = 35):
+ DataSet "Example" is not defined in report.
+ A BIRT exception occurred. See next exception for more information.
ReferenceError: "dataSetRow" is not defined.

However, I get it to run when I copy the 
„plugins\birt\webapp\birt\report\example.rptdesign“ file into the 
„G:\ofbiz-2\runtime\uploads\birtRptDesign„ directory and rename it to 
„example_0.rptdesign“. Then I get the same report as the example PDF 
available in the „Main“ button.





Re: BIRT Flexible reports questions

2020-09-19 Thread Georg Potthast

Hi Jacques,

thank you for your message. I am sorry to hear you had a system crash. I 
should make backups with my PC soon I guess. Still looking forward to be 
able to use the BIRT flexible reports


Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Saturday, September 19, 2020 12:07 PM
To: user@ofbiz.apache.org
Subject: Re: BIRT Flexible reports questions

Hi Georg,

Sorry I planned to answer you early. My main OS (Win 7) crashed after 6 
years of good and reliable service. Fortunately I have a daily and weekly
backups. After 3 days of work I'm back with almost the last state before 
crashing.


I still plan to answer you but I need to relax a bit ;)

Jacques

Le 16/09/2020 à 16:03, Georg Potthast a écrit :


Hi Jacques,

I used:
https://ci.apache.org/projects/ofbiz/site/trunk/pluginsdoc/birt/html5/birt.html

Georg

-Ursprüngliche Nachricht- From: Jacques Le Roux
Sent: Wednesday, September 16, 2020 2:42 PM
To: user@ofbiz.apache.org
Subject: Re: BIRT Flexible reports questions

Hi Georg,

Which "online documentation" did you use?

Jacques

Le 16/09/2020 à 10:31, Georg Potthast a écrit :
I try to use the BIRT Flexible reports as described in the online 
documentation.


First I downloaded and installed the BIRT report designer for Windows. 
Then I made a new directory „reports“ in the designer's directory. After 
that I called BIRT from the main menu and selected Flexible Reports. In 
the „manage reports“ screen I click on the generate report button and 
enter „test123“ as the name of the new report and „testing“ as a 
description. I then click send and get a message that the test123 file 
has been generated.


Then, in the edit screen, I click on the „download rptdesign file“ 
button. A window opens and asks me if I want to save the „test.rptdesign“ 
file. So it did cut off the „123“ at the end. I tested this with 
different names, the numbers are always removed from the file name. The 
file is also saved on disk without these numbers. Seems like a bug to me.


So I choose a file name without numbers: „testa“ and save the 
testa.rptdesign file in my „reports“ directory in the BIRD designer. 
However, when I open this file the layout is empty. When I upload the 
file again and execute it, I get an empty page.


The testa design file has OFBiz as the data source. As Data Sets there is 
“Data Set” with „anotherDate, anotherText, etc.” How can I add the data 
set fields for OFBiz so I get the same report as the PDF example on the 
BIRT start page (exampleID exampleTypeID exampleName)? I would like to 
use the data that is stored in the 
„ofbiz\plugins\birt\data\example\ExampleDemoData.xml“ file.









Re: Problem installing version 17.12.04 on Windows 8

2020-09-19 Thread Georg Potthast
I made notes how I installed OFBiz on Windows 10 and posted this in this 
forum last month. Maybe that helps.


https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E

In Step 8 it says:
open a command window in administrator mode
for that right-click on the start button, open search, enter cmd and execute 
as administrator



-Ursprüngliche Nachricht- 
From: Alfonso Barreto

Sent: Saturday, September 19, 2020 5:36 AM
To: user@ofbiz.apache.org
Subject: Re: Problem installing version 17.12.04 on Windows 8

Thanks Rick, I did what I think is the same you did,




Set-ExecutionPolicy Unrestricted

But the result is the same.







   On Friday, September 18, 2020, 9:05:31 AM CDT, Rick Fleming 
 wrote:




On 2020/09/18 04:42:22, Alfonso Barreto  wrote:

I cant run the first step :
C:\OfBiz\apache-ofbiz-17.12.04>init-gradle-wrapper.bat
No se puede cargar el archivo
C:\OfBiz\apache-ofbiz-17.12.04\gradle\init-gradle-wrapper.ps1. El archivo
C:\OfBiz\apache-ofbiz-17.12.04\gradle\init-gradle-wrapper.ps1 no está 
firmado

digitalmente. No se puede ejecutar este script en el sistema actual. Para
obtener más información acerca de la ejecución de scripts y la 
configuración

de la directiva de ejecución, vea about_Execution_Policies en
http://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo  : SecurityError: (:) [], 
ParentContainsErrorRecord

   Exception
+ FullyQualifiedErrorId : UnauthorizedAccess


I already did this, Iam running it as Administrator:



Many thanks for your help

I had to set my windows 10 execution policy to unrestricted to get the bat 
file to run in my power shell.
-Rick 



Re: BIRT Flexible reports questions

2020-09-16 Thread Georg Potthast

Hi Jacques,

I used:
https://ci.apache.org/projects/ofbiz/site/trunk/pluginsdoc/birt/html5/birt.html

Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Wednesday, September 16, 2020 2:42 PM
To: user@ofbiz.apache.org
Subject: Re: BIRT Flexible reports questions

Hi Georg,

Which "online documentation" did you use?

Jacques

Le 16/09/2020 à 10:31, Georg Potthast a écrit :
I try to use the BIRT Flexible reports as described in the online 
documentation.


First I downloaded and installed the BIRT report designer for Windows. 
Then I made a new directory „reports“ in the designer's directory. After 
that I called BIRT from the main menu and selected Flexible Reports. In 
the „manage reports“ screen I click on the generate report button and 
enter „test123“ as the name of the new report and „testing“ as a 
description. I then click send and get a message that the test123 file has 
been generated.


Then, in the edit screen, I click on the „download rptdesign file“ button. 
A window opens and asks me if I want to save the „test.rptdesign“ file. So 
it did cut off the „123“ at the end. I tested this with different names, 
the numbers are always removed from the file name. The file is also saved 
on disk without these numbers. Seems like a bug to me.


So I choose a file name without numbers: „testa“ and save the 
testa.rptdesign file in my „reports“ directory in the BIRD designer. 
However, when I open this file the layout is empty. When I upload the file 
again and execute it, I get an empty page.


The testa design file has OFBiz as the data source. As Data Sets there is 
“Data Set” with „anotherDate, anotherText, etc.” How can I add the data 
set fields for OFBiz so I get the same report as the PDF example on the 
BIRT start page (exampleID exampleTypeID exampleName)? I would like to use 
the data that is stored in the 
„ofbiz\plugins\birt\data\example\ExampleDemoData.xml“ file.







BIRT Flexible reports questions

2020-09-16 Thread Georg Potthast
I try to use the BIRT Flexible reports as described in the online 
documentation. 

First I downloaded and installed the BIRT report designer for Windows. Then I 
made a new directory „reports“ in the designer's directory. After that I called 
BIRT from the main menu and selected Flexible Reports. In the „manage reports“ 
screen I click on the generate report button and enter „test123“ as the name of 
the new report and „testing“ as a description. I then click send and get a 
message that the test123 file has been generated.

Then, in the edit screen, I click on the „download rptdesign file“ button. A 
window opens and asks me if I want to save the „test.rptdesign“ file. So it did 
cut off the „123“ at the end. I tested this with different names, the numbers 
are always removed from the file name. The file is also saved on disk without 
these numbers. Seems like a bug to me.

So I choose a file name without numbers: „testa“ and save the testa.rptdesign 
file in my „reports“ directory in the BIRD designer. However, when I open this 
file the layout is empty. When I upload the file again and execute it, I get an 
empty page.

The testa design file has OFBiz as the data source. As Data Sets there is “Data 
Set” with „anotherDate, anotherText, etc.” How can I add the data set fields 
for OFBiz so I get the same report as the PDF example on the BIRT start page 
(exampleID exampleTypeID exampleName)? I would like to use the data that is 
stored in the „ofbiz\plugins\birt\data\example\ExampleDemoData.xml“ file.




Opentabs cookbook link fails

2020-08-17 Thread Georg Potthast
There is a link to the Opentabs cookbook on this page:
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQTipsTricksCookbookHowTo-Groovy

This link does not work any more. It could be replaced with this link:
https://web.archive.org/web/20161125105758/http://www.opensourcestrategies.com:80/ofbiz/tutorials.php
This webarchive snapshot version has saved the pages of the mentioned resources 
too.

Re: Fail installing apache-ofbiz-17.12.04 on windows 10

2020-08-14 Thread Georg Potthast
Just saw a bug in my notes. I had tried Java 14.0.2 first which failed and 
left that in the notes. It should read:

JAVA_HOME to C:\Program Files\Java\jdk1.8.0_261

So replace "C:\Program Files\Java\jdk-14.0.2" with "C:\Program 
Files\Java\jdk1.8.0_261" in the notes.


-Ursprüngliche Nachricht- 
From: Georg Potthast

Sent: Saturday, August 15, 2020 6:35 AM
To: user@ofbiz.apache.org
Subject: Re: Fail installing apache-ofbiz-17.12.04 on windows 10

I recently installed OFBiz on my Windows 10 system and made notes how I did
it, so I can repeat it on a different machine if necessary. Hope this helps.


Install OFBiz on Microsoft Windows 10

1. Uninstall Java Runtime  to get JDK and JRE to the same version

2. Download Java SE JDK
https://www.oracle.com/java/technologies/java-se-glance.html
Use the Java SE 8u261 version. Register with Oracle to be able to download
that version.

3. Run the downloaded file and install the Java JDK and JRE. Do not modify
the default file paths.

4. Download the OFBiz ZIP archive
https://ofbiz.apache.org/download.html

5. Unpack the directory apache-ofbiz-17.12.04 in the zip file.
You can rename this directory to e.g. c:\ofbiz

6. Set the environment variables
control panel – extended system settings – environment variables, new
JAVA_HOME variable
JAVA_HOME to C:\Program Files\Java\jdk-14.0.2
test the setting of this variable in the command window:
C:\Users\Potthast>echo %JAVA_HOME%
C:\Program Files\Java\jdk-14.0.2

Add paths to system path variable:
control panel – extended system settings – environment variables, existing
path variable
%JAVA_HOME% (=C:\Program Files\Java\jdk-14.0.2)
%JAVA_HOME\bin%
close these windows again to get Windows to enable these

7. Test the path variable
open new command window
enter java
enter javac
if these output a lot of explanations, your are ok

8. Test OFBiz
Open the INSTALL file and follow the instructions in there

open a command window in administrator mode
for that right-click on the start button, open search, enter cmd and execute
as administrator
get into the ofbiz directory you created, e.g. c:\ofbiz
enter:
init-gradle-wrapper (=init-gradle-wrapper.bat)

and then enter:
gradlew cleanAll loadAll (=gradlew.bat cleanAll loadAll)
allow this script to download files when queried by Windows

Finally start OFBiz by entering: gradlew ofbiz
You can make a startofbiz.bat file with this command and generate a link to
that from your desktop to restart it conveniantly.

OFBiz will compile and start. When the message OFBiz is started and ready
appears, followed by several further messages, it will stop with the prompt
:ofbiz. Then open a browser window and enter https://localhost:8443/webtools
(or ecommerce, or catalog)

The default login is admin, password ofbiz

9. Stopping OFBiz

You may use Ctrl+C in the terminal were you started OFBiz.

The „official“ way, which takes way longer, is to open another terminal and
navigate to the ofbiz directory. In there enter gradlew „ofbiz --shutdown“ 



Re: Fail installing apache-ofbiz-17.12.04 on windows 10

2020-08-14 Thread Georg Potthast
I recently installed OFBiz on my Windows 10 system and made notes how I did 
it, so I can repeat it on a different machine if necessary. Hope this helps.



Install OFBiz on Microsoft Windows 10

1. Uninstall Java Runtime  to get JDK and JRE to the same version

2. Download Java SE JDK
https://www.oracle.com/java/technologies/java-se-glance.html
Use the Java SE 8u261 version. Register with Oracle to be able to download 
that version.


3. Run the downloaded file and install the Java JDK and JRE. Do not modify 
the default file paths.


4. Download the OFBiz ZIP archive
https://ofbiz.apache.org/download.html

5. Unpack the directory apache-ofbiz-17.12.04 in the zip file.
You can rename this directory to e.g. c:\ofbiz

6. Set the environment variables
control panel – extended system settings – environment variables, new 
JAVA_HOME variable

JAVA_HOME to C:\Program Files\Java\jdk-14.0.2
test the setting of this variable in the command window:
C:\Users\Potthast>echo %JAVA_HOME%
C:\Program Files\Java\jdk-14.0.2

Add paths to system path variable:
control panel – extended system settings – environment variables, existing 
path variable

%JAVA_HOME% (=C:\Program Files\Java\jdk-14.0.2)
%JAVA_HOME\bin%
close these windows again to get Windows to enable these

7. Test the path variable
open new command window
enter java
enter javac
if these output a lot of explanations, your are ok

8. Test OFBiz
Open the INSTALL file and follow the instructions in there

open a command window in administrator mode
for that right-click on the start button, open search, enter cmd and execute 
as administrator

get into the ofbiz directory you created, e.g. c:\ofbiz
enter:
init-gradle-wrapper (=init-gradle-wrapper.bat)

and then enter:
gradlew cleanAll loadAll (=gradlew.bat cleanAll loadAll)
allow this script to download files when queried by Windows

Finally start OFBiz by entering: gradlew ofbiz
You can make a startofbiz.bat file with this command and generate a link to 
that from your desktop to restart it conveniantly.


OFBiz will compile and start. When the message OFBiz is started and ready 
appears, followed by several further messages, it will stop with the prompt 
:ofbiz. Then open a browser window and enter https://localhost:8443/webtools 
(or ecommerce, or catalog)


The default login is admin, password ofbiz

9. Stopping OFBiz

You may use Ctrl+C in the terminal were you started OFBiz.

The „official“ way, which takes way longer, is to open another terminal and 
navigate to the ofbiz directory. In there enter gradlew „ofbiz --shutdown“ 



Re: BIRT documentation

2020-08-13 Thread Georg Potthast 2
Thank you Jacques, it works now! Provides extensive documentation.

> Jacques Le Roux  hat am 13.08.2020 08:43 
> geschrieben:
> 
>  
> Thank you both,
> 
> I have updated the link.
> 
> Jacques
> 
> Le 13/08/2020 à 06:53, Priya Sharma a écrit :
> > Hey Georg,
> > This blog might help you get started
> > https://blogs.apache.org/ofbiz/entry/the-birt-flexible-reports-a
> >
> > You can also check
> > https://demo-trunk.ofbiz.apache.org/catalog/control/showHelpPublic?helpTopic=BIRT_main,
> > once the demos are up again.
> >
> > Regards,
> > Priya
> >
> >
> >
> >
> >
> >
> > On Thu, Aug 13, 2020 at 2:18 AM Georg Potthast  
> > wrote:
> >> When I search for BIRT documentation within the OFBiz wiki, I am refered 
> >> to this wiki page: 
> >> https://cwiki.apache.org/confluence/display/OFBIZ/Birt+Flexible+Reports
> >>
> >> On this page there is just the text: "Please refer to online 
> >> documentation". However, this is a dead link. Where can I find the 
> >> documentation?


Re: BIRT documentation

2020-08-12 Thread Georg Potthast
When I search for BIRT documentation within the OFBiz wiki, I am refered to 
this wiki page: 
https://cwiki.apache.org/confluence/display/OFBIZ/Birt+Flexible+Reports

On this page there is just the text: "Please refer to online documentation". 
However, this is a dead link. Where can I find the documentation?


Re: BIRT documentation

2020-08-12 Thread Georg Potthast
When I search for BIRT documentation within the OFBiz wiki, I am refered to 
this wiki page: 
https://cwiki.apache.org/confluence/display/OFBIZ/Birt+Flexible+Reports


On this page there is just the text: "Please refer to online documentation". 
However, this is a dead link. Where can I find the documentation?




Re: Shorten the order fulfillment processs

2020-08-12 Thread Georg Potthast

Thank you Jacques! Finally I could generate an invoice now.

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Wednesday, August 12, 2020 3:37 PM
To: user@ofbiz.apache.org
Subject: Re: Shorten the order fulfillment processs

Hi Georg,

To generate an invoice your order must me complete. It seems you did it so 
you should see an invoice number in the

/ordermgr/control/orderview?orderId=youOrder# page

Else you have not yet shipped your product. You can use the "Quick Ship 
Entire Order" button to do that. There are other ways, but for testing 
"Quick

Ship Entire Order" is easier.

HTH

Jacques

Le 11/08/2020 à 19:51, Georg Potthast a écrit :

Hi Jacques,

thank you, I could generate an order and complete that. I can print a PDF 
copy of the completed order. But I could not find out, how to generate an
invoice for this order. There is no button for that in the order process. 
Can I enter say 30 orders for different customers and print invoices for

these to a single PDF document?

Georg

-Ursprüngliche Nachricht- From: Jacques Le Roux
Sent: Monday, August 10, 2020 4:10 PM
To: user@ofbiz.apache.org
Subject: Re: Shorten the order fulfillment processs

Hi Georg,

I did something like that in 2007 for an ecommerce GB company (not with 
the signed delivery note part).
I had to add some custom code to the order entry wizard/tunnel[1] and it's 
still the same today.
As the needs are most of the time specific there is no way to have that 
OOTB. But it's easy to add because all the bricks are present.


HTH

Jacques

[1] https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry

Le 07/08/2020 à 10:04, Georg Potthast 2 a écrit :

I hope this question will open in a new thread.

We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in

the wiki page OFBIZ/Order+Fulfillment+Process+Overview

We take the orders by phone and generate a delivery note from that. Our 
driver picks the goods from our storage and delivers them to the 
customer.
When he returns with a signed delivery note from the customer, we enter 
the delivery note into the ERP system. The ERP system takes a look at the
agreement details for the customer including his price and generates an 
invoice which is sent in the mail.


This does not seem to fit the process described in the wiki page. How can 
we use OFBiz to fit our existing process?






Re: Shorten the order fulfillment processs

2020-08-12 Thread Georg Potthast
Hi Hans,

we are the customer and currently try to evaluate how much effort it will be to 
modify the OOTB processes in OFBiz so they fit what we need. We want to avoid 
to change the processes when moving to a new software. This would make it 
difficult to test the new software plus the employees would have to learn to 
use new processes. So we plan to improve the processes in a further step.

We could enter the received orders by phone using order entry and then print 
delivery notes from that. We need this delivery note because the customer has 
to sign the delivery note to make sure he cannot claim he never got the 
product. But the order does not need to be approved and we do not need to check 
if the product is in the inventory, this is done by visual inspection. We do 
not need to give the customer any information about what he has ordered, he 
just gets it as ordered by phone.

So the process we need is: order entry –> print delivery notes and shipping 
manifest report for each truck –> enter the deliveries/orders which are carried 
out into the system –> generate PDF invoices (with one command for all orders 
at once about twice a week) –> transfer invoice records to our central 
accounting software. So we just need a small fraction of the existing order 
entry and invoicing process.

Regards

Georg

From: Hans Bakker 
Sent: Wednesday, August 12, 2020 3:04 AM
To: user@ofbiz.apache.org ; Georg Potthast 2 
Subject: Re: Shorten the order fulfillment processs

Hi Georg,

i was wondering if you considered proposing the customer to change the way of 
working? It will show several advantages :

1. We take the orders by phone and generate a delivery note from that.
>>  enter directly in the system as an order so inventory can already starting 
>> to prepare the order with involvement of the driver.


2. Our driver picks the goods from our storage and delivers them to the 
customer. 
>> your driver can check on mobile if there are orders to be delivered and goes 
>> to inventory to collect the already prepared order.


3. When he returns with a signed delivery note from the customer, we enter the 
delivery note into the ERP system. 
>> driver Just marks the order in the system as delivered, everythng else 
>> already in the system


4. The ERP system takes a look at the agreement details for the customer 
including his price and generates an invoice which is sent in the mail. 
>> can stay the same

Regards,

Hans






On 8/7/20 3:04 PM, Georg Potthast 2 wrote:

I hope this question will open in a new thread.

We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in the 
wiki page OFBIZ/Order+Fulfillment+Process+Overview

We take the orders by phone and generate a delivery note from that. Our driver 
picks the goods from our storage and delivers them to the customer. When he 
returns with a signed delivery note from the customer, we enter the delivery 
note into the ERP system. The ERP system takes a look at the agreement details 
for the customer including his price and generates an invoice which is sent in 
the mail.

This does not seem to fit the process described in the wiki page. How can we 
use OFBiz to fit our existing process?


Re: How to shorten the order fulfillment processs

2020-08-11 Thread Georg Potthast

Hi Rishi,

thank you for your recommendation. I am new to OFBiz but I will try to 
analyse the order process and see how I can implement this.


Georg

-Ursprüngliche Nachricht- 
From: Rishi Solanki

Sent: Tuesday, August 11, 2020 5:56 PM
To: ofbizuser
Subject: Re: How to shorten the order fulfillment processs

Hi George,
Please refer the order statuses which are hold, created, approved,
cancelled and completed. You can map these statuses with your processes,
and if you run the OOTB process then it would also take the agreement link
with Order.

Also to match the exact process you describe, you may require minor
customization. But if you map the process with order flow then it has all
capabilities you mentioned.


Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Thu, Aug 6, 2020 at 2:23 PM Georg Potthast 2 
wrote:


We are planning to replace our old ERP system with an OFBiz based system.
However, we currently have a different process than the one described in
the wiki:

https://cwiki.apache.org/confluence/display/OFBIZ/Order+Fulfillment+Process+Overview

We take the orders by phone and generate a delivery note from that. Our
driver picks the goods from our storage and delivers them to the customer.
When he returns with a signed delivery note from the customer, we enter 
the

delivery note into the ERP system. The ERP system takes a look at the
agreement details for the customer including his price and generates an
invoice which is sent in the mail.

This does not seem to fit the process described in the wiki page. How can
we use OFBiz to fit our existing process?





Re: Shorten the order fulfillment processs

2020-08-11 Thread Georg Potthast

Hi Jacques,

thank you, I could generate an order and complete that. I can print a PDF 
copy of the completed order. But I could not find out, how to generate an 
invoice for this order. There is no button for that in the order process. 
Can I enter say 30 orders for different customers and print invoices for 
these to a single PDF document?


Georg

-Ursprüngliche Nachricht- 
From: Jacques Le Roux

Sent: Monday, August 10, 2020 4:10 PM
To: user@ofbiz.apache.org
Subject: Re: Shorten the order fulfillment processs

Hi Georg,

I did something like that in 2007 for an ecommerce GB company (not with the 
signed delivery note part).
I had to add some custom code to the order entry wizard/tunnel[1] and it's 
still the same today.
As the needs are most of the time specific there is no way to have that 
OOTB. But it's easy to add because all the bricks are present.


HTH

Jacques

[1] https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry

Le 07/08/2020 à 10:04, Georg Potthast 2 a écrit :

I hope this question will open in a new thread.

We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in 
the wiki page OFBIZ/Order+Fulfillment+Process+Overview


We take the orders by phone and generate a delivery note from that. Our 
driver picks the goods from our storage and delivers them to the customer. 
When he returns with a signed delivery note from the customer, we enter 
the delivery note into the ERP system. The ERP system takes a look at the 
agreement details for the customer including his price and generates an 
invoice which is sent in the mail.


This does not seem to fit the process described in the wiki page. How can 
we use OFBiz to fit our existing process? 




Re: Shorten the order fulfillment processs

2020-08-07 Thread Georg Potthast 2
I hope this question will open in a new thread.

We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in the 
wiki page OFBIZ/Order+Fulfillment+Process+Overview

We take the orders by phone and generate a delivery note from that. Our driver 
picks the goods from our storage and delivers them to the customer. When he 
returns with a signed delivery note from the customer, we enter the delivery 
note into the ERP system. The ERP system takes a look at the agreement details 
for the customer including his price and generates an invoice which is sent in 
the mail.

This does not seem to fit the process described in the wiki page. How can we 
use OFBiz to fit our existing process?


How to shorten the order fulfillment processs

2020-08-06 Thread Georg Potthast 2
We are planning to replace our old ERP system with an OFBiz based system. 
However, we currently have a different process than the one described in the 
wiki:
https://cwiki.apache.org/confluence/display/OFBIZ/Order+Fulfillment+Process+Overview

We take the orders by phone and generate a delivery note from that. Our driver 
picks the goods from our storage and delivers them to the customer. When he 
returns with a signed delivery note from the customer, we enter the delivery 
note into the ERP system. The ERP system takes a look at the agreement details 
for the customer including his price and generates an invoice which is sent in 
the mail.

This does not seem to fit the process described in the wiki page. How can we 
use OFBiz to fit our existing process?


Re: Restrict Access/Hide items from the Application/Plugins menu (top level)

2020-08-05 Thread Georg Potthast

Thank you Aditya!

-Ursprüngliche Nachricht- 
From: Aditya Sharma

Sent: Wednesday, August 5, 2020 8:49 AM
To: user@ofbiz.apache.org
Subject: Re: Restrict Access/Hide items from the Application/Plugins menu 
(top level)


Hi Georg Potthast,

If you change it for ofbizDemo, it will hide ofbizDemo, not all the
applications. Each component has it's own ofbiz-component.xml file
responsible for the initial setup.

For example, if you wanted to hide the marketing component you need to add
this attribute to webapp tag for the marketing component.
So you will have to add it here:
https://github.com/apache/ofbiz-framework/blob/trunk/applications/marketing/ofbiz-component.xml#L39

Thanks and Regards,
Aditya Sharma


On Wed, Aug 5, 2020 at 11:35 AM Georg Potthast 
wrote:


In my "plugins/ofbizDemo" folder the ofbiz-component.xml file only
contains
one webapp, title="OfbizDemo". When I enter app-bar-display="false" there,
still all applications available with OFBiz are in the menu bar after a
restart.

-Ursprüngliche Nachricht-
From: Aditya Sharma
Sent: Wednesday, August 5, 2020 6:57 AM
To: user@ofbiz.apache.org
Subject: Re: Restrict Access/Hide items from the Application/Plugins menu
(top level)

Hi Oleksandr Darchuk,

Refer my answer on the following mail thread

https://markmail.org/message/o7nvrxo4wtk5brls


HTH

Thanks and regards,
Aditya Sharma


On Wed, Aug 5, 2020 at 12:56 AM Oleksandr Darchuk
 wrote:
>
> Hello,
> Subscribed already.
> And looks like authorization is the way I have to dig to get the answer
to
> my question. Still any suggestions/directions will be appreciated :)
> Thank you
>
> On Tue, Aug 4, 2020 at 9:02 PM Jacques Le Roux <
jacques.le.r...@les7arts.com>
> wrote:
>
> > Hi,
> >
> > Your message has been moderated, else it would not have reached this
> > Mailing List.
> >
> > Please subscribe to the user ML for such questions and then use your
email
> > client.
> > See why here http://ofbiz.apache.org/mailing-lists.html.
> >
> > You will get a better support, people can answer you on the ML.
> > The wider the audience the better the answers you might get.
> >
> > Also it's more work for moderators who have to accept your messages as
> > long as you have not subscribed.
> > I'll personally no longer accept them (other moderators still could).
> >
> > Thanks
> >
> > This said, if nobody answers you before me I'll do tmrw...
> >
> > Jacques
> >
> > Le 04/08/2020 à 17:03, Oleksandr Darchuk a écrit :
> > > Hello
> > > Is it possible to restrict/hide some unused applications from the 
> > > top
> > level menu bar? E.g. make Mmarketing or Manufacturing invisible for 
> > the

> > end-user after log-in?
> > > Thank you
> >
> >






Re: Restrict Access/Hide items from the Application/Plugins menu (top level)

2020-08-05 Thread Georg Potthast
In my "plugins/ofbizDemo" folder the ofbiz-component.xml file only contains 
one webapp, title="OfbizDemo". When I enter app-bar-display="false" there, 
still all applications available with OFBiz are in the menu bar after a 
restart.


-Ursprüngliche Nachricht- 
From: Aditya Sharma

Sent: Wednesday, August 5, 2020 6:57 AM
To: user@ofbiz.apache.org
Subject: Re: Restrict Access/Hide items from the Application/Plugins menu 
(top level)


Hi Oleksandr Darchuk,

Refer my answer on the following mail thread

https://markmail.org/message/o7nvrxo4wtk5brls


HTH

Thanks and regards,
Aditya Sharma


On Wed, Aug 5, 2020 at 12:56 AM Oleksandr Darchuk
 wrote:


Hello,
Subscribed already.
And looks like authorization is the way I have to dig to get the answer to
my question. Still any suggestions/directions will be appreciated :)
Thank you

On Tue, Aug 4, 2020 at 9:02 PM Jacques Le Roux <

jacques.le.r...@les7arts.com>

wrote:

> Hi,
>
> Your message has been moderated, else it would not have reached this
> Mailing List.
>
> Please subscribe to the user ML for such questions and then use your

email

> client.
> See why here http://ofbiz.apache.org/mailing-lists.html.
>
> You will get a better support, people can answer you on the ML.
> The wider the audience the better the answers you might get.
>
> Also it's more work for moderators who have to accept your messages as
> long as you have not subscribed.
> I'll personally no longer accept them (other moderators still could).
>
> Thanks
>
> This said, if nobody answers you before me I'll do tmrw...
>
> Jacques
>
> Le 04/08/2020 à 17:03, Oleksandr Darchuk a écrit :
> > Hello
> > Is it possible to restrict/hide some unused applications from the top
> level menu bar? E.g. make Mmarketing or Manufacturing invisible for the
> end-user after log-in?
> > Thank you
>
> 




Re: Trouble getting ofbizDemo to run

2020-08-03 Thread Georg Potthast 2
I think English is sufficient, this will work with any locale. You can use the 
existing OfbizDemoUiLabels.xml file listing in the tutorial as an example how 
to support different languages.
 
> Jacques Le Roux  hat am 03.08.2020 09:47 
> geschrieben:
> 
>  
> Thanks Georg,
> 
> Whatever are the conditions/environment, we need to remove all but English 
> there, for a demo that's enough. I'll do :)
> 
> Jacques
> 
> Le 02/08/2020 à 22:09, Georg Potthast a écrit :
> > I am just strictly following the tutorial, no modifications to the code. 
> > Yes, there is an OfbizDemoUiLabels.xml file located in the config 
> > directory. It contains exactly what is cited in the tutorial:
> > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorialABeginnersDevelopmentGuide-UseofUILabels(Introduction)
> >  
> >
> > This will cause the error mentioned below if you are on a German Windows 10 
> > system. If you remove all the entries for other languages but English in 
> > this file, it will work. If you add a line for "de", it will work too. But 
> > it will not work with "zh", "it" and "zh-tw" entries present.
> >
> >> Good evening,
> >>
> >> is there a resource OfbizDemoUiLabels.xml located in the config
> >> directory of the newly created plugin? Maybe it's just a matter of
> >> lowercase/uppercase naming.
> >>
> >> Hard to say without seeing the code and files.
> >>
> >> The hot-deploy mechanism refers to older versions of OFBiz, it was
> >> replaced by the plugins mechanism. Every third party or custom
> >> enhancement should be located in the plugins directory.
> >>
> >> Best regards,
> >>
> >> Michael Brohl
> >>
> >> ecomify GmbH - www.ecomify.de
> >>
> >>
> >> Am 02.08.20 um 10:54 schrieb Georg Potthast:
> >>> I installed the JDK version 8 and OFBiz on my Windows 10 system in Germany
> >>> ok and can run the provided applications like catalog or webtools.
> >>>
> >>> Now I want to follow the tutorial “OFBiz Tutorial - A Beginners 
> >>> Development Guide”.
> >>> So I entered “gradlew createPlugin -PpluginId=ofbizDemo”
> >> >and run “gradlew loadAll ofbiz” Seemed to work ok.
> >>> When I enter “https://localhost:8443/ofbizDemo” I get the error 
> >>> message
> >>> "ERROR MESSAGE java.lang.IllegalArgumentException: Could not find resource
> >>> bundle [OfbizDemoUiLabels] in the locale [de]"
> >>>
> >>> What do I need to do to get that to work?
> >>>
> >>> Additional question: old tutorials refer to a hot-deploy directory. Is 
> >>> this
> >>> no longer working?
> >>>
> >


Re: Trouble getting ofbizDemo to run

2020-08-02 Thread Georg Potthast
I am just strictly following the tutorial, no modifications to the code. 
Yes, there is an OfbizDemoUiLabels.xml file located in the config directory. 
It contains exactly what is cited in the tutorial:

https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorialABeginnersDevelopmentGuide-UseofUILabels(Introduction)
This will cause the error mentioned below if you are on a German Windows 10 
system. If you remove all the entries for other languages but English in 
this file, it will work. If you add a line for "de", it will work too. But 
it will not work with "zh", "it" and "zh-tw" entries present.



Good evening,

is there a resource OfbizDemoUiLabels.xml located in the config
directory of the newly created plugin? Maybe it's just a matter of
lowercase/uppercase naming.

Hard to say without seeing the code and files.

The hot-deploy mechanism refers to older versions of OFBiz, it was
replaced by the plugins mechanism. Every third party or custom
enhancement should be located in the plugins directory.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 02.08.20 um 10:54 schrieb Georg Potthast:
I installed the JDK version 8 and OFBiz on my Windows 10 system in 
Germany

ok and can run the provided applications like catalog or webtools.

Now I want to follow the tutorial “OFBiz Tutorial - A Beginners 
Development Guide”.

So I entered “gradlew createPlugin -PpluginId=ofbizDemo”

>and run “gradlew loadAll ofbiz” Seemed to work ok.
When I enter “https://localhost:8443/ofbizDemo” I get the error 
message
"ERROR MESSAGE java.lang.IllegalArgumentException: Could not find 
resource

bundle [OfbizDemoUiLabels] in the locale [de]"

What do I need to do to get that to work?

Additional question: old tutorials refer to a hot-deploy directory. Is 
this

no longer working?





Re: Trouble getting ofbizDemo to run

2020-08-02 Thread Georg Potthast
I am sorry I had subscribed, but the question did not appear on the web 
interface. So I logged into the web interface with my Google account, which has 
a different email address than the one I used to subscribe before. I tried to 
subscribe with that email address now too, but that did not work somehow.

I am using OFBiz version 17.12.01.

In the meantime I found that the problem was caused by the file 
"ofbiz\plugins\ofbizDemo\config\OfbizDemoUiLabels.xml" This contains lines like:
OfbizDemo应用程�
OfbizDemo應用程�

I do not have the language "zh" installed so I think this caused the problem.


On 2020/08/02 09:32:40, Jacques Le Roux  wrote: 
> Hi Georg,
> 
> Your message has been moderated, else it would not have reached this Mailing 
> List.
> 
> Please subscribe to the user ML for such questions and then use your email 
> client.
> See why here http://ofbiz.apache.org/mailing-lists.html.
> 
> You will get a better support, people can answer you on the ML.
> The wider the audience the better the answers you might get.
> 
> Also it's more work for moderators who have to accept your messages as long 
> as you have not subscribed.
> I'll personally no longer accept them (other moderators still could).
> 
> Thanks
> 
> Rest inline:...
> 
> Le 02/08/2020 à 10:54, Georg Potthast a écrit :
> > I installed the JDK version 8 and OFBiz on my Windows 10 system in Germany
> > ok and can run the provided applications like catalog or webtools.
> >   
> > Now I want to follow the tutorial “OFBiz Tutorial - A Beginners Development 
> > Guide”.
> > So I entered “gradlew createPlugin -PpluginId=ofbizDemo”
> > and run “gradlew loadAll ofbiz” Seemed to work ok.
> > When I enter “https://localhost:8443/ofbizDemo” I get the error message
> > "ERROR MESSAGE java.lang.IllegalArgumentException: Could not find resource
> > bundle [OfbizDemoUiLabels] in the locale [de]"
> >
> > What do I need to do to get that to work?
> 
> Which revision are you using?
> Trunk: 
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorialABeginnersDevelopmentGuide-UseofUILabels(Completion)
> Stable (R17 currently): 
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+17.12#OFBizTutorialABeginnersDevelopmentGuidefor17.12-UseofUILabels(Completion)
> 
> 
> > Additional question: old tutorials refer to a hot-deploy directory. Is this
> > no longer working?
> 
> hot-deploy is no longer used in supported branches, use  plugins rather
> 
> Jacques
> 
>

Trouble getting ofbizDemo to run

2020-08-02 Thread Georg Potthast
I installed the JDK version 8 and OFBiz on my Windows 10 system in Germany 
ok and can run the provided applications like catalog or webtools. 
 
Now I want to follow the tutorial “OFBiz Tutorial - A Beginners Development 
Guide”.
So I entered “gradlew createPlugin -PpluginId=ofbizDemo”
and run “gradlew loadAll ofbiz” Seemed to work ok.
When I enter “https://localhost:8443/ofbizDemo” I get the error message
"ERROR MESSAGE java.lang.IllegalArgumentException: Could not find resource 
bundle [OfbizDemoUiLabels] in the locale [de]"

What do I need to do to get that to work?

Additional question: old tutorials refer to a hot-deploy directory. Is this 
no longer working?