[jira] [Commented] (OFBIZ-5044) The loadDateDimension service is loading incorrect weekOfYear field.

2015-02-21 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy commented on OFBIZ-5044:
---

Hi Pierre and Deepak,

If I understand you right, Pierre, you are saying that at year boundaries a 
week might not have seven days. In some years there could be a week 53 with one 
day, a Monday, and in others a week 1 with one day, a Sunday.

ISO weeks preserve every week having seven days. If the majority of the days at 
the boundary fall in the new year, it's week 1. If the majority fall in the old 
year, it's week 53.

*Anything* we do will be confusing. I think we should stick to ISO weeks - at 
least we can point people at a reference.

> The loadDateDimension service is loading incorrect weekOfYear field.
> 
>
> Key: OFBIZ-5044
> URL: https://issues.apache.org/jira/browse/OFBIZ-5044
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
> Environment: Ubuntu 10.04
>Reporter: Chatree Srichart
>  Labels: calendar, week_of_year
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi all,
> When I ran the loadDateDimension service with these dates:
> - fromDate = "25 Dec 2010"
> - thruDate = "05 Jan 2011"
> I got:
> - "25 Dec 2010" has the week of year as 52.
> - "26 Dec 2010" has the week of year as 1.
> Actually "26 Dec 2010" should has the week of year as 53.
> I think the problem is "26 Dec 2010" is in the same week of "1 Jan 2011".
> Regards,
> Chatree Srichart



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5851) Add ability to assign parties to Production Schemas

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-5851:

Attachment: OFBIZ-5851-RoutingPartyAssoc.patch

This patch addresses the issue.

> Add ability to assign parties to Production Schemas
> ---
>
> Key: OFBIZ-5851
> URL: https://issues.apache.org/jira/browse/OFBIZ-5851
> Project: OFBiz
>  Issue Type: Improvement
>  Components: manufacturing
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Attachments: OFBIZ-5851-RoutingPartyAssoc.patch
>
>
> Currently it is not possible to assign standard parties to a production 
> schema, e.g. the manufacturing party or the production manager.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Adrian Crum (JIRA)

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

Adrian Crum commented on OFBIZ-6084:


I added the type check as a validation - so you can't extend a single form to a 
list form (or the other way around). It would be better to find out why the 
form type is empty and fix it.

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
> Attachments: OFBIZ-6084.patch
>
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6027) Deploy Ofbiz 12.0.4 version on Tomcat 7

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6027.
--
Resolution: Invalid
  Assignee: Jacques Le Roux

This is not a bug, please ask questions on the user ML 
http://ofbiz.apache.org/mailing-lists.html

> Deploy Ofbiz 12.0.4 version on Tomcat 7 
> 
>
> Key: OFBIZ-6027
> URL: https://issues.apache.org/jira/browse/OFBIZ-6027
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
> Environment: Windows 7
>Reporter: Pramod
>Assignee: Jacques Le Roux
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Provide us steps to deploy Ofbiz 12.0.4 on External Tomcat 7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6028) Deploy Ofbiz version 9 and above on Jboss Server

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6028.
--
Resolution: Invalid
  Assignee: Jacques Le Roux

This is not a bug, please ask questions on the user ML 
http://ofbiz.apache.org/mailing-lists.html

> Deploy Ofbiz version 9 and above on Jboss Server
> 
>
> Key: OFBIZ-6028
> URL: https://issues.apache.org/jira/browse/OFBIZ-6028
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/appserver
> Environment: Windows 7
>Reporter: Pramod
>Assignee: Jacques Le Roux
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Can I get the steps to deploy Ofbiz higher versions on Jboss server



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak closed OFBIZ-6090.


> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak updated OFBIZ-6090:
-
Fix Version/s: 12.04.06

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak closed OFBIZ-6013.


> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak commented on OFBIZ-6090:
--

The fix is now committed in,
Trunk r1661324
14.12 r1661325
13.07 r1661326
12.04 r1661426

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak updated OFBIZ-6013:
-
Fix Version/s: 12.04.06

> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak edited comment on OFBIZ-6013 at 2/21/15 6:43 PM:
---

The fix is now committed in,
Trunk r1661324
14.12 r1661325
13.07 r1661326
12.04 r1661426

Patch applied from OFBIZ-6090


was (Author: mridul.pathak):
The fix is now committed in,
Trunk r1661324
14.12 r1661325
13.07 r1661326
12.04 r1661324

Patch applied from OFBIZ-6090

> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak commented on OFBIZ-6013:
--

The fix is now committed in,
Trunk r1661324
14.12 r1661325
13.07 r1661326
12.04 r1661324

Patch applied from OFBIZ-6090

> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5367) Incorrect shipment invoicing

2015-02-21 Thread Christian Carlow (JIRA)

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

Christian Carlow closed OFBIZ-5367.
---

> Incorrect shipment invoicing
> 
>
> Key: OFBIZ-5367
> URL: https://issues.apache.org/jira/browse/OFBIZ-5367
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 12.04
>Reporter: Christian Carlow
>
> The auto-invoicing functionality that is triggered when a shipment statusId 
> is changed to Pick or Pack only invoices shipment items that have been issued 
> to the shipment.  Other items that may have been added on the "Items" or 
> "Shipment Plan" page are excluded so the invoice created is incorrect.
> The problem is caused by the chain of functions performed when the 
> "createInvoicesFromShipments" service is called when the shipment statusId is 
> changed.  The service only handles itemIssuance records when creating invoice 
> items.  It probably needs to handle OrderShipment records also.
> Also, the Accounting Invoice application also lacks a form for adding such 
> data manually.  It doesn't allow OrderShipment or ItemIssuances to be 
> manually associated with Invoice Items which is done automatically for the 
> shipment items associated with itemIssuances.  I created this Improvement 
> issue to handle these features that need to be added: 
> https://issues.apache.org/jira/browse/OFBIZ-5353



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (OFBIZ-5367) Incorrect shipment invoicing

2015-02-21 Thread Christian Carlow (JIRA)

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

Christian Carlow resolved OFBIZ-5367.
-
Resolution: Not a Problem

Thanks Diviesh,

I think I created this issue back when I first join the community and didn't 
understand the shipment/invoicing process.  I'm resolving as not a problem for 
now.

> Incorrect shipment invoicing
> 
>
> Key: OFBIZ-5367
> URL: https://issues.apache.org/jira/browse/OFBIZ-5367
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 12.04
>Reporter: Christian Carlow
>
> The auto-invoicing functionality that is triggered when a shipment statusId 
> is changed to Pick or Pack only invoices shipment items that have been issued 
> to the shipment.  Other items that may have been added on the "Items" or 
> "Shipment Plan" page are excluded so the invoice created is incorrect.
> The problem is caused by the chain of functions performed when the 
> "createInvoicesFromShipments" service is called when the shipment statusId is 
> changed.  The service only handles itemIssuance records when creating invoice 
> items.  It probably needs to handle OrderShipment records also.
> Also, the Accounting Invoice application also lacks a form for adding such 
> data manually.  It doesn't allow OrderShipment or ItemIssuances to be 
> manually associated with Invoice Items which is done automatically for the 
> shipment items associated with itemIssuances.  I created this Improvement 
> issue to handle these features that need to be added: 
> https://issues.apache.org/jira/browse/OFBIZ-5353



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5998) Use Limit Per Order Issue - Product Promo

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-5998:

Component/s: product

> Use Limit Per Order Issue - Product Promo
> -
>
> Key: OFBIZ-5998
> URL: https://issues.apache.org/jira/browse/OFBIZ-5998
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Reporter: Robert Lasater
>Priority: Minor
>
> The Product Promo field 'Use Limit Per Order' - should require a value for 
> the field. If let empty, the promo gets applied twice to every quantity, if 
> using a percentage discount.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6039) Orders and Consents

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-6039:

Labels: agreement(s)  (was: )

> Orders and Consents
> ---
>
> Key: OFBIZ-6039
> URL: https://issues.apache.org/jira/browse/OFBIZ-6039
> Project: OFBiz
>  Issue Type: New Feature
>  Components: order
>Reporter: Kongrath Suankaewmanee
>Priority: Minor
>  Labels: agreement(s)
>
> We need to be able to make a relationship between the agreements with orders.
> And I still don't see anywhere to link agreements with a specific order.
> In the business case, By confirming the purchase order, customer need to 
> agree on the purchase terms. Also, there will need to be a specific indicator 
> in the database to capture that the customer has indeed agreed to the terms 
> and the datetime stamp of this consent.
> This is our solution and maybe a best way to add a new entity.
> AgreementOrderAppl:
> agreementId
> agreementItemSeqId
> orderId
> orderItemSeqId
> Link: 
> http://ofbiz.135035.n4.nabble.com/orders-and-contracts-td2248364.html#a2248681
> Any opinions here?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6039) Orders and Consents

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-6039:

Component/s: order

> Orders and Consents
> ---
>
> Key: OFBIZ-6039
> URL: https://issues.apache.org/jira/browse/OFBIZ-6039
> Project: OFBiz
>  Issue Type: New Feature
>  Components: order
>Reporter: Kongrath Suankaewmanee
>Priority: Minor
>
> We need to be able to make a relationship between the agreements with orders.
> And I still don't see anywhere to link agreements with a specific order.
> In the business case, By confirming the purchase order, customer need to 
> agree on the purchase terms. Also, there will need to be a specific indicator 
> in the database to capture that the customer has indeed agreed to the terms 
> and the datetime stamp of this consent.
> This is our solution and maybe a best way to add a new entity.
> AgreementOrderAppl:
> agreementId
> agreementItemSeqId
> orderId
> orderItemSeqId
> Link: 
> http://ofbiz.135035.n4.nabble.com/orders-and-contracts-td2248364.html#a2248681
> Any opinions here?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5987) Can't configure "Orbital Payment Gateway" in a Payment Gateway Config tab of Accounting Manager.

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-5987:

Component/s: accounting

> Can't configure "Orbital Payment Gateway" in a Payment Gateway Config tab of  
> Accounting Manager.
> -
>
> Key: OFBIZ-5987
> URL: https://issues.apache.org/jira/browse/OFBIZ-5987
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Prateek
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5932) demo-trunk : unable to Find Financial Account and transaction details etc..,

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-5932:

Component/s: accounting

> demo-trunk : unable to Find Financial Account and transaction details etc..,
> 
>
> Key: OFBIZ-5932
> URL: https://issues.apache.org/jira/browse/OFBIZ-5932
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Reporter: Prateek
> Attachments: error.png
>
>
> I've successfully configured Authorize.net payment gateway in demo-trunk and 
> perform GC purchase and transaction is getting reflected in Authorize.net. 
> Now when I do transaction search and transaction details I see errors. I've 
> attached a screen shot for reference.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6093) Create _NA_ party and STANDARD shipment method as seed data

2015-02-21 Thread Christian Carlow (JIRA)
Christian Carlow created OFBIZ-6093:
---

 Summary: Create _NA_ party and STANDARD shipment method as seed 
data
 Key: OFBIZ-6093
 URL: https://issues.apache.org/jira/browse/OFBIZ-6093
 Project: OFBiz
  Issue Type: Improvement
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Priority: Minor


Finalizing purchase orders after only loading seed data throws an error that 
the _NA_ party and STANDARD shipment method type do not exist.  Seems that data 
should exist after loading seed data. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6092) Domain name should not create for tenant if its left empty during tenant creation

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar edited comment on OFBIZ-6092 at 2/21/15 1:30 PM:
--

This bug introduced with changes for task OFBIZ-5898


was (Author: arunpati):
This bug introduced with changes for this task

> Domain name should not create for tenant if its left empty during tenant 
> creation
> -
>
> Key: OFBIZ-6092
> URL: https://issues.apache.org/jira/browse/OFBIZ-6092
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Arun Patidar
>
> Domain name should not create for tenant if its left empty during tenant 
> creation.
> When we run command ./ant create-tenant, system asks to provide domain name 
> for tenant but its set as optional. User can skip this and can continue but 
> in background system generates domain name by nextSeqId.
> It should not auto create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5930) Data resouce caching issue while render data resource on multi tenant environment

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-5930.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

Thanks Deepak for the contribution, Changes are committed in trunk at r1661358 
and in R14.12 at r1661359.

> Data resouce  caching issue while render data resource on multi tenant 
> environment
> --
>
> Key: OFBIZ-5930
> URL: https://issues.apache.org/jira/browse/OFBIZ-5930
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-5930.patch
>
>
> Need to fix the DataResouce caching issue while render the DataResouce on 
> multi tenant environment. 
> It might be possible that same data resource id exists for multiple tenant, 
> and as DataResouce caching does not used tenant specific caching so it may 
> lead to incorrect data rendering.
> Here is the current code to get the DataResource Teamplate from cache
> {code}
> Template cachedTemplate = FreeMarkerWorker.getTemplate("DataResource:" + 
> dataResourceId);
> {code}
> Need to add the delegator name as prefix to fix the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6092) Domain name should not create for tenant if its left empty during tenant creation

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar commented on OFBIZ-6092:
-

This bug introduced with changes for this task

> Domain name should not create for tenant if its left empty during tenant 
> creation
> -
>
> Key: OFBIZ-6092
> URL: https://issues.apache.org/jira/browse/OFBIZ-6092
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Arun Patidar
>
> Domain name should not create for tenant if its left empty during tenant 
> creation.
> When we run command ./ant create-tenant, system asks to provide domain name 
> for tenant but its set as optional. User can skip this and can continue but 
> in background system generates domain name by nextSeqId.
> It should not auto create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6092) Domain name should not create for tenant if its left empty during tenant creation

2015-02-21 Thread Arun Patidar (JIRA)
Arun Patidar created OFBIZ-6092:
---

 Summary: Domain name should not create for tenant if its left 
empty during tenant creation
 Key: OFBIZ-6092
 URL: https://issues.apache.org/jira/browse/OFBIZ-6092
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: Trunk, 14.12.01
Reporter: Arun Patidar


Domain name should not create for tenant if its left empty during tenant 
creation.

When we run command ./ant create-tenant, system asks to provide domain name for 
tenant but its set as optional. User can skip this and can continue but in 
background system generates domain name by nextSeqId.

It should not auto create.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-5930) Data resouce caching issue while render data resource on multi tenant environment

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-5930:
--

Assignee: Ashish Vijaywargiya

> Data resouce  caching issue while render data resource on multi tenant 
> environment
> --
>
> Key: OFBIZ-5930
> URL: https://issues.apache.org/jira/browse/OFBIZ-5930
> Project: OFBiz
>  Issue Type: Bug
>  Components: content
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-5930.patch
>
>
> Need to fix the DataResouce caching issue while render the DataResouce on 
> multi tenant environment. 
> It might be possible that same data resource id exists for multiple tenant, 
> and as DataResouce caching does not used tenant specific caching so it may 
> lead to incorrect data rendering.
> Here is the current code to get the DataResource Teamplate from cache
> {code}
> Template cachedTemplate = FreeMarkerWorker.getTemplate("DataResource:" + 
> dataResourceId);
> {code}
> Need to add the delegator name as prefix to fix the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5447) .LoginWorker#logout leads to error in tenant specific ecommerce component

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-5447.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

We have provided additional comments on Dev mailing list. So now we are closing 
this issue assuming that we doesn't have any concerns here.

> .LoginWorker#logout leads to error in tenant specific ecommerce component
> -
>
> Key: OFBIZ-5447
> URL: https://issues.apache.org/jira/browse/OFBIZ-5447
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Reporter: Pierre Smits
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, Upcoming Branch
>
>
> In a tenant specific ecommerce application I have set following:
> in the ofbiz-component.xml
>  title="mytenant-ecommerce"
> server="default-server"
> location="webapp/ecommerce"
> mount-point="/mytenant-ecommerce"
> app-bar-display="false"
> />
> 
> In the accompanying web.xml I have defined:
> 
> webSiteId
> mytenant-WebStore
> A unique ID used to look up the WebSite 
> entity
> 
> 
> localDispatcherName
> mytenant-ecommerce
> A unique name used to identify/recognize the local 
> dispatcher for the Service Engine
> 
> 
> entityDelegatorName
> default#mytenant
> The Name of the Entity Delegator to use, defined in 
> entityengine.xml
> 
> Everything works fine. All tenant specific aspects (data and screen)s as it 
> should. Including registering and login. But when I log out, the redirect (to 
> main) doesn't return to the main screen of the (tenant-specific) ecommerce 
> application. In stead it shows the message that the webstore hasn't been set 
> up (A Product Store has not been defined for this ecommerce site. A Product 
> Store can be created using the ofbizsetup wizard.)
> When looking thru the logs I see - prior to the logout event - that the 
> delegator and dispatcher are as defined in the web.xml file for the 
> component, being 'default#mytenant' and 'mytenant-ecommere' (see above exerpt 
> of the web.xml) 
> During the logout event, I see the destruction of the existing session and 
> the creation of a new event.  See exerpt of log below.
>  [java] 2013-12-27 13:15:57,107 (http-bio-0.0.0.0-8443-exec-155) 
> [ControlEventListener.java:107:INFO ] Destroying session: 
> 7AE24FD4BB7547E7463A0C9762ABA2FC.jvm1
>  [java] 2013-12-27 13:15:57,108 (http-bio-0.0.0.0-8443-exec-155) 
> [ControlEventListener.java:65 :INFO ] Creating session: 
> AB4989D49CFA17454B62CA75523410B4.jvm1
> Subsequently I see that the delegator has changed to 'default'
> And following appears in the log:
>  [java] 2013-12-27 13:15:57,827 (http-bio-0.0.0.0-8080-exec-98) [ 
> RequestHandler.java:349:INFO ] This is the first request in this visit. 
> sessionId=AB4989D49CFA17454B62CA75523410B4.jvm1
>  [java] 2013-12-27 13:15:57,828 (http-bio-0.0.0.0-8080-exec-98) [ 
> ProductStoreWorker.java:107:ERROR] No product store found in request, cannot 
> set locale!
>  [java] 2013-12-27 13:15:57,828 (http-bio-0.0.0.0-8080-exec-98) [ 
> ProductStoreWorker.java:96 :ERROR] No product store found in request, cannot 
> set CurrencyUomId!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5986) Error on accessing new tenant

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-5986.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

Thanks Arun, closing this task now. Somehow I forgot to close this task.

> Error on accessing new tenant
> -
>
> Key: OFBIZ-5986
> URL: https://issues.apache.org/jira/browse/OFBIZ-5986
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Ashish Vijaywargiya
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-5986.patch
>
>
> Steps to reproduce the error: 
> 1) Create new tenant.
> 2) Create a new webapp
> 3) Associate the tenant delegator with this app
> When we access this webapp on browser then following error is coming. 
> A Product Store has not been defined for this mytenant site. A Product Store 
> can be created using the ofbizsetup wizard.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6082) HELP_HR_Main.xml invalid Docbook syntax

2015-02-21 Thread Sharan Foga (JIRA)

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

Sharan Foga updated OFBIZ-6082:
---
Fix Version/s: (was: Trunk)
   Upcoming Branch

> HELP_HR_Main.xml invalid Docbook syntax
> ---
>
> Key: OFBIZ-6082
> URL: https://issues.apache.org/jira/browse/OFBIZ-6082
> Project: OFBiz
>  Issue Type: Bug
>  Components: humanres
>Affects Versions: Trunk
> Environment: All
>Reporter: Ron Wheeler
>Assignee: Sharan Foga
> Fix For: 14.12.01, Upcoming Branch
>
>
> Titles can only be used once in a section.
> Add sub-sctions to HELP_HR_Main.xml 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya commented on OFBIZ-5373:


Thanks Jacques for your comment, I will be extra careful from next time. 

--
Ashish

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6084:

Attachment: OFBIZ-6084.patch

Here is the patch for this issue, IMO we can remove the problematic condition, 
as in ModelForm.java if type is null then it check for parentForm type and used 
it for the same. So instead of adding this check here we can remove the the 
condition.

Hi [~adri...@hlmksw.com] please have a look at it as its added at r1654670.

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
> Attachments: OFBIZ-6084.patch
>
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-5373:
---
Fix Version/s: (was: Trunk)
   Upcoming Branch

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5373:


Please Ashish remember you fix the upcoming branch not the trunk which is never 
released. I did some for you already this morning...

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6028) Deploy Ofbiz version 9 and above on Jboss Server

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-6028:
-

Is this what we want to do? We are discussing in the dev ml whether or not to 
attic various special purpose components and this seems to be related to the 
appserver component.


> Deploy Ofbiz version 9 and above on Jboss Server
> 
>
> Key: OFBIZ-6028
> URL: https://issues.apache.org/jira/browse/OFBIZ-6028
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/appserver
> Environment: Windows 7
>Reporter: Pramod
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Can I get the steps to deploy Ofbiz higher versions on Jboss server



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6028) Deploy Ofbiz version 9 and above on Jboss Server

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-6028:

Component/s: (was: ALL COMPONENTS)
 specialpurpose/appserver

> Deploy Ofbiz version 9 and above on Jboss Server
> 
>
> Key: OFBIZ-6028
> URL: https://issues.apache.org/jira/browse/OFBIZ-6028
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/appserver
> Environment: Windows 7
>Reporter: Pramod
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Can I get the steps to deploy Ofbiz higher versions on Jboss server



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak closed OFBIZ-5019.


> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>Assignee: Mridul Pathak
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak resolved OFBIZ-5019.
--
Resolution: Cannot Reproduce

> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>Assignee: Mridul Pathak
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak commented on OFBIZ-5019:
--

Thanks [~arunpati] for verifying. This is a very old issue reported back in 
2012. Based on Arun's comments we can safely close this issue.

> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>Assignee: Mridul Pathak
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-5373.
--
   Resolution: Fixed
Fix Version/s: Trunk
   13.07.02
   12.04.06
   14.12.01

Thanks Deepak for creating the issue, Thanks Rishi for providing the patch and 
thanks Arun for verification. Changes are committed in trunk(r1661350), 
R14.12(r1661351), R13.07(r1661353), R12.04(r1661354).


> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Trunk
>
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak reassigned OFBIZ-5019:


Assignee: Mridul Pathak

> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>Assignee: Mridul Pathak
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6084:
-

I am able to figure out the root cause, In ModelSingleForm.java if 
{code}
(parentElement.getAttribute("name").equals(parentForm)
&& 
formType.equals(parentElement.getAttribute("type"))) {
{code}

This condition causes issue, Here formType is empty hence condition fails and 
it fails to get the parentForm.

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5044) The loadDateDimension service is loading incorrect weekOfYear field.

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-5044:
-

Having days of the new year appear in the last week of the previous year is as 
fundamentally wrong as having the last days of the year appear in the first 
week of the new year.

Leaving it is not a good idea. It will breed the impression that something that 
other can solve (in other solutions/technologies/etc) won't be solved in OFBiz.
When potential adopters can't even trust that the basics are correct, how can 
they trust the rest?

> The loadDateDimension service is loading incorrect weekOfYear field.
> 
>
> Key: OFBIZ-5044
> URL: https://issues.apache.org/jira/browse/OFBIZ-5044
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
> Environment: Ubuntu 10.04
>Reporter: Chatree Srichart
>  Labels: calendar, week_of_year
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi all,
> When I ran the loadDateDimension service with these dates:
> - fromDate = "25 Dec 2010"
> - thruDate = "05 Jan 2011"
> I got:
> - "25 Dec 2010" has the week of year as 52.
> - "26 Dec 2010" has the week of year as 1.
> Actually "26 Dec 2010" should has the week of year as 53.
> I think the problem is "26 Dec 2010" is in the same week of "1 Jan 2011".
> Regards,
> Chatree Srichart



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6058) Find Shipment generates an error

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-6058:
---
Fix Version/s: (was: Trunk)
   Upcoming Branch

> Find Shipment generates an error
> 
>
> Key: OFBIZ-6058
> URL: https://issues.apache.org/jira/browse/OFBIZ-6058
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Ashish Vijaywargiya
>  Labels: facility, shipment
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6058.patch
>
>
> When trying to look up shipments, following error is shown:
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar commented on OFBIZ-5373:
-

Hi [~pfm.smits]

We are not considering order update here. I just provided patch for fixing bug 
in existing work flow. Introducing of new work flow will require more design 
level discussions. So I think we should good with fix in current work flow for 
now. 

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-5373:
-

Are we considering the right business functionality? Are we going to update the 
order, when more is delivered than ordered? 

We can not ascertain whether that was the intend (without more details 
regarding the order and/or agreement), so we must be very cautious here. 
Basically (and legally) only that what has been ordered is allowed to be 
delivered. Any shortage and excess must be resolved between the parties in 
another process. 

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar edited comment on OFBIZ-5019 at 2/21/15 12:55 PM:
---

This issue does not persists in 13.07,14.12 and trunk. This has been fixed in 
recent enhancement in multi-tenancy functionality under task OFBIZ-5898. We 
should close this task now. 


was (Author: arunpati):
This issue does not persists in 13.07,14.12 and trunk. This has been fixed in 
recent enhancement in multi-tenancy functionality. We can close this task now. 

> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-5373:
--

Assignee: Ashish Vijaywargiya

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5019) Multitenant delegator assignment not working correctly

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar commented on OFBIZ-5019:
-

This issue does not persists in 13.07,14.12 and trunk. This has been fixed in 
recent enhancement in multi-tenancy functionality. We can close this task now. 

> Multitenant delegator assignment not working  correctly
> ---
>
> Key: OFBIZ-5019
> URL: https://issues.apache.org/jira/browse/OFBIZ-5019
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS, framework
>Affects Versions: Trunk
> Environment: multitenantuse = "Y"
> Tenant with no Domain setting or Tenant using different domain for backend 
> applications
>Reporter: Carsten Schinzer
>  Labels: authentication, context, multitenancy, security
> Attachments: 
> OFBIZ-5019_Multitenant_delegator_assignment_not_working_correctly.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This issue arises when Multitenancy is in use. It arises only on backend 
> applications (as typically the frontend store applications will use a context 
> variable defined in web.xml to determin the delegator to be used (ie. the 
> database to use for data lookups etc).
> The issue manifests as follows:
> * the wrong data is read for standard backoffice displays (e.g. orders, 
> accounts, etc.); it is the dataa from the default datasource, not the 
> tenant´s data source
> * in the backend apps certain functions require authentication (checked 
> dynamically) and this will fail when the default delegator is used since the 
> tenant's user accounts will differ (if not in name then in password hashes) 
> from the default datasource -- this leads to authentication warnings all over 
> the place
> * one will not be able to mainpulate data of course, either



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6058) Find Shipment generates an error

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-6058.
--
   Resolution: Fixed
Fix Version/s: Trunk
   14.12.01

Thanks Pierre for creating the issue, Thanks Amardeep for providing the patch. 
Changes committed in trunk at r1661339 and in R14.12 at r1661342.

> Find Shipment generates an error
> 
>
> Key: OFBIZ-6058
> URL: https://issues.apache.org/jira/browse/OFBIZ-6058
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Ashish Vijaywargiya
>  Labels: facility, shipment
> Fix For: 14.12.01, Trunk
>
> Attachments: OFBIZ-6058.patch
>
>
> When trying to look up shipments, following error is shown:
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6084:
-


All the form that are using extends and extend-resource is not set (extended 
forms exists in same file) are broken, if we pass the extend-resource then its 
working fine.

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5706) Have parties to be assigned to production run tasks

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-5706:
-

It depends where that is applied. Yes, on the production run declaration (the 
front page of the production run) it should only display the current 
manufacturer. On the overview of associated parties all past and present 
partiers should be shown. And filtering can be done in another way. But that is 
another issue.

> Have parties to be assigned to production run tasks
> ---
>
> Key: OFBIZ-5706
> URL: https://issues.apache.org/jira/browse/OFBIZ-5706
> Project: OFBiz
>  Issue Type: Improvement
>  Components: manufacturing
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-5706-ManufacturingParties2.patch
>
>
> It is not possible to assign parties to execute one or more task in a 
> production run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5858) Quote profit percentage is calculated wrong

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-5858:
-

Or we can show both. 

> Quote profit percentage is calculated wrong
> ---
>
> Key: OFBIZ-5858
> URL: https://issues.apache.org/jira/browse/OFBIZ-5858
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>  Labels: quote
> Attachments: OFBIZ-5858-ORDER-QuoteProfitPerc.patch
>
>
> When reviewing the profit page of a quote the profit percentage is calculated 
> wrong. In stead of dividing the profit by the quote amount giving the margin, 
> the quote amount is divided by the average cost (when provided). Thus giving 
> the quote (amount) to cost ratio.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-6084:
-

It seems the issue is bigger than I anticipated.

Thanks for spotting the other, Deepak.

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey closed OFBIZ-6089.


> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6089.patch
>
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey resolved OFBIZ-6089.
--
Resolution: Fixed

Committed-
Trunk r1661334.
release14.12 r1661340.

Thanks [~deepak.dixit] for reporting the issue and providing the patch for the 
fix. 

> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6089.patch
>
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5629) Pagination at find WorkEffort screen does not work

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-5629:
-

This patch fix the issue, but FindWorkEffort flow is broken, so before/after 
applying patch on trunk/14.12 result not displaying.

> Pagination at find WorkEffort screen does not work
> --
>
> Key: OFBIZ-5629
> URL: https://issues.apache.org/jira/browse/OFBIZ-5629
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
> Environment: all environments
>Reporter: Ahmad Ludin
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: workeffort
> Attachments: OFBIZ-5629.patch
>
>
> Pagination (previous, next) does not work in find workeffort screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6084) Find account doesn't return accounts anymore

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6084:
-

 FindWorkEffort also broken, 
https://localhost:8443/workeffort/control/FindWorkEffort

> Find account doesn't return accounts anymore
> 
>
> Key: OFBIZ-6084
> URL: https://issues.apache.org/jira/browse/OFBIZ-6084
> Project: OFBiz
>  Issue Type: Bug
>  Components: marketing
>Affects Versions: Trunk, 14.12.01
>Reporter: Pierre Smits
>Priority: Blocker
>  Labels: account, sfa
>
> Since after r13.07 searching for accounts in the SFA application no results 
> are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6058) Find Shipment generates an error

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-6058:
--

Assignee: Ashish Vijaywargiya

> Find Shipment generates an error
> 
>
> Key: OFBIZ-6058
> URL: https://issues.apache.org/jira/browse/OFBIZ-6058
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Ashish Vijaywargiya
>  Labels: facility, shipment
> Attachments: OFBIZ-6058.patch
>
>
> When trying to look up shipments, following error is shown:
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6091) Supplier preferred currency not considered for drop-ship order

2015-02-21 Thread Akash Jain (JIRA)

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

Akash Jain updated OFBIZ-6091:
--
Attachment: OFBIZ-6091.patch

Attached patch to fix the reported issue.

> Supplier preferred currency not considered for drop-ship order
> --
>
> Key: OFBIZ-6091
> URL: https://issues.apache.org/jira/browse/OFBIZ-6091
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Akash Jain
>Assignee: Mridul Pathak
> Fix For: Trunk, 14.12.01, 13.07.01
>
> Attachments: OFBIZ-6091.patch
>
>
> Place sales order with a supplier for drop-ship then supplier preferred 
> currency not considered. To generate issue, follow these steps:
> # Go to Order > Order Entry and initiate sales order.
> # Select USD currency. 
> # Add product and quantity, then click the Add to Order button.
> # Item will be added in the shopping cart, click the Finalize Order tab.
> # Select supplier which have EUR preferred currency, and supply the product 
> (added in shopping cart) in EUR currency only. Make sure quantity of added 
> product in the shopping cart is equals / greater then to supplier minimum 
> order quantity of same product.
> # Finally place the order. 
> Expected Result:
> Drop-ship (PO) order should be generated for the sales order item.
> Actual Result:
> Drop-ship (PO) order not created and getting this error on console,
> =
> Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
> occurred creating drop shipments for order WSCO10180: SupplierProduct not 
> found
> =



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5629) Pagination at find WorkEffort screen does not work

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-5629:

Attachment: OFBIZ-5629.patch

Here is the patch for this issue. 
To fix this issue distinct and fieldList has been passed in perform find 
service and removed the removeDuplicateWorkEfforts service. 

> Pagination at find WorkEffort screen does not work
> --
>
> Key: OFBIZ-5629
> URL: https://issues.apache.org/jira/browse/OFBIZ-5629
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
> Environment: all environments
>Reporter: Ahmad Ludin
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: workeffort
> Attachments: OFBIZ-5629.patch
>
>
> Pagination (previous, next) does not work in find workeffort screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5858) Quote profit percentage is calculated wrong

2015-02-21 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-5858:
-

HI [~pfm.smits]


I think formula should be:

  percProfit = averageCost != 0 ? (profit / averageCost) * 100.00 : 0.00; and 
 totalPercProfit = totalCost != 0 ? (totalProfit / totalCost) * 100.00: 0.00;

I am saying this based on discussion given here: 
http://math.stackexchange.com/questions/105306/what-is-the-formula-to-calculate-profit-percentage

http://formulas.tutorvista.com/math/profit-formula.html

So formula given in your patch gives profit margin percentage and formula I am 
giving will give profit mark up percentage. 

Different people have different opinion on this formula. So we can conclude 
this and then push community to commit the right solution. 

> Quote profit percentage is calculated wrong
> ---
>
> Key: OFBIZ-5858
> URL: https://issues.apache.org/jira/browse/OFBIZ-5858
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>  Labels: quote
> Attachments: OFBIZ-5858-ORDER-QuoteProfitPerc.patch
>
>
> When reviewing the profit page of a quote the profit percentage is calculated 
> wrong. In stead of dividing the profit by the quote amount giving the margin, 
> the quote amount is divided by the average cost (when provided). Thus giving 
> the quote (amount) to cost ratio.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey updated OFBIZ-6089:
-
Fix Version/s: Upcoming Branch
   14.12.01

> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6089.patch
>
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6091) Supplier preferred currency not considered for drop-ship order

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak reassigned OFBIZ-6091:


Assignee: Mridul Pathak

> Supplier preferred currency not considered for drop-ship order
> --
>
> Key: OFBIZ-6091
> URL: https://issues.apache.org/jira/browse/OFBIZ-6091
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Akash Jain
>Assignee: Mridul Pathak
> Fix For: Trunk, 14.12.01, 13.07.01
>
>
> Place sales order with a supplier for drop-ship then supplier preferred 
> currency not considered. To generate issue, follow these steps:
> # Go to Order > Order Entry and initiate sales order.
> # Select USD currency. 
> # Add product and quantity, then click the Add to Order button.
> # Item will be added in the shopping cart, click the Finalize Order tab.
> # Select supplier which have EUR preferred currency, and supply the product 
> (added in shopping cart) in EUR currency only. Make sure quantity of added 
> product in the shopping cart is equals / greater then to supplier minimum 
> order quantity of same product.
> # Finally place the order. 
> Expected Result:
> Drop-ship (PO) order should be generated for the sales order item.
> Actual Result:
> Drop-ship (PO) order not created and getting this error on console,
> =
> Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
> occurred creating drop shipments for order WSCO10180: SupplierProduct not 
> found
> =



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6075) Error on Sending confirm email from newly created order

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6075.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01
 Assignee: Jacques Le Roux  (was: Mridul Pathak)

Thanks Arun,

Your patch is in 
trunk r1661328
R14.12 r1661329


> Error on Sending confirm email from newly created order
> ---
>
> Key: OFBIZ-6075
> URL: https://issues.apache.org/jira/browse/OFBIZ-6075
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Eduardo Arellano
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6075.patch
>
>
> Error on Sending confirm email from newly created order
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/OrderViewScreens.xml#SendOrderConfirmation]:
>  
> java.lang.IllegalArgumentException: Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery (Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  
> groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6091) Supplier preferred currency not considered for drop-ship order

2015-02-21 Thread Akash Jain (JIRA)

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

Akash Jain updated OFBIZ-6091:
--
Description: 
Place sales order with a supplier for drop-ship then supplier preferred 
currency not considered. To generate issue, follow these steps:
# Go to Order > Order Entry and initiate sales order.
# Select USD currency. 
# Add product and quantity, then click the Add to Order button.
# Item will be added in the shopping cart, click the Finalize Order tab.
# Select supplier which have EUR preferred currency, and supply the product 
(added in shopping cart) in EUR currency only. Make sure quantity of added 
product in the shopping cart is equals / greater then to supplier minimum order 
quantity of same product.
# Finally place the order. 

Expected Result:
Drop-ship (PO) order should be generated for the sales order item.

Actual Result:
Drop-ship (PO) order not created and getting this error on console,
=
Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
occurred creating drop shipments for order WSCO10180: SupplierProduct not found
=

  was:
Place sales order with a supplier for drop-ship then supplier preferred 
currency not considered. To generate issue, follow these steps:
# Go to Order > Order Entry and initiate sales order.
# Select USD currency. 
# Add product and quantity, then click the Add to Order button.
# Item will be added in the shopping cart, click the Finalize Order tab.
# Select supplier which have EUR preferred currency, and supply the product 
(added in shopping cart) in EUR currency. Make sure quantity of added product 
in the shopping cart is equals / greater then to supplier minimum order 
quantity of same product.
# Finally place the order. 

Expected Result:
Drop-ship (PO) order should be generated for the sales order item.

Actual Result:
Drop-ship (PO) order not created and getting this error on console,
=
Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
occurred creating drop shipments for order WSCO10180: SupplierProduct not found
=


> Supplier preferred currency not considered for drop-ship order
> --
>
> Key: OFBIZ-6091
> URL: https://issues.apache.org/jira/browse/OFBIZ-6091
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Akash Jain
> Fix For: Trunk, 14.12.01, 13.07.01
>
>
> Place sales order with a supplier for drop-ship then supplier preferred 
> currency not considered. To generate issue, follow these steps:
> # Go to Order > Order Entry and initiate sales order.
> # Select USD currency. 
> # Add product and quantity, then click the Add to Order button.
> # Item will be added in the shopping cart, click the Finalize Order tab.
> # Select supplier which have EUR preferred currency, and supply the product 
> (added in shopping cart) in EUR currency only. Make sure quantity of added 
> product in the shopping cart is equals / greater then to supplier minimum 
> order quantity of same product.
> # Finally place the order. 
> Expected Result:
> Drop-ship (PO) order should be generated for the sales order item.
> Actual Result:
> Drop-ship (PO) order not created and getting this error on console,
> =
> Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
> occurred creating drop shipments for order WSCO10180: SupplierProduct not 
> found
> =



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6089:

Attachment: OFBIZ-6089.patch

Here is the patch for this issue.

Removed ensurePartyRoleFrom service definition as well, and used the 
ensurePartyRoleTo and ensurePartyRoleFrom service in seca call.

> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
> Attachments: OFBIZ-6089.patch
>
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6075) Error on Sending confirm email from newly created order

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak reassigned OFBIZ-6075:


Assignee: Mridul Pathak  (was: Jacques Le Roux)

> Error on Sending confirm email from newly created order
> ---
>
> Key: OFBIZ-6075
> URL: https://issues.apache.org/jira/browse/OFBIZ-6075
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Eduardo Arellano
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6075.patch
>
>
> Error on Sending confirm email from newly created order
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/OrderViewScreens.xml#SendOrderConfirmation]:
>  
> java.lang.IllegalArgumentException: Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery (Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  
> groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6075) Error on Sending confirm email from newly created order

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-6075:
--

Assignee: Jacques Le Roux

> Error on Sending confirm email from newly created order
> ---
>
> Key: OFBIZ-6075
> URL: https://issues.apache.org/jira/browse/OFBIZ-6075
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Eduardo Arellano
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-6075.patch
>
>
> Error on Sending confirm email from newly created order
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/OrderViewScreens.xml#SendOrderConfirmation]:
>  
> java.lang.IllegalArgumentException: Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery (Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  
> groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5706) Have parties to be assigned to production run tasks

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5706:


Please Pierre check that this has no entailments at the functional level, 
should be ok since it was what you were aiming for (only 1 entities)

> Have parties to be assigned to production run tasks
> ---
>
> Key: OFBIZ-5706
> URL: https://issues.apache.org/jira/browse/OFBIZ-5706
> Project: OFBiz
>  Issue Type: Improvement
>  Components: manufacturing
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-5706-ManufacturingParties2.patch
>
>
> It is not possible to assign parties to execute one or more task in a 
> production run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak updated OFBIZ-6090:
-
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5570) appendOrderItem Service Not Applying Order Item Attributes

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-5570:
---
Fix Version/s: (was: Trunk)
   Upcoming Branch

> appendOrderItem Service Not Applying Order Item Attributes
> --
>
> Key: OFBIZ-5570
> URL: https://issues.apache.org/jira/browse/OFBIZ-5570
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Darrell Donati
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-5570.patch
>
>
> Please see the user mailing list discussion: 
> http://ofbiz.135035.n4.nabble.com/Possible-Issue-appendOrderItem-Service-td4648984.html
> Copied issue for archival purposes:
> Hi Folks, 
> I'm running 12.04.02, 
> I'm using the "appendOrderItem" service in the order application. The service 
> definition allows for an optional Map of order item attributes called 
> "itemAttributesMap". However, the addItemToApprovedOrder method in 
> OrderServices isn't using that map from the service context, thus the order 
> item attributes aren't being added to the item when it's added to the order. 
> I've checked the addItemToApprovedOrder method in the trunk OrderServices, 
> and the itemAttributesMap is not being utilized there either. I can fix and 
> submit a patch (see implementation in updateOrderItems service), but wanted 
> to ensure this wasn't a design choice. 
> Thanks, 
> Darrell



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6088) There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-6088:
---
Fix Version/s: (was: Trunk)
   12.04.06

> There should not need to setup SystemProperty data on each tenant for 
> specifying path to store tenant images.
> -
>
> Key: OFBIZ-6088
> URL: https://issues.apache.org/jira/browse/OFBIZ-6088
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Arun Patidar
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6088.patch, OFBIZ-6088_1307.patch
>
>
> Currently user need to setup SystemProperty data for each tenant to specify 
> path of product images to be store in separate directory . There should not 
> need to create this data for each tenant instead system should add directory 
> with tenantId in path of images.
> For doing this there should common property value set in catalog.properties 
> like as:
> image.server.path=${sys:getProperty('ofbiz.home')}/hot-deploy/hwmapps/webapp/resources/${tenantId}
> image.url.prefix=/images/${tenantId}
> Only need to pass tenantId in context  with 
> FlexibleStringExpander.expandString() method.
> This change is extension of efforts done under task OFBIZ-5455



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak updated OFBIZ-6013:
-
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5962) If orderDecimalQuantity set to N then system should return error if user add partial quantity in order

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-5962:

Attachment: OFBIZ-5962-TRUNK.patch
OFBIZ-5962-1307.patch

Hi Jacques,

Here is the patch for this issue. 

> If orderDecimalQuantity set to N then system should return error if user add 
> partial quantity in order
> --
>
> Key: OFBIZ-5962
> URL: https://issues.apache.org/jira/browse/OFBIZ-5962
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-5962-1307.patch, OFBIZ-5962-TRUNK.patch
>
>
> If productStore.orderDecimalQuantity and product.orderDecimalQuantity is set 
> to N, then system should return error if we try to add to partial quantity 
> then system should return error instead of rounding it to 0, 
> Actual Behavior: If partial quantity not allowed in in order process, and 
> user enter 1.5 quantity then it rounded it and add 2 quantity.
> Expected Behavior: if partial quantity not allowed then system should return 
> error instead of doing rounding if partial quantity passed during add/update 
> item.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5373) If received quantity is greater then ordered quantity then order item quantity update but order item shipgroup assoc quantity does not updated.

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar commented on OFBIZ-5373:
-

I have verified the attached patch and its working as expected. We can commit 
this patch for now till we discuss and define new process flow.

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> ---
>
> Key: OFBIZ-5373
> URL: https://issues.apache.org/jira/browse/OFBIZ-5373
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Deepak Dixit
>Priority: Minor
> Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6091) Supplier preferred currency not considered for drop-ship order

2015-02-21 Thread Akash Jain (JIRA)

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

Akash Jain updated OFBIZ-6091:
--
Description: 
Place sales order with a supplier for drop-ship then supplier preferred 
currency not considered. To generate issue, follow these steps:
# Go to Order > Order Entry and initiate sales order.
# Select USD currency. 
# Add product and quantity, then click the Add to Order button.
# Item will be added in the shopping cart, click the Finalize Order tab.
# Select supplier which have EUR preferred currency, and supply the product 
(added in shopping cart) in EUR currency. Make sure quantity of added product 
in the shopping cart is equals / greater then to supplier minimum order 
quantity of same product.
# Finally place the order. 

Expected Result:
Drop-ship (PO) order should be generated for the sales order item.

Actual Result:
Drop-ship (PO) order not created and getting this error on console,
=
Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
occurred creating drop shipments for order WSCO10180: SupplierProduct not found
=

  was:
To generate issue, follow these steps:
# Go to Order > Order Entry and initiate sales order.
# Select USD currency. 
# Add product and quantity, then click the Add to Order button.
# Item will be added in the shopping cart, click the Finalize Order tab.
# Select supplier which have EUR preferred currency, and supply the product 
(added in shopping cart) in EUR currency. Make sure quantity of added product 
in the shopping cart is equals / greater then to supplier minimum order 
quantity of same product.
# Finally place the order. 

Expected Result:
Drop-ship (PO) order should be generated for the sales order item.

Actual Result:
Drop-ship (PO) order not created and getting this error on console,
=
Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
occurred creating drop shipments for order WSCO10180: SupplierProduct not found
=


> Supplier preferred currency not considered for drop-ship order
> --
>
> Key: OFBIZ-6091
> URL: https://issues.apache.org/jira/browse/OFBIZ-6091
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Akash Jain
> Fix For: Trunk, 14.12.01, 13.07.01
>
>
> Place sales order with a supplier for drop-ship then supplier preferred 
> currency not considered. To generate issue, follow these steps:
> # Go to Order > Order Entry and initiate sales order.
> # Select USD currency. 
> # Add product and quantity, then click the Add to Order button.
> # Item will be added in the shopping cart, click the Finalize Order tab.
> # Select supplier which have EUR preferred currency, and supply the product 
> (added in shopping cart) in EUR currency. Make sure quantity of added product 
> in the shopping cart is equals / greater then to supplier minimum order 
> quantity of same product.
> # Finally place the order. 
> Expected Result:
> Drop-ship (PO) order should be generated for the sales order item.
> Actual Result:
> Drop-ship (PO) order not created and getting this error on console,
> =
> Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
> occurred creating drop shipments for order WSCO10180: SupplierProduct not 
> found
> =



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6091) Supplier preferred currency not considered for drop-ship order

2015-02-21 Thread Akash Jain (JIRA)

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

Akash Jain updated OFBIZ-6091:
--
Summary: Supplier preferred currency not considered for drop-ship order  
(was: Place sales order and select supplier for drop-ship then supplier 
preferred currency not considered)

> Supplier preferred currency not considered for drop-ship order
> --
>
> Key: OFBIZ-6091
> URL: https://issues.apache.org/jira/browse/OFBIZ-6091
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Akash Jain
> Fix For: Trunk, 14.12.01, 13.07.01
>
>
> To generate issue, follow these steps:
> # Go to Order > Order Entry and initiate sales order.
> # Select USD currency. 
> # Add product and quantity, then click the Add to Order button.
> # Item will be added in the shopping cart, click the Finalize Order tab.
> # Select supplier which have EUR preferred currency, and supply the product 
> (added in shopping cart) in EUR currency. Make sure quantity of added product 
> in the shopping cart is equals / greater then to supplier minimum order 
> quantity of same product.
> # Finally place the order. 
> Expected Result:
> Drop-ship (PO) order should be generated for the sales order item.
> Actual Result:
> Drop-ship (PO) order not created and getting this error on console,
> =
> Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
> occurred creating drop shipments for order WSCO10180: SupplierProduct not 
> found
> =



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6013) "Return Selected Item(s)" button broken for manually created returns

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak commented on OFBIZ-6013:
--

Thank you [~ofbizzer] for reporting the issue and providing the patch. Though 
the patch in another duplicate issue OFBIZ-6090 is a more correct fix. 
Following line from returnItems.ftl was probably removed mistakenly in r1646204.

{code}
<#assign selectAllFormName = "returnItems"/>
{code}

> "Return Selected Item(s)" button broken for manually created returns
> 
>
> Key: OFBIZ-6013
> URL: https://issues.apache.org/jira/browse/OFBIZ-6013
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6013.patch
>
>
> The "Return Selected Item(s)" button is broken at 
> ordermgr/control/returnItems because the link in returnItemsInc.ftl that 
> tries to submit the form from quickReturn.ftl which doesn't exist for 
> returnItems.ftl which reuses that file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6091) Place sales order and select supplier for drop-ship then supplier preferred currency not considered

2015-02-21 Thread Akash Jain (JIRA)
Akash Jain created OFBIZ-6091:
-

 Summary: Place sales order and select supplier for drop-ship then 
supplier preferred currency not considered
 Key: OFBIZ-6091
 URL: https://issues.apache.org/jira/browse/OFBIZ-6091
 Project: OFBiz
  Issue Type: Bug
  Components: order
Reporter: Akash Jain
 Fix For: 14.12.01, 13.07.01, Trunk


To generate issue, follow these steps:
# Go to Order > Order Entry and initiate sales order.
# Select USD currency. 
# Add product and quantity, then click the Add to Order button.
# Item will be added in the shopping cart, click the Finalize Order tab.
# Select supplier which have EUR preferred currency, and supply the product 
(added in shopping cart) in EUR currency. Make sure quantity of added product 
in the shopping cart is equals / greater then to supplier minimum order 
quantity of same product.
# Finally place the order. 

Expected Result:
Drop-ship (PO) order should be generated for the sales order item.

Actual Result:
Drop-ship (PO) order not created and getting this error on console,
=
Error in Service [checkCreateDropShipPurchaseOrders]: The following error 
occurred creating drop shipments for order WSCO10180: SupplierProduct not found
=



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak commented on OFBIZ-6090:
--

Thanks [~amardeepsj] for reporting the issues and providing the patch. The line 
you have added was probably removed mistakenly in r1646204.

This issue though is duplicate of OFBIZ-6013 reported by [~ofbizzer].

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: svn commit: r1659914 - in /ofbiz/trunk/applications/manufacturing: config/ script/org/ofbiz/manufacturing/jobshopmgt/ servicedef/ webapp/manufacturing/WEB-INF/ webapp/manufacturing/WEB-INF/actions

2015-02-21 Thread Jacques Le Roux

Thanks Deepak,

And thanks for the reminder :)

Done at revision: 1661323

Jacques

Le 16/02/2015 05:50, Deepak Dixit a écrit :

inline:


On Feb 15, 2015, at 5:08 PM, jler...@apache.org wrote:

Author: jleroux
Date: Sun Feb 15 11:38:46 2015
New Revision: 1659914

URL: http://svn.apache.org/r1659914
Log:
A patch from Pierre Smits for
"Have parties to be assigned to production run tasks" 
https://issues.apache.org/jira/browse/OFBIZ-5706
It is not possible to assign parties to execute one or more task in a 
production run.

And
"ProductionRun doesn't capture and show manufacturing organisation" 
https://issues.apache.org/jira/browse/OFBIZ-5709
The production run should capture the manufacturing (internal) organisation on 
creation.

Modified:
ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml

ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml

ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml

ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy

ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ViewProductionRun.groovy

ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml

ofbiz/trunk/applications/manufacturing/widget/manufacturing/JobshopScreens.xml

ofbiz/trunk/applications/manufacturing/widget/manufacturing/ManufacturingMenus.xml

ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Modified: 
ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml?rev=1659914&r1=1659913&r2=1659914&view=diff
==
--- ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml 
(original)
+++ ofbiz/trunk/applications/manufacturing/config/ManufacturingUiLabels.xml Sun 
Feb 15 11:38:46 2015
@@ -19,6 +19,9 @@
 under the License.
-->
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd";>
+
+Add Party
+
 
 Verrechnete Kosten
 Allocated Cost
@@ -3771,6 +3774,10 @@
 生产运行更新失败,请查看日志了解详细信息
 生產運行更新失敗,請檢視日誌瞭解詳細資訊
 
+
+Parties
+Partijen
+
 
 Dokumente für Produktionsauftrage drucken
 Production Run Print Documents

Modified: 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=1659914&r1=1659913&r2=1659914&view=diff
==
--- 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
 Sun Feb 15 11:38:46 2015
@@ -20,7 +20,36 @@ under the License.

http://www.w3.org/2001/XMLSchema-instance";
 
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods-v2.xsd";>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 

 

Modified: 
ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml?rev=1659914&r1=1659913&r2=1659914&view=diff
==
--- 
ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml 
(original)
+++ 
ofbiz/trunk/applications/manufacturing/servicedef/services_production_run.xml 
Sun Feb 15 11:38:46 2015
@@ -38,6 +38,17 @@ under the License.
 
 
 
+
+
+Associate a party to the production run
+
+
+
+
+
+
+
 
 

Modified: 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy?rev=1659914&r1=1659913&r2=1659914&view=diff
==
--- 
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/ac

[jira] [Commented] (OFBIZ-5706) Have parties to be assigned to production run tasks

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5706:


Thanks to Deepak's report on dev ML:

> +manufacturer = 
> from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, 
> "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.

 I have committed a fix at r1661323

Actually it was a bit more because WorkEffortPartyAssignment PK is 
  
  
  
  

> Have parties to be assigned to production run tasks
> ---
>
> Key: OFBIZ-5706
> URL: https://issues.apache.org/jira/browse/OFBIZ-5706
> Project: OFBiz
>  Issue Type: Improvement
>  Components: manufacturing
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-5706-ManufacturingParties2.patch
>
>
> It is not possible to assign parties to execute one or more task in a 
> production run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5709) ProductionRun doesn't capture and show manufacturing organisation

2015-02-21 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5709:


Thanks to Deepak's report on dev ML:

> +manufacturer = 
> from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, 
> "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.

 I have committed a fix at r1661323

Actually it was a bit more because WorkEffortPartyAssignment PK is 
  
  
  
  

> ProductionRun doesn't capture and show manufacturing organisation
> -
>
> Key: OFBIZ-5709
> URL: https://issues.apache.org/jira/browse/OFBIZ-5709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: manufacturing
>Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Fix For: Upcoming Branch
>
>
> The production run should capture the manufacturing (internal) organisation 
> on creation.
> But it doesn't.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Mridul Pathak (JIRA)

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

Mridul Pathak reassigned OFBIZ-6090:


Assignee: Mridul Pathak

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6089:
-

ensureNaPartyRoleTo service removed at r#1649965, but ensureNaPartyRoleFrom 
exists. 
We can remove this as well and can use ensurePartyRoleTo and 
ensurePartyRoleFrom.

> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6075) Error on Sending confirm email from newly created order

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar updated OFBIZ-6075:

Attachment: OFBIZ-6075.patch

Attached is a patch for the same. It was just a typing error while replacing 
entity engine with entityQuery method

> Error on Sending confirm email from newly created order
> ---
>
> Key: OFBIZ-6075
> URL: https://issues.apache.org/jira/browse/OFBIZ-6075
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Reporter: Eduardo Arellano
> Attachments: OFBIZ-6075.patch
>
>
> Error on Sending confirm email from newly created order
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/OrderViewScreens.xml#SendOrderConfirmation]:
>  
> java.lang.IllegalArgumentException: Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery (Error running script at location 
> [component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy]:
>  
> groovy.lang.MissingPropertyException: No such property: context for class: 
> org.ofbiz.entity.util.EntityQuery)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5352) Invoice Item Removal doesn't work when billing records exist

2015-02-21 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-5352:
-

Hi [~ofbizzer]

First of all I would like to understand that why would you like to delete 
Invoice Item record when its already billed? Which business case would you like 
to handle here? 

I guess invoice items should only be allowed to be removed when Invoice is in 
"In progress" or "Received" status. When Invoice will be in In 
progress/received status, we should not have OrderItemBilling records in 
system. And then system should not throw this error. 

Also could you please give exact steps to regenerate the issue. 

> Invoice Item Removal doesn't work when billing records exist
> 
>
> Key: OFBIZ-5352
> URL: https://issues.apache.org/jira/browse/OFBIZ-5352
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 12.04
>Reporter: Christian Carlow
>
> Invoice Items cannot be removed if the billing records have been created for 
> the item.  Billing records in tables such as orderItemBilling are created 
> when a Shipment statusId is changed to Pick or Pack which triggers the 
> invoice to be created.
> For such cases, after clicking the "Remove" button for an item on the Invoice 
> Items page, a primary key violation error occurs due to the invoice item 
> being referenced in orderItemBilling.  
> It seems the "removeInvoiceItem" service in InvoiceServices.xml should be 
> improved to delete billing records or any other records that would prevent 
> the invoice item from being removed.  
> The shipmentItemBilling table may also cause a primary key violation so it 
> should be handled also.
> It also seems that the billing information should be displayed and that is 
> should be able to be edited.  It seems that picking/packing a shipment is the 
> only way to associate an orderItem with an invoiceItem. 
> Shouldn't there exist a way to associate an invoice item with an order item 
> through some invoice editor?  Perhaps this should be a separate issue as an 
> Improvement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5044) The loadDateDimension service is loading incorrect weekOfYear field.

2015-02-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-5044:
-

Hi Chatree/Paul,

I think we can leave this as it is. Because if we setMinimalDaysInFirstWeek(4) 
then 1Jan will be last week of year in the above example. 
So IMO we can go with existing flow (locale based) and if anyone want to change 
they can customize the service and use it as per need.

> The loadDateDimension service is loading incorrect weekOfYear field.
> 
>
> Key: OFBIZ-5044
> URL: https://issues.apache.org/jira/browse/OFBIZ-5044
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
> Environment: Ubuntu 10.04
>Reporter: Chatree Srichart
>  Labels: calendar, week_of_year
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hi all,
> When I ran the loadDateDimension service with these dates:
> - fromDate = "25 Dec 2010"
> - thruDate = "05 Jan 2011"
> I got:
> - "25 Dec 2010" has the week of year as 52.
> - "26 Dec 2010" has the week of year as 1.
> Actually "26 Dec 2010" should has the week of year as 53.
> I think the problem is "26 Dec 2010" is in the same week of "1 Jan 2011".
> Regards,
> Chatree Srichart



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj updated OFBIZ-6090:

Attachment: OFBIZ-6090.patch

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
> Attachments: OFBIZ-6090.patch
>
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-6090:
-

Here is the patch attached of fix for Release 13.07, 14.12 and trunk.

> Unable to return order items in return process.
> ---
>
> Key: OFBIZ-6090
> URL: https://issues.apache.org/jira/browse/OFBIZ-6090
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Amardeep Singh Jhajj
>
> Steps to generate :-
> 1. Select return menu from order manager.
> 2. Select new return with from and to party in it.
> 3. A return will be created and then switch to return items menu.
> 4. Select order having items to return and check items to return.
> Here items can't be selected and return because of error at checkbox and 
> return selected item button. Error can be found in browser developer tool.
> Error on return selected item button
>  250, column 40]  Tip: If the failing expression is known to be legally 
> refer to something that's null or missing, either specify a default value 
> like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only cover the 
> last step of the expression; to cover the ...ocessor.java:1070) at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
>  at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>  at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected 
> Item(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey reassigned OFBIZ-6089:


Assignee: Pranay Pandey

> Cannot locate service by name (ensureNaPartyRoleTo)
> ---
>
> Key: OFBIZ-6089
> URL: https://issues.apache.org/jira/browse/OFBIZ-6089
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Pranay Pandey
>
> {code}
>  [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory
>|I| Loading artifact info objects...
>  [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 
> |ArtifactInfoFactory   |W| Error processing service: 
> acceptPartyInvitation
>  [java] org.ofbiz.service.GenericServiceException: Cannot locate service 
> by name (ensureNaPartyRoleTo)
>  [java]   at 
> org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
> ~[ofbiz-service.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
>  ~[ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
>  [ofbiz-webtools.jar:?]
>  [java]   at 
> java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
>  [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
>  [java]   at 
> java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
> [?:1.7.0_65]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6090) Unable to return order items in return process.

2015-02-21 Thread Amardeep Singh Jhajj (JIRA)
Amardeep Singh Jhajj created OFBIZ-6090:
---

 Summary: Unable to return order items in return process.
 Key: OFBIZ-6090
 URL: https://issues.apache.org/jira/browse/OFBIZ-6090
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: 13.07.01, Trunk, 14.12.01
Reporter: Amardeep Singh Jhajj


Steps to generate :-

1. Select return menu from order manager.
2. Select new return with from and to party in it.
3. A return will be created and then switch to return items menu.
4. Select order having items to return and check items to return.

Here items can't be selected and return because of error at checkbox and return 
selected item button. Error can be found in browser developer tool.

Error on return selected item button
when-present<#else>when-missing. (These only cover the 
last step of the expression; to cover the ...ocessor.java:1070) at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
 at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 at java.lang.Thread.run(Thread.java:745) .submit()">Return Selected Item(s)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-5867) Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey commented on OFBIZ-5867:
--

Hi Pierre,

Please comment, Jacopo has tried to explain the usage of attribute 
"disabled-style". 
If it's looking good and need no further action we should close this issue.

> Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed
> -
>
> Key: OFBIZ-5867
> URL: https://issues.apache.org/jira/browse/OFBIZ-5867
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Pranay Pandey
>
> When menu-items have the following condition:
> {code}
> 
>  
>   
>field="quote.statusId"/>
>   
> 
> {code}
> it is expected that the menu item is disabled when the condition (set) is 
> met. However, it is the opposite. The menu-item is disabled when the 
> condition is not met.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6089) Cannot locate service by name (ensureNaPartyRoleTo)

2015-02-21 Thread Deepak Dixit (JIRA)
Deepak Dixit created OFBIZ-6089:
---

 Summary: Cannot locate service by name (ensureNaPartyRoleTo)
 Key: OFBIZ-6089
 URL: https://issues.apache.org/jira/browse/OFBIZ-6089
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk, 14.12.01
Reporter: Deepak Dixit


{code}
 [java] 2015-02-21 15:05:13,584 |http-bio-8443-exec-4 |ArtifactInfoFactory  
 |I| Loading artifact info objects...
 [java] 2015-02-21 15:05:14,684 |kJoinPool-1-worker-3 |ArtifactInfoFactory  
 |W| Error processing service: acceptPartyInvitation
 [java] org.ofbiz.service.GenericServiceException: Cannot locate service by 
name (ensureNaPartyRoleTo)
 [java] at 
org.ofbiz.service.DispatchContext.getModelService(DispatchContext.java:216) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getModelService(ArtifactInfoFactory.java:184)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.(ServiceArtifactInfo.java:68)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:231)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo.populateAll(ServiceEcaArtifactInfo.java:62)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceEcaArtifactInfo(ArtifactInfoFactory.java:243)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateTriggeredServiceEcas(ServiceArtifactInfo.java:221)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:79)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateServicesFromNameSet(ServiceArtifactInfo.java:209)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateCalledServices(ServiceArtifactInfo.java:158)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ServiceArtifactInfo.populateAll(ServiceArtifactInfo.java:78)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory.getServiceArtifactInfo(ArtifactInfoFactory.java:233)
 ~[ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:393)
 [ofbiz-webtools.jar:?]
 [java] at 
org.ofbiz.webtools.artifactinfo.ArtifactInfoFactory$1.call(ArtifactInfoFactory.java:389)
 [ofbiz-webtools.jar:?]
 [java] at 
java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1288) 
[?:1.7.0_65]
 [java] at 
java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:334) [?:1.7.0_65]
 [java] at 
java.util.concurrent.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:604)
 [?:1.7.0_65]
 [java] at 
java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:784) [?:1.7.0_65]
 [java] at 
java.util.concurrent.ForkJoinPool.work(ForkJoinPool.java:646) [?:1.7.0_65]
 [java] at 
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:398) 
[?:1.7.0_65]
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5570) appendOrderItem Service Not Applying Order Item Attributes

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-5570.
--
   Resolution: Fixed
Fix Version/s: Trunk
   13.07.02
   14.12.01

Thanks Darrell Danoti for creating the issue, thanks Divesh for providing the 
patch. 

Changes are committed on the following revisions: 

trunk - r1661316
R14.12 - r1661317
R13.07 - r1661318

> appendOrderItem Service Not Applying Order Item Attributes
> --
>
> Key: OFBIZ-5570
> URL: https://issues.apache.org/jira/browse/OFBIZ-5570
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Darrell Donati
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 13.07.02, Trunk
>
> Attachments: OFBIZ-5570.patch
>
>
> Please see the user mailing list discussion: 
> http://ofbiz.135035.n4.nabble.com/Possible-Issue-appendOrderItem-Service-td4648984.html
> Copied issue for archival purposes:
> Hi Folks, 
> I'm running 12.04.02, 
> I'm using the "appendOrderItem" service in the order application. The service 
> definition allows for an optional Map of order item attributes called 
> "itemAttributesMap". However, the addItemToApprovedOrder method in 
> OrderServices isn't using that map from the service context, thus the order 
> item attributes aren't being added to the item when it's added to the order. 
> I've checked the addItemToApprovedOrder method in the trunk OrderServices, 
> and the itemAttributesMap is not being utilized there either. I can fix and 
> submit a patch (see implementation in updateOrderItems service), but wanted 
> to ensure this wasn't a design choice. 
> Thanks, 
> Darrell



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6017) Return shipmentRouteSegment FTL error

2015-02-21 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-6017:
-

Verified it by creating order return from order view page (quick return order) 
and return menu of order manager. Everything seems to be working fine. Unable 
to reproduce it.

Christian, Could you please add steps to regenerate this issue.

> Return shipmentRouteSegment FTL error
> -
>
> Key: OFBIZ-6017
> URL: https://issues.apache.org/jira/browse/OFBIZ-6017
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Christian Carlow
>
> This error is displayed at order/control/mainReturn when status is changed to 
> accepted:
> FreeMarker template error: The following has evaluated to null or missing: 
> ==> 
> Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment",
>  {"shipmentId" : shipGroupShipment.shipmentId}, null, false)) [in template 
> "component://order/webapp/ordermgr/return/returnLinks.ftl" at line 55, column 
> 49]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (OFBIZ-5908) Query list missing 1st entry

2015-02-21 Thread Arun Patidar (JIRA)

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

Arun Patidar updated OFBIZ-5908:

Comment: was deleted

(was: I am not able to regenerate the issue on trunk. Also based on Wai's 
comment, this should be close now.)

> Query list missing 1st entry
> 
>
> Key: OFBIZ-5908
> URL: https://issues.apache.org/jira/browse/OFBIZ-5908
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
> Environment: OS:
> Ubuntu 14.04
> Java:
> java version "1.7.0_71"
> Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
>Reporter: Wai
>Assignee: Ashish Vijaywargiya
>
> When using
> EntityQuery.use(delegator).from(entityName).queryIterator()
> EntityQuery.use(delegator).from(entityName).queryList()
> The resulting listing is missing the first entry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-5570) appendOrderItem Service Not Applying Order Item Attributes

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-5570:
--

Assignee: Ashish Vijaywargiya

> appendOrderItem Service Not Applying Order Item Attributes
> --
>
> Key: OFBIZ-5570
> URL: https://issues.apache.org/jira/browse/OFBIZ-5570
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Trunk
>Reporter: Darrell Donati
>Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-5570.patch
>
>
> Please see the user mailing list discussion: 
> http://ofbiz.135035.n4.nabble.com/Possible-Issue-appendOrderItem-Service-td4648984.html
> Copied issue for archival purposes:
> Hi Folks, 
> I'm running 12.04.02, 
> I'm using the "appendOrderItem" service in the order application. The service 
> definition allows for an optional Map of order item attributes called 
> "itemAttributesMap". However, the addItemToApprovedOrder method in 
> OrderServices isn't using that map from the service context, thus the order 
> item attributes aren't being added to the item when it's added to the order. 
> I've checked the addItemToApprovedOrder method in the trunk OrderServices, 
> and the itemAttributesMap is not being utilized there either. I can fix and 
> submit a patch (see implementation in updateOrderItems service), but wanted 
> to ensure this wasn't a design choice. 
> Thanks, 
> Darrell



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6088) There should not need to setup SystemProperty data on each tenant for specifying path to store tenant images.

2015-02-21 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-6088.
--
   Resolution: Fixed
Fix Version/s: Trunk
   Upcoming Branch
   13.07.02
   14.12.01

Thanks Arun for creating the issue and providing the patch for the same. 

Committed your changes at following revisions: 

trunk - r1661307
R14.12 - r1661310
R13.07 - r1661312
R12.04 - r1661313

> There should not need to setup SystemProperty data on each tenant for 
> specifying path to store tenant images.
> -
>
> Key: OFBIZ-6088
> URL: https://issues.apache.org/jira/browse/OFBIZ-6088
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk, 14.12.01, 13.07.01
>Reporter: Arun Patidar
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Fix For: 14.12.01, 13.07.02, Upcoming Branch, Trunk
>
> Attachments: OFBIZ-6088.patch, OFBIZ-6088_1307.patch
>
>
> Currently user need to setup SystemProperty data for each tenant to specify 
> path of product images to be store in separate directory . There should not 
> need to create this data for each tenant instead system should add directory 
> with tenantId in path of images.
> For doing this there should common property value set in catalog.properties 
> like as:
> image.server.path=${sys:getProperty('ofbiz.home')}/hot-deploy/hwmapps/webapp/resources/${tenantId}
> image.url.prefix=/images/${tenantId}
> Only need to pass tenantId in context  with 
> FlexibleStringExpander.expandString() method.
> This change is extension of efforts done under task OFBIZ-5455



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-1078) payment is applied to first invoice only

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey closed OFBIZ-1078.

Resolution: Not a Problem

Thanks Arun for verifying the issue. Closing it as Not a Problem.

> payment is applied to first invoice only
> 
>
> Key: OFBIZ-1078
> URL: https://issues.apache.org/jira/browse/OFBIZ-1078
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, order
>Affects Versions: Release Branch 4.0, Trunk
>Reporter: Krzysztof Podejma
>Assignee: Pranay Pandey
>
> When you have more than one invoice in order and receive offline payment, 
> this payment is applied to first invoice only.
> Possible scenarios:
> 1) Create service that creates one invoice for all productitemtypes - needs 
> redesign create invoice services -simple
> 2) Change events happened after receive payment to check if there are more 
> invoices that wait for payment - problem which invoice to choose if there is 
> not enough cash.
> Krzysztof Podejma



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-1078) payment is applied to first invoice only

2015-02-21 Thread Pranay Pandey (JIRA)

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

Pranay Pandey reassigned OFBIZ-1078:


Assignee: Pranay Pandey

> payment is applied to first invoice only
> 
>
> Key: OFBIZ-1078
> URL: https://issues.apache.org/jira/browse/OFBIZ-1078
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, order
>Affects Versions: Release Branch 4.0, Trunk
>Reporter: Krzysztof Podejma
>Assignee: Pranay Pandey
>
> When you have more than one invoice in order and receive offline payment, 
> this payment is applied to first invoice only.
> Possible scenarios:
> 1) Create service that creates one invoice for all productitemtypes - needs 
> redesign create invoice services -simple
> 2) Change events happened after receive payment to check if there are more 
> invoices that wait for payment - problem which invoice to choose if there is 
> not enough cash.
> Krzysztof Podejma



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


  1   2   >