[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

Commit 58a026fbf842808e950fc013f50bf20675250b39 in ofbiz-framework's branch 
refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=58a026f ]

Fixed: testIntegration issue caused due to mistakenly updated static string 
'WITHDRAWAL' and updated variable in groovy test case.
(OFBIZ-11926)
Also used getter method for entity auto tests to get the dispatcher from 
OFBizTestCase.


> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Closed] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

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

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
> Fix For: 18.12.01, 17.12.05
>
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> 

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: MessagingException in sendShipmentScheduledNotification service 
(OFBIZ-11984)

This MessagingException issue is with sendFrom,
please refer the the code blocks from minilang and groovy versions below:










There should not be a prefix, there is always only 1 sender
The sendOrderDeliveryScheduleNotification service was also affected

Thanks: Mridul Pathak for analyse


> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> 

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: MessagingException in sendShipmentScheduledNotification service 
(OFBIZ-11984)

This MessagingException issue is with sendFrom, please refer the the code 
blocks from minilang and groovy versions below,










There should not be a prefix, there is always only 1 sender
sendOrderDeliveryScheduleNotification was also affected

Thanks: Mridul Pathak for analyse


> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11984:
-

You are right!

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:63)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> 

[jira] [Comment Edited] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak edited comment on OFBIZ-11984 at 8/26/20, 5:27 PM:
-

I think you were earlier referring to sendTo but I referred to sendFrom 
(fromAddress) in my reply and it caused confusion. sendTo has correct 
implementation which I have tested when fixing OFBIZ-11983, but sendFrom 
doesn't.


was (Author: mridulpathak):
I think you were earlier referring to sendTo but I referred to sendFrom 
(fromAddress) in my reply and it caused confusion. sendTo has correct 
implementation, but sendFrom doesn't.

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> 

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11984:
---

I think you were earlier referring to sendTo but I referred to sendFrom 
(fromAddress) in my reply and it caused confusion. sendTo has correct 
implementation, but sendFrom doesn't.

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
>  

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11984:
---

Hi Jacques,

This MessagingException issue isn't with sendTo, but it's with sendFrom, please 
refer the the code blocks from minilang and groovy versions below,
{code:java}








{code}
{code:java}
// find email address for currently logged in user, set as sendFrom
GenericValue curUserPartyAndContactMech = from("PartyAndContactMech")
        .where(partyId: userLogin.partyId,
                contactMechTypeId: "EMAIL_ADDRESS")
        .queryFirst()
Map sendEmailMap = [sendFrom: ("," + curUserPartyAndContactMech.infoString)]
{code}

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
>  [groovy-2.5.11.jar:2.5.11]
> at 
> 

[jira] [Commented] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11984:
-

Hi Mirdul,

You mentionned in OFBIZ-11983

bq. Actually in the original minilang version  tag was wrongly 
used instead of  tag as we are working with only one email here, it's the 
fromAddress so it should only be one. And it was migrated to the groovy version 
the same way. This issue needs to be fixed in previous releases as well, so I 
have created OFBIZ-11984 to track this.

Actually it's wrong when there is only 1 email address to send to. So we rather 
miss a test about that there (prefix or not).
So I wonder if the same does not exist in OFBIZ-11983. In case it's possible to 
send to more than one 1 email address...

> MessagingException in sendShipmentScheduledNotification service
> ---
>
> Key: OFBIZ-11984
> URL: https://issues.apache.org/jira/browse/OFBIZ-11984
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer the stack-trace below,
> {noformat}
> 2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
> |E| MessagingException when creating message to [[ofbizt...@example.com, 
> ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
> subject [Scheduled Notification for Shipment 10001 for Primary Order 
> WSCO10001]
> javax.mail.internet.AddressException: Local address contains illegal character
> at 
> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
> ~[javax.mail-1.6.2.jar:1.6.2]
> at 
> org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
> [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at 
> org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
>  [main/:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
>  [main/:?]
> at 
> org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  [main/:?]
> at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  [main/:?]
> at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  [main/:?]
> at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
> [main/:?]
> at 
> org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
>  [main/:?]
> at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_144]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
> at 
> 

[jira] [Updated] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-11984:

Description: 
Please refer the stack-trace below,

{noformat}
2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
|E| MessagingException when creating message to [[ofbizt...@example.com, 
ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
subject [Scheduled Notification for Shipment 10001 for Primary Order WSCO10001]

javax.mail.internet.AddressException: Local address contains illegal character

at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
~[javax.mail-1.6.2.jar:1.6.2]

at org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
[main/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

at 
org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
 [main/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
[main/:?]

at 
org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
 [main/:?]

at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:63)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
 [groovy-2.5.11.jar:2.5.11]

at 
org.apache.ofbiz.service.engine.GroovyBaseScript.run(GroovyBaseScript.groovy:58)
 [main/:?]

at org.apache.ofbiz.service.engine.GroovyBaseScript$run$0.callCurrent(Unknown 
Source) [main/:?]

at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
 [groovy-2.5.11.jar:2.5.11]

at 

[jira] [Comment Edited] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-11926 at 8/26/20, 4:52 PM:
---

Hi Suraj,

About JsLanguageFilesMapping, I wrote:
bq. I think you should look at JsLanguageFileMappingCreator.java. At 1st glance 
I see no reasons why you could not change the method names.
What I mean is you should make the changes in JsLanguageFileMappingCreator.java 
and then generate the related files, ie
* JsLanguageFilesMapping.java
* JsLanguageFilesMapping.ftl
by running the createJsLanguageFileMapping service

JsLanguageFilesMappingTransform.java is OK as is. It's a "static file", ie not 
changed by JsLanguageFileMappingCreator.java.


was (Author: jacques.le.roux):
Hi Suraj,

About JsLanguageFilesMapping, I wrote:
bq. I think you should look at JsLanguageFileMappingCreator.java. At 1st glance 
I see no reasons why you could not change the method names.
What I mean is you should make the changes in JsLanguageFileMappingCreator.java 
and then generate the related files, ie
* JsLanguageFilesMapping.java
* JsLanguageFilesMapping.ftl
by running createJsLanguageFileMapping

JsLanguageFilesMappingTransform.java is OK as is. It's a "static file", ie not 
changed by JsLanguageFileMappingCreator.java.

> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11926:
-

Hi Suraj,

About JsLanguageFilesMapping, I wrote:
bq. I think you should look at JsLanguageFileMappingCreator.java. At 1st glance 
I see no reasons why you could not change the method names.
What I mean is you should make the changes in JsLanguageFileMappingCreator.java 
and then generate the related files, ie
* JsLanguageFilesMapping.java
* JsLanguageFilesMapping.ftl
by running createJsLanguageFileMapping

JsLanguageFilesMappingTransform.java is OK as is. It's a "static file", ie not 
changed by JsLanguageFileMappingCreator.java.

> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread Suraj Khurana (Jira)


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

Suraj Khurana commented on OFBIZ-11926:
---

Thanks Jacques, corrected inner class names as per naming convention at 
JsLanguageFilesMapping.java and related occurrences.

Currently these patches have fixed around *1200* checkstyle issues.

Now need to update method names (UPPER, UPPER_FIELD, TRIM etc) on 
EntityFunction.java and related occurrences.

> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

Commit 33d4d6c915ddeb876d0ec1830feab228427bbbf6 in ofbiz-plugins's branch 
refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=33d4d6c ]

Improved: Corrected class names, method names, data members of class and 
variables names in plugins component.
(OFBIZ-11926)
Also corrected some formatting and line length related checkstyle issues.


> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

Commit f357b997c0ba2d1459055088d962a5168eee5c4d in ofbiz-framework's branch 
refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=f357b99 ]

Improved: Corrected class names, method names, data members of class and 
variables names in framework component.
(OFBIZ-11926)
Also corrected some formatting and line length related checkstyle issues.


> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Commented] (OFBIZ-11926) Checkstyle: Variable name must match pattern

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

Commit 371aab1e5b926ee03ea94b3050d059a518a96bb4 in ofbiz-framework's branch 
refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=371aab1 ]

Improved: Corrected class names, method names, data members of class and 
variables names in application components.
(OFBIZ-11926)
Also corrected some formatting and line length related checkstyle issues.


> Checkstyle: Variable name must match pattern
> 
>
> Key: OFBIZ-11926
> URL: https://issues.apache.org/jira/browse/OFBIZ-11926
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Suraj Khurana
>Assignee: Suraj Khurana
>Priority: Major
> Attachments: OFBIZ-11926-plugins.patch, OFBIZ-11926.patch
>
>
> All final data members of the class must match this naming pattern 
> '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'



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


[jira] [Closed] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak closed OFBIZ-11983.
-
Fix Version/s: Upcoming Branch
   Resolution: Fixed

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
> Fix For: Upcoming Branch
>
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  ~[?:?]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
>  at 
> 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread ASF subversion and git services (Jira)


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

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

Commit ef56f80bb35ab11a48702f96d4595b6e4c93a6ed in ofbiz-framework's branch 
refs/heads/trunk from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ef56f80 ]

Fixed: Error in sendShipmentScheduledNotification service (OFBIZ-11983) (#234)

sendTo field was wrongly being fetched from PartyAndContactMech view to get 
emailAddress, replaced it with the correct entity field infoString.

Thanks: Jacques for input.

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> 

[GitHub] [ofbiz-framework] mridulpathak merged pull request #234: Fixed: Error in sendShipmentScheduledNotification service (OFBIZ-11983)

2020-08-26 Thread GitBox


mridulpathak merged pull request #234:
URL: https://github.com/apache/ofbiz-framework/pull/234


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-framework] sonarcloud[bot] commented on pull request #234: Fixed: Error in sendShipmentScheduledNotification service (OFBIZ-11983)

2020-08-26 Thread GitBox


sonarcloud[bot] commented on pull request #234:
URL: https://github.com/apache/ofbiz-framework/pull/234#issuecomment-680963744


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/issue
 
s?id=apache_ofbiz-framework=234=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=234=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=234)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=234=duplicated_lines_density=list)
 No Duplication information
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-framework] mridulpathak opened a new pull request #234: Fixed: Error in sendShipmentScheduledNotification service (OFBIZ-11983)

2020-08-26 Thread GitBox


mridulpathak opened a new pull request #234:
URL: https://github.com/apache/ofbiz-framework/pull/234


   Fixed: Error in sendShipmentScheduledNotification service
   (OFBIZ-11983)
   
   sendTo field was wrongly being fetched from PartyAndContactMech view to get 
emailAddress, replaced it with the correct entity field infoString.
   
   Thanks: Jacques for the input.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11983:
---

Just to keep track, the issue is due to invalid comma character but in 
following line,
{code:java}
// Map sendEmailMap = [sendFrom: ("," + curUserPartyAndContactMech.infoString)]
{code}

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  ~[?:?]
>  at 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11983:
-

(y)

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  ~[?:?]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_144]
>  at 
> 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11983:
---

[~jleroux] yes, that's exactly the issue. Actually in the original minilang 
version  tag was wrongly used instead of  tag as we are 
working with only one email here, it's the fromAddress so it should only be 
one. And it was migrated to the groovy version the same way. This issue needs 
to be fixed in previous releases as well, so I have created OFBIZ-11984 to 
track this.

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> 

[jira] [Created] (OFBIZ-11984) MessagingException in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)
Mridul Pathak created OFBIZ-11984:
-

 Summary: MessagingException in sendShipmentScheduledNotification 
service
 Key: OFBIZ-11984
 URL: https://issues.apache.org/jira/browse/OFBIZ-11984
 Project: OFBiz
  Issue Type: Bug
  Components: product/facility
Affects Versions: Trunk, Release Branch 18.12, Release Branch 17.12
Reporter: Mridul Pathak
Assignee: Mridul Pathak


Please refer the stack-trace below,

2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
|E| MessagingException when creating message to [[ofbizt...@example.com, 
ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
subject [Scheduled Notification for Shipment 10001 for Primary Order WSCO10001]

javax.mail.internet.AddressException: Local address contains illegal character

at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
~[javax.mail-1.6.2.jar:1.6.2]

at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
~[javax.mail-1.6.2.jar:1.6.2]

at org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
[main/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

at 
org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
 [main/:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
[main/:?]

at 
org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
 [main/:?]

at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

at 
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:63)
 [groovy-2.5.11.jar:2.5.11]

at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
 [groovy-2.5.11.jar:2.5.11]

at 
org.apache.ofbiz.service.engine.GroovyBaseScript.run(GroovyBaseScript.groovy:58)
 [main/:?]

at org.apache.ofbiz.service.engine.GroovyBaseScript$run$0.callCurrent(Unknown 
Source) [main/:?]

at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

at 

[jira] [Comment Edited] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-11983 at 8/26/20, 2:24 PM:
---

Maybe this {{sendEmailMap.sendTo = sendTos.join(',')}}(?) When there is only 1 
email...



was (Author: jacques.le.roux):
Maybe this {{sendEmailMap.sendTo = sendTos.join(',')}}(?)


> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11983:
-

Maybe this {{sendEmailMap.sendTo = sendTos.join(',')}}(?)


> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  ~[?:?]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
>  at 
> 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11983:
-

Seems about "javax.mail.internet.AddressException: Local address contains 
illegal character". I see a comma here: [,ofbizt...@example.com] and did not 
find any occurence in code. Must be a typo in the service.

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  

[jira] [Closed] (OFBIZ-7150) Character encoding issue on field Question in Survey Questions List

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux closed OFBIZ-7150.
--
Resolution: Information Provided

This has been deprecated by OFBIZ-7154

> Character encoding issue on field Question in Survey Questions List
> ---
>
> Key: OFBIZ-7150
> URL: https://issues.apache.org/jira/browse/OFBIZ-7150
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Release Branch 14.12, Release Branch 15.12, Trunk
>Reporter: Pranay Pandey
>Priority: Minor
> Attachments: Image 005.png, OFBIZ-7150-Screenshot.png, 
> OFBIZ-7150.patch
>
>
> Character encoding issue found on field Question in Survey Questions List.
> Please refer attached screenshot for the same.



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


[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11983:
---

Interestingly found another error in this service while fixing this error, 
seems like this service never worked, refer stack-trace below for details,

 

2020-08-26 18:57:22,183 |OFBiz-JobQueue-0     |EmailServices                 
|E| MessagingException when creating message to [[ofbizt...@example.com, 
ofbizsupp...@example.com]] from [,ofbizt...@example.com] cc [null] bcc [null] 
subject [Scheduled Notification for Shipment 10001 for Primary Order WSCO10001]

javax.mail.internet.AddressException: Local address contains illegal character

 at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1368) 
~[javax.mail-1.6.2.jar:1.6.2]

 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1215) 
~[javax.mail-1.6.2.jar:1.6.2]

 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:752) 
~[javax.mail-1.6.2.jar:1.6.2]

 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:729) 
~[javax.mail-1.6.2.jar:1.6.2]

 at javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:714) 
~[javax.mail-1.6.2.jar:1.6.2]

 at 
org.apache.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:267) 
[main/:?]

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

 at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

 at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

 at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

 at 
org.apache.ofbiz.common.email.NotificationServices.sendNotification(NotificationServices.java:159)
 [main/:?]

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

 at 
org.apache.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
 [main/:?]

 at 
org.apache.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
[main/:?]

 at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 [main/:?]

 at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) 
[main/:?]

 at 
org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:50)
 [main/:?]

 at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) ~[?:?]

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

 at 
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:63)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.apache.ofbiz.service.engine.GroovyBaseScript.run(GroovyBaseScript.groovy:58)
 [main/:?]

 at org.apache.ofbiz.service.engine.GroovyBaseScript$run$0.callCurrent(Unknown 
Source) [main/:?]

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
 [groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)


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

Mridul Pathak commented on OFBIZ-11983:
---

[~jleroux] Yes, it seems to be a typo error in minilang to groovy migration, 
also I think we need to replace sendTo by infoString here.

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
> {noformat}
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471)
>  ~[?:?]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

[jira] [Updated] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-11983:

Description: 
Please refer stack-trace below,


{noformat}
2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
|T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
sendShipmentScheduledNotification'

2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
|I| Transaction rolled back

2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
|W| Not committing transaction, status is No Transaction (6)

2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
|E| Async-Service failed.

org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
[sendShipmentScheduledNotification] in Groovy file 
[component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
(org.apache.ofbiz.entity.GenericModelException: In 
selectListIteratorByCondition invalid field names specified: [sendTo])

 at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
~[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
~[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
~[main/:?]

 at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 ~[main/:?]

 at 
org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
[main/:?]

 at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [main/:?]

 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_144]

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_144]

 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]

Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
org.apache.ofbiz.entity.GenericModelException: In selectListIteratorByCondition 
invalid field names specified: [sendTo]

 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.Script.invokeMethod(Script.java:77) ~[groovy-2.5.11.jar:2.5.11]

 at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
~[main/:?]

 ... 8 more

Caused by: org.apache.ofbiz.entity.GenericModelException: In 
selectListIteratorByCondition invalid field names specified: [sendTo]

 at 
org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
 ~[main/:?]

 at 
org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
 ~[main/:?]

 at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
~[main/:?]

 at 
org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
~[main/:?]

 at org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
~[main/:?]

 at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
Source) ~[?:?]

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471) 
~[?:?]

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 

[jira] [Commented] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11983:
-

Indeed there is no sendTo field in 
[https://localhost:8443/webtools/control/entity/find/PartyAndContactMech], part 
of OFBIZ-11462 and was before:
{code:xml}











{code}

So I guess replacing sendTo by sendToPartyId should work :)

> Error in sendShipmentScheduledNotification service
> --
>
> Key: OFBIZ-11983
> URL: https://issues.apache.org/jira/browse/OFBIZ-11983
> Project: OFBiz
>  Issue Type: Bug
>  Components: product/facility
>Affects Versions: Trunk
>Reporter: Mridul Pathak
>Assignee: Mridul Pathak
>Priority: Minor
>
> Please refer stack-trace below,
>  
> 2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
> |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
> sendShipmentScheduledNotification'
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |I| Transaction rolled back
> 2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
> |W| Not committing transaction, status is No Transaction (6)
> 2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
> |E| Async-Service failed.
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
> [sendShipmentScheduledNotification] in Groovy file 
> [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
> (org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo])
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>  [main/:?]
>  at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) 
> [main/:?]
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [?:1.8.0_144]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [?:1.8.0_144]
>  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
> org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at groovy.lang.Script.invokeMethod(Script.java:77) 
> ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
> ~[main/:?]
>  ... 8 more
> Caused by: org.apache.ofbiz.entity.GenericModelException: In 
> selectListIteratorByCondition invalid field names specified: [sendTo]
>  at 
> org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
>  ~[main/:?]
>  at 
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
>  ~[main/:?]
>  at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
> ~[main/:?]
>  at 
> org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
> ~[main/:?]
>  at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
> Source) ~[?:?]
>  at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
>  ~[groovy-2.5.11.jar:2.5.11]
>  at 
> 

[jira] [Created] (OFBIZ-11983) Error in sendShipmentScheduledNotification service

2020-08-26 Thread Mridul Pathak (Jira)
Mridul Pathak created OFBIZ-11983:
-

 Summary: Error in sendShipmentScheduledNotification service
 Key: OFBIZ-11983
 URL: https://issues.apache.org/jira/browse/OFBIZ-11983
 Project: OFBiz
  Issue Type: Bug
  Components: product/facility
Affects Versions: Trunk
Reporter: Mridul Pathak
Assignee: Mridul Pathak


Please refer stack-trace below,

 

2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             
|T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / 
sendShipmentScheduledNotification'

2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
|I| Transaction rolled back

2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               
|W| Not committing transaction, status is No Transaction (6)

2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             
|E| Async-Service failed.

org.apache.ofbiz.service.GenericServiceException: Error running Groovy method 
[sendShipmentScheduledNotification] in Groovy file 
[component://product/groovyScripts/shipment/ShipmentServices.groovy]:  
(org.apache.ofbiz.entity.GenericModelException: In 
selectListIteratorByCondition invalid field names specified: [sendTo])

 at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) 
~[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) 
~[main/:?]

 at 
org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) 
~[main/:?]

 at 
org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93)
 ~[main/:?]

 at 
org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) 
[main/:?]

 at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [main/:?]

 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_144]

 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_144]

 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]

Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
org.apache.ofbiz.entity.GenericModelException: In selectListIteratorByCondition 
invalid field names specified: [sendTo]

 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.Script.invokeMethod(Script.java:77) ~[groovy-2.5.11.jar:2.5.11]

 at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) 
~[main/:?]

 ... 8 more

Caused by: org.apache.ofbiz.entity.GenericModelException: In 
selectListIteratorByCondition invalid field names specified: [sendTo]

 at 
org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656)
 ~[main/:?]

 at 
org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155)
 ~[main/:?]

 at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) 
~[main/:?]

 at 
org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) 
~[main/:?]

 at org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) 
~[main/:?]

 at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown 
Source) ~[?:?]

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
 ~[groovy-2.5.11.jar:2.5.11]

 at 
ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471) 
~[?:?]

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]

 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_144]

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_144]

 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]

 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) 
~[groovy-2.5.11.jar:2.5.11]

 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) 
~[groovy-2.5.11.jar:2.5.11]

 at 

[jira] [Comment Edited] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux edited comment on OFBIZ-11973 at 8/26/20, 12:37 PM:


OK, here are the steps:
# get to 
https://localhost:8443/ordermgr/control/login?USERNAME=admin=ofbiz=Y
# Click on "Order Entry "
# In "Sales Order" section as Customer select DemoCustomer
# Click on Continue on right top
# Click on Continue on next screen (no other actions needed)
# In "Search Catalog" field type "wg", Enter
# Click on "Tiny Chrome Widget"
Without your changes in you should see:

 !Image 001.png! 

So it seems correct there to me w/o your changes .


was (Author: jacques.le.roux):
OK, here are the steps:
# get to 
https://localhost:8443/ordermgr/control/login?USERNAME=admin=ofbiz=Y
# Click on "Order Entry "
# In "Sales Order" section as Customer select DemoCustomer
# Click on Continue on right top
# Click on Continue on next screen (no other actions needed)
# In "Search Catalog" field type "wg", Enter
# Click on "Tiny Chrome Widget"
Without your changes in you should see:

 !Image 001.png! 

So it seems correct w/o there your changes to me.

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: Image 001.png, highlightLabel.patch, 
> missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11973:
-

OK, here are the steps:
# get to 
https://localhost:8443/ordermgr/control/login?USERNAME=admin=ofbiz=Y
# Click on "Order Entry "
# In "Sales Order" section as Customer select DemoCustomer
# Click on Continue on right top
# Click on Continue on next screen (no other actions needed)
# In "Search Catalog" field type "wg", Enter
# Click on "Tiny Chrome Widget"
Without your changes in you should see:

 !Image 001.png! 

So it seems correct w/o there your changes to me.

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: Image 001.png, highlightLabel.patch, 
> missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Updated] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux updated OFBIZ-11973:

Attachment: Image 001.png

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: Image 001.png, highlightLabel.patch, 
> missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11686) multi-block attribute for html-template tag

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11686:
-

BTW your last patch at OFBIZ-11980 fixes the issue. I guess you tried with it ;)

> multi-block attribute for html-template tag
> ---
>
> Key: OFBIZ-11686
> URL: https://issues.apache.org/jira/browse/OFBIZ-11686
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/widget
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-11686.patch, OFBIZ-11686.patch, OFBIZ-11686.patch
>
>
> Propose a new  widget tag that adds an external script after 
> body tag.
> The external script will contain the rendered result of the specified 
> template file location.
>  e.g.
> {code:xml}
> 
>  
> {code}
> 
>  will render as:
> {code:xml}
> 
>  type="application/javascript"/> 
> 
> {code}
> This will allow inline script from a freemarker file, to be rendered as 
> external script in html.
>  
>  Discussion was started at 
> [https://lists.apache.org/thread.html/r7f8db3a8f5de057c5c5ca6c00608e477acfeaf5507a20b72b8daa3a8%40%3Cdev.ofbiz.apache.org%3E]
>  
> *15th May 2020*
> While extracting the scripts from html-template to script-template and 
> testing the changes, I found the process to be cumbersome.
>  So I made a change not to use script-template tag but add a multi-block 
> attribute to html-template tag.
>  When *multi-block=true*, inline scripts will be extracted automatically from 
> script tag and converted to external script. 
>  So no need to manually extract script from the existing freemarker template. 
>  Coding for script-template tag is removed



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Alex Bodnaru (Jira)


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

Alex Bodnaru commented on OFBIZ-11973:
--

this was the error message:

java.lang.IllegalArgumentException: Error running script at location 
[component://order/groovyScripts/entry/catalog/ProductDetail.groovy]: 
org.apache.ofbiz.service.ExecutionServiceException: Error calling the 
isStoreInventoryRequired when building the variant product tree.

 

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11686) multi-block attribute for html-template tag

2020-08-26 Thread James Yong (Jira)


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

James Yong commented on OFBIZ-11686:


Hi Jacques,

I didn't encounter any rollback error.
Have you also updated the ofbiz-plugins code?

Regards,
James

> multi-block attribute for html-template tag
> ---
>
> Key: OFBIZ-11686
> URL: https://issues.apache.org/jira/browse/OFBIZ-11686
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework/widget
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-11686.patch, OFBIZ-11686.patch, OFBIZ-11686.patch
>
>
> Propose a new  widget tag that adds an external script after 
> body tag.
> The external script will contain the rendered result of the specified 
> template file location.
>  e.g.
> {code:xml}
> 
>  
> {code}
> 
>  will render as:
> {code:xml}
> 
>  type="application/javascript"/> 
> 
> {code}
> This will allow inline script from a freemarker file, to be rendered as 
> external script in html.
>  
>  Discussion was started at 
> [https://lists.apache.org/thread.html/r7f8db3a8f5de057c5c5ca6c00608e477acfeaf5507a20b72b8daa3a8%40%3Cdev.ofbiz.apache.org%3E]
>  
> *15th May 2020*
> While extracting the scripts from html-template to script-template and 
> testing the changes, I found the process to be cumbersome.
>  So I made a change not to use script-template tag but add a multi-block 
> attribute to html-template tag.
>  When *multi-block=true*, inline scripts will be extracted automatically from 
> script tag and converted to external script. 
>  So no need to manually extract script from the existing freemarker template. 
>  Coding for script-template tag is removed



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


[jira] [Commented] (OFBIZ-11980) Allow logging to be disabled for getJs request

2020-08-26 Thread James Yong (Jira)


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

James Yong commented on OFBIZ-11980:


The latest patch should fix the issue

> Allow logging to be disabled for getJs request
> --
>
> Key: OFBIZ-11980
> URL: https://issues.apache.org/jira/browse/OFBIZ-11980
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11980.patch, OFBIZ-11980.patch
>
>
> Hide logs related to getJs request as it doesn't provide meaningful data.



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


[jira] [Comment Edited] (OFBIZ-11980) Allow logging to be disabled for getJs request

2020-08-26 Thread James Yong (Jira)


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

James Yong edited comment on OFBIZ-11980 at 8/26/20, 11:16 AM:
---

Added another patch which should fix the issue


was (Author: jamesyong):
The latest patch should fix the issue

> Allow logging to be disabled for getJs request
> --
>
> Key: OFBIZ-11980
> URL: https://issues.apache.org/jira/browse/OFBIZ-11980
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11980.patch, OFBIZ-11980.patch
>
>
> Hide logs related to getJs request as it doesn't provide meaningful data.



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


[jira] [Updated] (OFBIZ-11980) Allow logging to be disabled for getJs request

2020-08-26 Thread James Yong (Jira)


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

James Yong updated OFBIZ-11980:
---
Attachment: OFBIZ-11980.patch

> Allow logging to be disabled for getJs request
> --
>
> Key: OFBIZ-11980
> URL: https://issues.apache.org/jira/browse/OFBIZ-11980
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11980.patch, OFBIZ-11980.patch
>
>
> Hide logs related to getJs request as it doesn't provide meaningful data.



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


[jira] [Updated] (OFBIZ-11980) Allow logging to be disabled for getJs request

2020-08-26 Thread James Yong (Jira)


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

James Yong updated OFBIZ-11980:
---
Attachment: (was: OFBIZ-11980.patch)

> Allow logging to be disabled for getJs request
> --
>
> Key: OFBIZ-11980
> URL: https://issues.apache.org/jira/browse/OFBIZ-11980
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11980.patch, OFBIZ-11980.patch
>
>
> Hide logs related to getJs request as it doesn't provide meaningful data.



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Alex Bodnaru (Jira)


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

Alex Bodnaru commented on OFBIZ-11973:
--

yes [~jleroux] i was asked to login.
yesterday I tried to open  product? product_id=xxx, 
but bumped into the same error like now.
could it be you got here by submitting a form?

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Closed] (OFBIZ-8539) Unit test case for service - createTopic

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain closed OFBIZ-8539.
-
Resolution: Invalid

> Unit test case for service - createTopic
> 
>
> Key: OFBIZ-8539
> URL: https://issues.apache.org/jira/browse/OFBIZ-8539
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
>
> Unit test case for service - createTopic



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


[jira] [Reopened] (OFBIZ-8539) Unit test case for service - createTopic

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain reopened OFBIZ-8539:
---

> Unit test case for service - createTopic
> 
>
> Key: OFBIZ-8539
> URL: https://issues.apache.org/jira/browse/OFBIZ-8539
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
>
> Unit test case for service - createTopic



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


[jira] [Commented] (OFBIZ-8539) Unit test case for service - createTopic

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain commented on OFBIZ-8539:
---

This service has been removed. We are good to close this ticket.

> Unit test case for service - createTopic
> 
>
> Key: OFBIZ-8539
> URL: https://issues.apache.org/jira/browse/OFBIZ-8539
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
> Fix For: Trunk
>
>
> Unit test case for service - createTopic



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


[jira] [Closed] (OFBIZ-8539) Unit test case for service - createTopic

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain closed OFBIZ-8539.
-
Fix Version/s: (was: Trunk)
   Resolution: Implemented

> Unit test case for service - createTopic
> 
>
> Key: OFBIZ-8539
> URL: https://issues.apache.org/jira/browse/OFBIZ-8539
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
>
> Unit test case for service - createTopic



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


[jira] [Commented] (OFBIZ-8540) Unit test case for service - checkContentAssocIds

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain commented on OFBIZ-8540:
---

This service has been removed. We are good to close this ticket.

> Unit test case for service - checkContentAssocIds
> -
>
> Key: OFBIZ-8540
> URL: https://issues.apache.org/jira/browse/OFBIZ-8540
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
> Fix For: Trunk
>
>
> Unit test case for service - checkContentAssocIds



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


[jira] [Closed] (OFBIZ-8540) Unit test case for service - checkContentAssocIds

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain closed OFBIZ-8540.
-
Fix Version/s: (was: Trunk)
   Resolution: Invalid

> Unit test case for service - checkContentAssocIds
> -
>
> Key: OFBIZ-8540
> URL: https://issues.apache.org/jira/browse/OFBIZ-8540
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
>
> Unit test case for service - checkContentAssocIds



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


[jira] [Closed] (OFBIZ-8580) Unit test case for service - deleteProductCategory

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain closed OFBIZ-8580.
-
Fix Version/s: (was: Trunk)
   Resolution: Invalid

> Unit test case for service - deleteProductCategory
> --
>
> Key: OFBIZ-8580
> URL: https://issues.apache.org/jira/browse/OFBIZ-8580
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
>
> Unit test case for service - deleteProductCategory



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


[jira] [Commented] (OFBIZ-8580) Unit test case for service - deleteProductCategory

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain commented on OFBIZ-8580:
---

Not found 'deleteProductCategory' service. I think we are good to close this 
ticket.

> Unit test case for service - deleteProductCategory
> --
>
> Key: OFBIZ-8580
> URL: https://issues.apache.org/jira/browse/OFBIZ-8580
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: product
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
> Fix For: Trunk
>
>
> Unit test case for service - deleteProductCategory



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


[jira] [Closed] (OFBIZ-8547) Unit test case for service - getContent

2020-08-26 Thread Akash Jain (Jira)


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

Akash Jain closed OFBIZ-8547.
-
Fix Version/s: (was: Trunk)
   Upcoming Branch
   Resolution: Implemented

> Unit test case for service - getContent
> ---
>
> Key: OFBIZ-8547
> URL: https://issues.apache.org/jira/browse/OFBIZ-8547
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-8547.patch
>
>
> Unit test case for service - getContent



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


[jira] [Commented] (OFBIZ-8547) Unit test case for service - getContent

2020-08-26 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-8547:


Commit b9fede6c269f16324779891c93c53aba6931eb39 in ofbiz-framework's branch 
refs/heads/trunk from Akash Jain
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b9fede6 ]

Improved: Unit test case for service - getContent (OFBIZ-8547)


> Unit test case for service - getContent
> ---
>
> Key: OFBIZ-8547
> URL: https://issues.apache.org/jira/browse/OFBIZ-8547
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: content
>Reporter: Akash Jain
>Assignee: Akash Jain
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-8547.patch
>
>
> Unit test case for service - getContent



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11973:
-

Weird, you should be able to get to 
https://localhost:8443/ordermgr/products/p_WG-5569 directly.

Did you not receive a screen asking for signing in as admin/ofbiz (before)?


> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Alex Bodnaru (Jira)


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

Alex Bodnaru commented on OFBIZ-11973:
--

hello [~jleroux]

i couldn't see the ordermgr/p page, since it should be invoked from some 
other place.

but it could be that this page is not showing ALL the product associations.

but PLEASE explain me how you could get to this url at all?

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11973:
-

I mean how to you test it? What is expected?

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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


[jira] [Commented] (OFBIZ-11973) enclose productsummary list in div.row to better use the screen

2020-08-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11973:
-

Hi Alex,

After applying your patch, when I look at 
https://localhost:8443/ecomseo/product/Tiny-Chrome-Widget-WG-5569.html I see
bq. These two are much more useful together.
When I look at https://localhost:8443/ordermgr/products/p_WG-5569 I don't see 
it, normal?

> enclose productsummary list in div.row to better use the screen
> ---
>
> Key: OFBIZ-11973
> URL: https://issues.apache.org/jira/browse/OFBIZ-11973
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Release Branch 17.12, Trunk
>Reporter: Alex Bodnaru
>Priority: Trivial
> Attachments: highlightLabel.patch, missing-div-row.patch
>
>
> as the summary says.
> showcase: the list of products from a keyword search shows products in narrow 
> summary format, but not side by side.



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