[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2019-01-12 Thread Gil Portenseigne (JIRA)


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

Gil Portenseigne updated OFBIZ-10692:
-
Attachment: screenshot-1.png

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Assignee: Gil Portenseigne
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch, 
> Sélection_088.png, screenshot-1.png
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using {{run 
> service}} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With  [^OFBIZ-10692.patch]  update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2019-01-12 Thread Gil Portenseigne (JIRA)


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

Gil Portenseigne updated OFBIZ-10692:
-
Attachment: Sélection_088.png

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Assignee: Gil Portenseigne
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch, 
> Sélection_088.png, screenshot-1.png
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using {{run 
> service}} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With  [^OFBIZ-10692.patch]  update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2019-01-02 Thread Nicolas Malin (JIRA)


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

Nicolas Malin updated OFBIZ-10692:
--
Component/s: framework

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Assignee: Gil Portenseigne
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using {{run 
> service}} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With  [^OFBIZ-10692.patch]  update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-29 Thread Jacques Le Roux (JIRA)


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

Jacques Le Roux updated OFBIZ-10692:

Description: 
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
  
 This ticket try to improve the way that errors are rendered when using {{run 
service}} groovy DSL method.

 
 To reproduce and test patch:
 apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
createUomConversionDated service) and try to create a conversion rate with a 
fromDate greater than the thruDate here:
https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company
  
 You should then see the following error:
     The Following Errors Occurred: Error calling event: 
org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
(org.apache.ofbiz.service.ExecutionServiceException: Through date can't be same 
or smaller than from date)
  
 With  [^OFBIZ-10692.patch]  update, the error must be displayed like:
     The Following Errors Occurred: Through date can't be same or smaller than 
from date
  

  was:
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
  
 This ticket try to improve the way that errors are rendered when using \{run 
service} groovy DSL method.

 
 To reproduce and test patch:
 apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
createUomConversionDated service) and try to create a conversion rate with a 
fromDate greater than the thruDate here:
 
[https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
  
 You should then see the following error:
     The Following Errors Occurred: Error calling event: 
org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
(org.apache.ofbiz.service.ExecutionServiceException: Through date can't be same 
or smaller than from date)
  
 With OFBIZ-10692.patch update, the error must be displayed like:
     The Following Errors Occurred: Through date can't be same or smaller than 
from date
  


> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Assignee: Gil Portenseigne
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using {{run 
> service}} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With  [^OFBIZ-10692.patch]  update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Attachment: OFBIZ-10692-TEST.patch

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
>  
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With OFBIZ-10692.patch update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Attachment: (was: OFBIZ-10692-TEST.patch)

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
>  
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With OFBIZ-10692.patch update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Attachment: OFBIZ-10692-TEST.patch
OFBIZ-10692.patch

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch 'OFBIZ-10692_test.patch' (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
>  
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With OFBIZ-10692.patch update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Description: 
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
  
 This ticket try to improve the way that errors are rendered when using \{run 
service} groovy DSL method.

 
 To reproduce and test patch:
 apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
createUomConversionDated service) and try to create a conversion rate with a 
fromDate greater than the thruDate here:
 
[https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
  
 You should then see the following error:
     The Following Errors Occurred: Error calling event: 
org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
(org.apache.ofbiz.service.ExecutionServiceException: Through date can't be same 
or smaller than from date)
  
 With OFBIZ-10692.patch update, the error must be displayed like:
     The Following Errors Occurred: Through date can't be same or smaller than 
from date
  

  was:
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
  
 This ticket try to improve the way that errors are rendered when using \{run 
service} groovy DSL method.

 
 To reproduce and test patch:
 apply the attached patch 'OFBIZ-10692_test.patch' (it adds a control on 
createUomConversionDated service) and try to create a conversion rate with a 
fromDate greater than the thruDate here:
 
[https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
  
 You should then see the following error:
     The Following Errors Occurred: Error calling event: 
org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
(org.apache.ofbiz.service.ExecutionServiceException: Through date can't be same 
or smaller than from date)
  
 With OFBIZ-10692.patch update, the error must be displayed like:
     The Following Errors Occurred: Through date can't be same or smaller than 
from date
  


> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692-TEST.patch, OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch [^OFBIZ-10692-TEST.patch] (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
>  
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With OFBIZ-10692.patch update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Attachment: (was: OFBIZ-10692.patch)

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
>  To reproduce and test patch:
>  apply the attached patch 'OFBIZ-10692_test.patch' (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
>  
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>   
>  You should then see the following error:
>      The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>   
>  With OFBIZ-10692.patch update, the error must be displayed like:
>      The Following Errors Occurred: Through date can't be same or smaller 
> than from date
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Labels: patch  (was: )

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
>  Labels: patch
> Attachments: OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
> To reproduce and test patch:
> apply the attached patch 'OFBIZ-10692.patch' (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>  
> You should then see the following error:
>     The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>  
> With OFBIZ-10692.patch update, the error must be displayed like:
>     The Following Errors Occurred: Through date can't be same or smaller than 
> from date
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Description: 
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
  
 This ticket try to improve the way that errors are rendered when using \{run 
service} groovy DSL method.

 
To reproduce and test patch:
apply the attached patch 'OFBIZ-10692.patch' (it adds a control on 
createUomConversionDated service) and try to create a conversion rate with a 
fromDate greater than the thruDate here:
[https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
 
You should then see the following error:
    The Following Errors Occurred: Error calling event: 
org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
(org.apache.ofbiz.service.ExecutionServiceException: Through date can't be same 
or smaller than from date)
 
With OFBIZ-10692.patch update, the error must be displayed like:
    The Following Errors Occurred: Through date can't be same or smaller than 
from date
 

  was:
Like discussed in thread : 
[https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
 
This ticket try to improve the way that errors are rendered when using \{run 
service} groovy DSL method.


> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Major
> Attachments: OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
> To reproduce and test patch:
> apply the attached patch 'OFBIZ-10692.patch' (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>  
> You should then see the following error:
>     The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>  
> With OFBIZ-10692.patch update, the error must be displayed like:
>     The Following Errors Occurred: Through date can't be same or smaller than 
> from date
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Attachment: OFBIZ-10692.patch

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Major
> Attachments: OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>  
> This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10692) Groovy DSL runService Exception Management

2018-12-05 Thread Leila Mekika (JIRA)


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

Leila Mekika updated OFBIZ-10692:
-
Priority: Minor  (was: Major)

> Groovy DSL runService Exception Management
> --
>
> Key: OFBIZ-10692
> URL: https://issues.apache.org/jira/browse/OFBIZ-10692
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Leila Mekika
>Priority: Minor
> Attachments: OFBIZ-10692.patch
>
>
> Like discussed in thread : 
> [https://lists.apache.org/thread.html/5a8e1caed0bcf29889c6b88ec1916947cf092d6f99d7dfe27cbef8c0@%3Cdev.ofbiz.apache.org%3E]
>   
>  This ticket try to improve the way that errors are rendered when using \{run 
> service} groovy DSL method.
>  
> To reproduce and test patch:
> apply the attached patch 'OFBIZ-10692.patch' (it adds a control on 
> createUomConversionDated service) and try to create a conversion rate with a 
> fromDate greater than the thruDate here:
> [https://localhost:8443/accounting/control/viewFXConversions?organizationPartyId=Company]
>  
> You should then see the following error:
>     The Following Errors Occurred: Error calling event: 
> org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error 
> (org.apache.ofbiz.service.ExecutionServiceException: Through date can't be 
> same or smaller than from date)
>  
> With OFBIZ-10692.patch update, the error must be displayed like:
>     The Following Errors Occurred: Through date can't be same or smaller than 
> from date
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)