[jira] [Closed] (OFBIZ-4480) Need to have an option to pass file name as OrderId for the generated confirmation or invoice PDF.

2015-05-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-4480.
---
Resolution: Fixed

 Need to have an option to pass file name as OrderId for the generated 
 confirmation or invoice PDF.
 --

 Key: OFBIZ-4480
 URL: https://issues.apache.org/jira/browse/OFBIZ-4480
 Project: OFBiz
  Issue Type: Improvement
  Components: order
Affects Versions: Upcoming Branch
 Environment: OS - Ubuntu 
Reporter: Ganesh Bawne
Assignee: Michael Brohl
  Labels: filename, order, pdf
 Fix For: Trunk, Release Branch 14.12

 Attachments: orderPdf-FileName.patch


 Need to have set the order pdf file name to its order number when we open the 
 pdf from backoffice orderdetail page 
 (/ordermgr/control/order.pdf?orderId=X).
 Currently, the default name of the pdf is always order.pdf, instead need to 
 have an option to set the default pdf name to its order number?



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


[jira] [Created] (OFBIZ-6398) Print Pick Sheet PDF using orderId.pdf as attachement name.

2015-05-21 Thread Deepak Dixit (JIRA)
Deepak Dixit created OFBIZ-6398:
---

 Summary: Print Pick Sheet PDF using orderId.pdf as attachement 
name.
 Key: OFBIZ-6398
 URL: https://issues.apache.org/jira/browse/OFBIZ-6398
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Deepak Dixit
Priority: Minor


Print Pick Sheet PDF using orderId.pdf as attachement name.



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


[jira] [Assigned] (OFBIZ-6397) Survey : FTL error message when using Enumeration or Geo question type

2015-05-21 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6397:
---

Assignee: Deepak Dixit

 Survey : FTL error message when using Enumeration or Geo question type
 --

 Key: OFBIZ-6397
 URL: https://issues.apache.org/jira/browse/OFBIZ-6397
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
 Branch 14.12, Trunk
Reporter: Gil Portenseigne
Assignee: Deepak Dixit
Priority: Minor
 Attachments: OFBIZ-6397.patch


 In a survey using Enumeration and Geo question Type, answer is impossible due 
 to an error about selected option on dropDown.



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


[jira] [Closed] (OFBIZ-5974) Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-5974.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch

 Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute
 -

 Key: OFBIZ-5974
 URL: https://issues.apache.org/jira/browse/OFBIZ-5974
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/scrum
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Deepak Dixit
Priority: Minor
 Fix For: Upcoming Branch






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


[jira] [Commented] (OFBIZ-5974) Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546786#comment-14546786
 ] 

Deepak Dixit commented on OFBIZ-5974:
-

Thanks Pierre for the report, This has been fixed at trunk r#1679746

 Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute
 -

 Key: OFBIZ-5974
 URL: https://issues.apache.org/jira/browse/OFBIZ-5974
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/scrum
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Deepak Dixit
Priority: Minor
 Fix For: Upcoming Branch






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


[jira] [Commented] (OFBIZ-6325) Locale selection presents errors

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546762#comment-14546762
 ] 

Deepak Dixit commented on OFBIZ-6325:
-

Hi [~pfm.smits],

Can we close this task?

 Locale selection presents errors
 

 Key: OFBIZ-6325
 URL: https://issues.apache.org/jira/browse/OFBIZ-6325
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Bootstrap theme
Reporter: Pierre Smits
  Labels: locale, theme
 Attachments: OFBIZ-6325-error.rtf


 When opening the locale selector a set of errors are shown.



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


[jira] [Commented] (OFBIZ-5853) The createPartyRole service does not check a duplicate key.

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546730#comment-14546730
 ] 

Deepak Dixit commented on OFBIZ-5853:
-

IMO we can close this ticket.

 The createPartyRole service does not check a duplicate key.
 ---

 Key: OFBIZ-5853
 URL: https://issues.apache.org/jira/browse/OFBIZ-5853
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Supatthra Nawicha
Assignee: Nicolas Malin
Priority: Minor
 Fix For: Trunk

 Attachments: OFBIZ-5853.patch, OFBIZ-5853.patch, 
 ofbizbug_CreatePartyroleService.diff


 The createPartyRole service is changed from minilang to entity-auto which 
 does not check a duplicate key. It effect to the 
 createPartyRelationshipContactAccount service which call the createPartyRole 
 service without check a duplicate key. And it might effect to other code that 
 call the createPartyRole service as well.



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


[jira] [Commented] (OFBIZ-5916) Cutting List Report from Manufacturing Shipment Plans throws error due to due to missing EntityCondition import

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546736#comment-14546736
 ] 

Deepak Dixit commented on OFBIZ-5916:
-

Thanks  Christian Carlow
This has been fixed at
Trunk at r#1679740
14.12 at r#1679741
13.07 at r#1679742


 Cutting List Report from Manufacturing Shipment Plans throws error due to due 
 to missing EntityCondition import
 ---

 Key: OFBIZ-5916
 URL: https://issues.apache.org/jira/browse/OFBIZ-5916
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Priority: Minor
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-5916-2.patch, OFBIZ-5916.patch


 This error occurs when clicking the Cutting List Report button from the 
 Manufacturing - Shipment Plans page once a production run has been created 
 for a planned shipment:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#CuttingListReport]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport)
 To reproduce:
 1.  Create a shipment with status Schedued and a planned item
 2.  Navigate to Manufacturing - Shipment Plans and click Create Production 
 Runs for the shipment
 3.  Click the Cutting List Report button that appears once Production Runs 
 have been created



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


[jira] [Closed] (OFBIZ-5916) Cutting List Report from Manufacturing Shipment Plans throws error due to due to missing EntityCondition import

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-5916.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

 Cutting List Report from Manufacturing Shipment Plans throws error due to due 
 to missing EntityCondition import
 ---

 Key: OFBIZ-5916
 URL: https://issues.apache.org/jira/browse/OFBIZ-5916
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-5916-2.patch, OFBIZ-5916.patch


 This error occurs when clicking the Cutting List Report button from the 
 Manufacturing - Shipment Plans page once a production run has been created 
 for a planned shipment:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#CuttingListReport]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport)
 To reproduce:
 1.  Create a shipment with status Schedued and a planned item
 2.  Navigate to Manufacturing - Shipment Plans and click Create Production 
 Runs for the shipment
 3.  Click the Cutting List Report button that appears once Production Runs 
 have been created



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


[jira] [Assigned] (OFBIZ-5916) Cutting List Report from Manufacturing Shipment Plans throws error due to due to missing EntityCondition import

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-5916:
---

Assignee: Deepak Dixit

 Cutting List Report from Manufacturing Shipment Plans throws error due to due 
 to missing EntityCondition import
 ---

 Key: OFBIZ-5916
 URL: https://issues.apache.org/jira/browse/OFBIZ-5916
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-5916-2.patch, OFBIZ-5916.patch


 This error occurs when clicking the Cutting List Report button from the 
 Manufacturing - Shipment Plans page once a production run has been created 
 for a planned shipment:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#CuttingListReport]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/CuttingListReport.groovy]:
  groovy.lang.MissingPropertyException: No such property: EntityCondition for 
 class: CuttingListReport)
 To reproduce:
 1.  Create a shipment with status Schedued and a planned item
 2.  Navigate to Manufacturing - Shipment Plans and click Create Production 
 Runs for the shipment
 3.  Click the Cutting List Report button that appears once Production Runs 
 have been created



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


[jira] [Assigned] (OFBIZ-5974) Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-5974:
---

Assignee: Deepak Dixit

 Retrieval of NoteData in ListProdBacklogNote is missing value-field attribute
 -

 Key: OFBIZ-5974
 URL: https://issues.apache.org/jira/browse/OFBIZ-5974
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/scrum
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Deepak Dixit
Priority: Minor





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


[jira] [Commented] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546589#comment-14546589
 ] 

Deepak Dixit commented on OFBIZ-6351:
-

Thanks  Christian Carlow.
Your patch has been committed at :
Trunk at r#1679689
14.12 at r#1679690
13.07 at r#1679693

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Attachments: OFBIZ-6351.patch






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


[jira] [Commented] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546591#comment-14546591
 ] 

Deepak Dixit commented on OFBIZ-6351:
-

Ahh Thanks Pierre 

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Attachments: OFBIZ-6351.patch






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


[jira] [Assigned] (OFBIZ-6332) Replacing bsh code with Groovy code

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6332:
---

Assignee: Deepak Dixit

 Replacing bsh code with Groovy code
 ---

 Key: OFBIZ-6332
 URL: https://issues.apache.org/jira/browse/OFBIZ-6332
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Pierre Smits
Assignee: Deepak Dixit

 This is a placeholder issue to capture related issues to regarding replacing 
 existing beanshell code with Groovy code. It helps planning and communicating.



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


[jira] [Updated] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6351:

Fix Version/s: Trunk
   13.07.02
   14.12.01

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Fix For: Trunk, 14.12.01, 13.07.02

 Attachments: OFBIZ-6351.patch






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


[jira] [Resolved] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit resolved OFBIZ-6351.
-
Resolution: Fixed

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Attachments: OFBIZ-6351.patch






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


[jira] [Commented] (OFBIZ-6257) Upload function does not work on Party Manager.

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546653#comment-14546653
 ] 

Deepak Dixit commented on OFBIZ-6257:
-

Thanks Supachai Chaima-ngua

This has been fixed at 
Trunk at r#1679709
14.12 at r#1679713

 Upload function does not work on Party Manager.
 ---

 Key: OFBIZ-6257
 URL: https://issues.apache.org/jira/browse/OFBIZ-6257
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Supachai Chaima-ngua
Assignee: Deepak Dixit
Priority: Minor
  Labels: upload
 Fix For: Trunk, 14.12.01

 Attachments: OFBiz  Party Manager  View Party Profile.png


 The StreamingNotSupportedException class does not found in Apache Commons 
 Compress 1.4.1. Can you upgrade Apache Commons Compress to latest version ? I 
 have tested with Apache Commons Compress 1.9, the upload file function was 
 working fine.
 Bug page: 
 http://demo-trunk-ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin



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


[jira] [Commented] (OFBIZ-6363) Upload of PartyContent produces an error.

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546654#comment-14546654
 ] 

Deepak Dixit commented on OFBIZ-6363:
-

This should be fixed under OFBIZ-6257

 Upload of PartyContent produces an error.
 -

 Key: OFBIZ-6363
 URL: https://issues.apache.org/jira/browse/OFBIZ-6363
 Project: OFBiz
  Issue Type: Bug
  Components: content, party
Affects Versions: Trunk
Reporter: Pierre Smits
 Attachments: OFBIZ-6363-trunk-error.rtf


 When uploading content in a party profile, the selected file doesn't get 
 uploaded, in stead an error is produced.



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


[jira] [Closed] (OFBIZ-6257) Upload function does not work on Party Manager.

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6257.
---
   Resolution: Fixed
Fix Version/s: 14.12.01

 Upload function does not work on Party Manager.
 ---

 Key: OFBIZ-6257
 URL: https://issues.apache.org/jira/browse/OFBIZ-6257
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Supachai Chaima-ngua
Assignee: Deepak Dixit
Priority: Minor
  Labels: upload
 Fix For: 14.12.01, Trunk

 Attachments: OFBiz  Party Manager  View Party Profile.png


 The StreamingNotSupportedException class does not found in Apache Commons 
 Compress 1.4.1. Can you upgrade Apache Commons Compress to latest version ? I 
 have tested with Apache Commons Compress 1.9, the upload file function was 
 working fine.
 Bug page: 
 http://demo-trunk-ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin



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


[jira] [Closed] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6382.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch

 Create PO flow is broken
 

 Key: OFBIZ-6382
 URL: https://issues.apache.org/jira/browse/OFBIZ-6382
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Nitesh Goyal
Assignee: Deepak Dixit
 Fix For: Upcoming Branch

 Attachments: OFBIZ-6382.patch


 While creating a PO from Ordermgr, the following error occurred :
 {code}
 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/OrderEntryOrderScreens.xml#ShipSettings]: 
 java.lang.IllegalArgumentException: Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long) (Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long))
 {code}



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


[jira] [Updated] (OFBIZ-6257) Upload function does not work on Party Manager.

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6257:

Fix Version/s: (was: Trunk)
   Upcoming Branch

 Upload function does not work on Party Manager.
 ---

 Key: OFBIZ-6257
 URL: https://issues.apache.org/jira/browse/OFBIZ-6257
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Supachai Chaima-ngua
Assignee: Deepak Dixit
Priority: Minor
  Labels: upload
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBiz  Party Manager  View Party Profile.png


 The StreamingNotSupportedException class does not found in Apache Commons 
 Compress 1.4.1. Can you upgrade Apache Commons Compress to latest version ? I 
 have tested with Apache Commons Compress 1.9, the upload file function was 
 working fine.
 Bug page: 
 http://demo-trunk-ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin



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


[jira] [Updated] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6351:

Fix Version/s: (was: Trunk)
   Upcoming Branch

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6351.patch






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


[jira] [Commented] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546655#comment-14546655
 ] 

Deepak Dixit commented on OFBIZ-6382:
-

Thanks Nitesh, your patch has been committed at Trunk at r#1679715

 Create PO flow is broken
 

 Key: OFBIZ-6382
 URL: https://issues.apache.org/jira/browse/OFBIZ-6382
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Nitesh Goyal
Assignee: Deepak Dixit
 Fix For: Upcoming Branch

 Attachments: OFBIZ-6382.patch


 While creating a PO from Ordermgr, the following error occurred :
 {code}
 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/OrderEntryOrderScreens.xml#ShipSettings]: 
 java.lang.IllegalArgumentException: Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long) (Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long))
 {code}



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


[jira] [Assigned] (OFBIZ-6262) CategoryContentWrapper ignores session locale

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6262:
---

Assignee: Deepak Dixit

 CategoryContentWrapper ignores session locale
 -

 Key: OFBIZ-6262
 URL: https://issues.apache.org/jira/browse/OFBIZ-6262
 Project: OFBiz
  Issue Type: Bug
  Components: product, specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Josip Almasi
Assignee: Deepak Dixit
 Fix For: Trunk

 Attachments: OFBIZ-6262.patch


 CategoryContentWorker returns first CategoryContent found for a Category, 
 ignoring locale.
 The consequence is invalid localization of categories.
 Steps to reproduce:
 - delete product category name and/or product category description
 - in content tab, create category name and/or description content, for at 
 least two locales
 - try changing session locale in catalog or ecommerce, watch category tree 
 and other components displaying category name(s)



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


[jira] [Comment Edited] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546591#comment-14546591
 ] 

Deepak Dixit edited comment on OFBIZ-6351 at 5/16/15 8:41 AM:
--

Thanks Pierre.



was (Author: deepak.dixit):
Ahh Thanks Pierre 

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Fix For: Trunk, 14.12.01, 12.04.06, 13.07.02

 Attachments: OFBIZ-6351.patch






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


[jira] [Assigned] (OFBIZ-6257) Upload function does not work on Party Manager.

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6257:
---

Assignee: Deepak Dixit

 Upload function does not work on Party Manager.
 ---

 Key: OFBIZ-6257
 URL: https://issues.apache.org/jira/browse/OFBIZ-6257
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: Trunk
Reporter: Supachai Chaima-ngua
Assignee: Deepak Dixit
Priority: Minor
  Labels: upload
 Fix For: Trunk

 Attachments: OFBiz  Party Manager  View Party Profile.png


 The StreamingNotSupportedException class does not found in Apache Commons 
 Compress 1.4.1. Can you upgrade Apache Commons Compress to latest version ? I 
 have tested with Apache Commons Compress 1.9, the upload file function was 
 working fine.
 Bug page: 
 http://demo-trunk-ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin



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


[jira] [Closed] (OFBIZ-6363) Upload of PartyContent produces an error.

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6363.
---
Resolution: Duplicate

 Upload of PartyContent produces an error.
 -

 Key: OFBIZ-6363
 URL: https://issues.apache.org/jira/browse/OFBIZ-6363
 Project: OFBiz
  Issue Type: Bug
  Components: content, party
Affects Versions: Trunk
Reporter: Pierre Smits
 Attachments: OFBIZ-6363-trunk-error.rtf


 When uploading content in a party profile, the selected file doesn't get 
 uploaded, in stead an error is produced.



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


[jira] [Assigned] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6382:
---

Assignee: Deepak Dixit

 Create PO flow is broken
 

 Key: OFBIZ-6382
 URL: https://issues.apache.org/jira/browse/OFBIZ-6382
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Nitesh Goyal
Assignee: Deepak Dixit

 While creating a PO from Ordermgr, the following error occurred :
 {code}
 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/OrderEntryOrderScreens.xml#ShipSettings]: 
 java.lang.IllegalArgumentException: Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long) (Error running script at location 
 [component://order/webapp/ordermgr/WEB-INF/actions/entry/ShipSettings.groovy]:
  groovy.lang.MissingMethodException: No signature of method: 
 java.util.LinkedHashMap.add() is applicable for argument types: 
 (java.util.LinkedHashMap) values: 
 [[facilityContactMechList:[[facilityContactMechPurposes:[[lastUpdatedStamp:2015-05-16
  03:10:24.528, ...], ...], ...], ...], ...]] Possible solutions: any(), 
 any(groovy.lang.Closure), any(groovy.lang.Closure), wait(), find(), 
 wait(long))
 {code}



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


[jira] [Commented] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546659#comment-14546659
 ] 

Deepak Dixit commented on OFBIZ-6380:
-

Hi Jacques,

After upgrade to 2.3 ofbiz throwing following exception:

Caused by: java.lang.ClassCastException: 
org.apache.logging.slf4j.SLF4JLoggerContext cannot be cast to 
org.apache.logging.log4j.core.LoggerContext

 Update Log4j 2.2 to 2.3
 ---

 Key: OFBIZ-6380
 URL: https://issues.apache.org/jira/browse/OFBIZ-6380
 Project: OFBiz
  Issue Type: Task
  Components: framework
Affects Versions: Release Branch 14.12, Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
Priority: Trivial
 Fix For: 14.12.01, 13.07.02, Upcoming Branch


 http://logging.apache.org/log4j/2.x/changes-report.html#a2.3



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


[jira] [Commented] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546679#comment-14546679
 ] 

Deepak Dixit commented on OFBIZ-6380:
-

I think its due to log4j-to-slf4j-2.3.jar, I removed this jar file and its 
working fine.

 Update Log4j 2.2 to 2.3
 ---

 Key: OFBIZ-6380
 URL: https://issues.apache.org/jira/browse/OFBIZ-6380
 Project: OFBiz
  Issue Type: Task
  Components: framework
Affects Versions: Release Branch 14.12, Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
Priority: Trivial
 Fix For: 14.12.01, 13.07.02, Upcoming Branch


 http://logging.apache.org/log4j/2.x/changes-report.html#a2.3



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


[jira] [Commented] (OFBIZ-6262) CategoryContentWrapper ignores session locale

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546682#comment-14546682
 ] 

Deepak Dixit commented on OFBIZ-6262:
-

Thanks  Josip Almasi,
Your patch has been committed at 
Trunk at r#1679720
14.12 at #1679721
13.07 at r#1679724


 CategoryContentWrapper ignores session locale
 -

 Key: OFBIZ-6262
 URL: https://issues.apache.org/jira/browse/OFBIZ-6262
 Project: OFBiz
  Issue Type: Bug
  Components: product, specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Josip Almasi
Assignee: Deepak Dixit
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6262.patch


 CategoryContentWorker returns first CategoryContent found for a Category, 
 ignoring locale.
 The consequence is invalid localization of categories.
 Steps to reproduce:
 - delete product category name and/or product category description
 - in content tab, create category name and/or description content, for at 
 least two locales
 - try changing session locale in catalog or ecommerce, watch category tree 
 and other components displaying category name(s)



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


[jira] [Closed] (OFBIZ-6262) CategoryContentWrapper ignores session locale

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6262.
---
   Resolution: Fixed
Fix Version/s: (was: Trunk)
   Upcoming Branch
   13.07.02
   14.12.01

 CategoryContentWrapper ignores session locale
 -

 Key: OFBIZ-6262
 URL: https://issues.apache.org/jira/browse/OFBIZ-6262
 Project: OFBiz
  Issue Type: Bug
  Components: product, specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Josip Almasi
Assignee: Deepak Dixit
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6262.patch


 CategoryContentWorker returns first CategoryContent found for a Category, 
 ignoring locale.
 The consequence is invalid localization of categories.
 Steps to reproduce:
 - delete product category name and/or product category description
 - in content tab, create category name and/or description content, for at 
 least two locales
 - try changing session locale in catalog or ecommerce, watch category tree 
 and other components displaying category name(s)



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


[jira] [Assigned] (OFBIZ-6329) Malfunction of configurable FTL-Template caching in DataResourceWorker.renderDataResourceAsText

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6329:
---

Assignee: Deepak Dixit

 Malfunction of configurable FTL-Template caching in 
 DataResourceWorker.renderDataResourceAsText
 ---

 Key: OFBIZ-6329
 URL: https://issues.apache.org/jira/browse/OFBIZ-6329
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Martin Becker
Assignee: Deepak Dixit
 Attachments: OFBIZ-6329_FTL-Caching-DiffOnly.patch, 
 OFBIZ-6329_FTL-Caching.patch, OFBIZ-6329_Non-Template-Caching-DiffOnly.patch, 
 OFBIZ-6329_Non-Template-Caching.patch


 There are several problems with the current caching logic in 
 DataResourceWorker.renderDataResourceAsText(...). 
 Enabling the caching of rendered FTL-Templates from DataResources with the 
 property disable.ftl.template.cache in content.properties enables a 
 non-functioning block of code that handles the rendering of the cached 
 template. And if it is deactivated (default), the FTL-Templates are still 
 cached by the FreeMarkerWorker.
 However the correct logic for caching and using the rendered FTL-Template is 
 already implemented in the FreeMarkerWorker and controlled by an optional 
 useCache parameter.
 In addition there is an API call to DataResourceWorker.writeDataResourceText 
 for non template content with a static true for useCache instead of using 
 the given cache parameter value of the renderDataResourceAsText method 
 itself, so even if the caller do not want to use caching at all, the non 
 template text data is cached an FTL-Templates are cached also.
 I will provide a patch for those two issues in the mentioned method.



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


[jira] [Commented] (OFBIZ-6329) Malfunction of configurable FTL-Template caching in DataResourceWorker.renderDataResourceAsText

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546696#comment-14546696
 ] 

Deepak Dixit commented on OFBIZ-6329:
-

 Martin Becker, 

You can crate patch using git diff --no-prefix option.

 Malfunction of configurable FTL-Template caching in 
 DataResourceWorker.renderDataResourceAsText
 ---

 Key: OFBIZ-6329
 URL: https://issues.apache.org/jira/browse/OFBIZ-6329
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Martin Becker
Assignee: Deepak Dixit
 Attachments: OFBIZ-6329_FTL-Caching-DiffOnly.patch, 
 OFBIZ-6329_FTL-Caching.patch, OFBIZ-6329_Non-Template-Caching-DiffOnly.patch, 
 OFBIZ-6329_Non-Template-Caching.patch


 There are several problems with the current caching logic in 
 DataResourceWorker.renderDataResourceAsText(...). 
 Enabling the caching of rendered FTL-Templates from DataResources with the 
 property disable.ftl.template.cache in content.properties enables a 
 non-functioning block of code that handles the rendering of the cached 
 template. And if it is deactivated (default), the FTL-Templates are still 
 cached by the FreeMarkerWorker.
 However the correct logic for caching and using the rendered FTL-Template is 
 already implemented in the FreeMarkerWorker and controlled by an optional 
 useCache parameter.
 In addition there is an API call to DataResourceWorker.writeDataResourceText 
 for non template content with a static true for useCache instead of using 
 the given cache parameter value of the renderDataResourceAsText method 
 itself, so even if the caller do not want to use caching at all, the non 
 template text data is cached an FTL-Templates are cached also.
 I will provide a patch for those two issues in the mentioned method.



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


[jira] [Closed] (OFBIZ-6329) Malfunction of configurable FTL-Template caching in DataResourceWorker.renderDataResourceAsText

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6329.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

 Malfunction of configurable FTL-Template caching in 
 DataResourceWorker.renderDataResourceAsText
 ---

 Key: OFBIZ-6329
 URL: https://issues.apache.org/jira/browse/OFBIZ-6329
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Martin Becker
Assignee: Deepak Dixit
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6329_FTL-Caching-DiffOnly.patch, 
 OFBIZ-6329_FTL-Caching.patch, OFBIZ-6329_Non-Template-Caching-DiffOnly.patch, 
 OFBIZ-6329_Non-Template-Caching.patch


 There are several problems with the current caching logic in 
 DataResourceWorker.renderDataResourceAsText(...). 
 Enabling the caching of rendered FTL-Templates from DataResources with the 
 property disable.ftl.template.cache in content.properties enables a 
 non-functioning block of code that handles the rendering of the cached 
 template. And if it is deactivated (default), the FTL-Templates are still 
 cached by the FreeMarkerWorker.
 However the correct logic for caching and using the rendered FTL-Template is 
 already implemented in the FreeMarkerWorker and controlled by an optional 
 useCache parameter.
 In addition there is an API call to DataResourceWorker.writeDataResourceText 
 for non template content with a static true for useCache instead of using 
 the given cache parameter value of the renderDataResourceAsText method 
 itself, so even if the caller do not want to use caching at all, the non 
 template text data is cached an FTL-Templates are cached also.
 I will provide a patch for those two issues in the mentioned method.



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


[jira] [Commented] (OFBIZ-6329) Malfunction of configurable FTL-Template caching in DataResourceWorker.renderDataResourceAsText

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546695#comment-14546695
 ] 

Deepak Dixit commented on OFBIZ-6329:
-

Thanks  Martin Becker,
Your patch has been committed at
Trunk at r#1679728
14.12 at r#1679729

Not able to apply this patch, getting conflicts while merging.

 Malfunction of configurable FTL-Template caching in 
 DataResourceWorker.renderDataResourceAsText
 ---

 Key: OFBIZ-6329
 URL: https://issues.apache.org/jira/browse/OFBIZ-6329
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Martin Becker
Assignee: Deepak Dixit
 Attachments: OFBIZ-6329_FTL-Caching-DiffOnly.patch, 
 OFBIZ-6329_FTL-Caching.patch, OFBIZ-6329_Non-Template-Caching-DiffOnly.patch, 
 OFBIZ-6329_Non-Template-Caching.patch


 There are several problems with the current caching logic in 
 DataResourceWorker.renderDataResourceAsText(...). 
 Enabling the caching of rendered FTL-Templates from DataResources with the 
 property disable.ftl.template.cache in content.properties enables a 
 non-functioning block of code that handles the rendering of the cached 
 template. And if it is deactivated (default), the FTL-Templates are still 
 cached by the FreeMarkerWorker.
 However the correct logic for caching and using the rendered FTL-Template is 
 already implemented in the FreeMarkerWorker and controlled by an optional 
 useCache parameter.
 In addition there is an API call to DataResourceWorker.writeDataResourceText 
 for non template content with a static true for useCache instead of using 
 the given cache parameter value of the renderDataResourceAsText method 
 itself, so even if the caller do not want to use caching at all, the non 
 template text data is cached an FTL-Templates are cached also.
 I will provide a patch for those two issues in the mentioned method.



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


[jira] [Assigned] (OFBIZ-6216) ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6216:
---

Assignee: Deepak Dixit

 ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml
 --

 Key: OFBIZ-6216
 URL: https://issues.apache.org/jira/browse/OFBIZ-6216
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Trivial
 Attachments: OFBIZ-6216.patch


 A foreign key error is thrown when shipping data is manually entered by 
 copying the xml from ProductStoreData.xml into the text field at 
 https://localhost:8443/webtools/control/entityImport after doing the same for 
 ShippingData.xml.  I don't think the error is seen when the data is imported 
 by running load-seed because it creates dummy foreign keys.



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


[jira] [Commented] (OFBIZ-6216) ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml

2015-05-16 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14546713#comment-14546713
 ] 

Deepak Dixit commented on OFBIZ-6216:
-

Thanks  Christian Carlo, Rishi Solanki and Divesh Dutta for your valuable 
thoughts. 

Thanks Divesh, your patch has been committed at 
Trunk at r#1679732
14.12 at  r#1679733

 ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml
 --

 Key: OFBIZ-6216
 URL: https://issues.apache.org/jira/browse/OFBIZ-6216
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Trivial
 Attachments: OFBIZ-6216.patch


 A foreign key error is thrown when shipping data is manually entered by 
 copying the xml from ProductStoreData.xml into the text field at 
 https://localhost:8443/webtools/control/entityImport after doing the same for 
 ShippingData.xml.  I don't think the error is seen when the data is imported 
 by running load-seed because it creates dummy foreign keys.



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


[jira] [Closed] (OFBIZ-6216) ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml

2015-05-16 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6216.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

 ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml
 --

 Key: OFBIZ-6216
 URL: https://issues.apache.org/jira/browse/OFBIZ-6216
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Trivial
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6216.patch


 A foreign key error is thrown when shipping data is manually entered by 
 copying the xml from ProductStoreData.xml into the text field at 
 https://localhost:8443/webtools/control/entityImport after doing the same for 
 ShippingData.xml.  I don't think the error is seen when the data is imported 
 by running load-seed because it creates dummy foreign keys.



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


[jira] [Assigned] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-15 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6351:
---

Assignee: Deepak Dixit

 ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to 
 ${bsh}
 ---

 Key: OFBIZ-6351
 URL: https://issues.apache.org/jira/browse/OFBIZ-6351
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
Priority: Minor
 Attachments: OFBIZ-6351.patch






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


[jira] [Commented] (OFBIZ-6207) Anyone can view any Request or Quote

2015-05-05 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14528238#comment-14528238
 ] 

Deepak Dixit commented on OFBIZ-6207:
-

Thanks  Forrest Rae for the but report and patch.

Ps: Please do not mix formatting changes with functional changes, its difficult 
to review the patch

 Anyone can view any Request or Quote
 

 Key: OFBIZ-6207
 URL: https://issues.apache.org/jira/browse/OFBIZ-6207
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Forrest Rae
Assignee: Deepak Dixit
Priority: Critical
  Labels: security
 Attachments: OFBIZ-6207-fourth-attempt.patch


 This is a security bug in the ecommerce application.  Anyone can view any 
 quote or request in the system regardless of the associated partyId.  They 
 can do this via URL parameter manipulation.
 Reproduction:
 1) Login to the ecommerce application as DemoCustomer.
 2) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9000
  to view your own request.
 3) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9001
  to view DemoCustAgent's request.
 4) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9002
  to view DemoCustomer2's request.
 Same goes for Quotes, although there are no quotes in the Demo data.  The 
 attach patch fixes this issue.
 Would like this issue back ported to release 13.07 please.



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


[jira] [Closed] (OFBIZ-6207) Anyone can view any Request or Quote

2015-05-05 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6207.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

 Anyone can view any Request or Quote
 

 Key: OFBIZ-6207
 URL: https://issues.apache.org/jira/browse/OFBIZ-6207
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Forrest Rae
Assignee: Deepak Dixit
Priority: Critical
  Labels: security
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6207-fourth-attempt.patch


 This is a security bug in the ecommerce application.  Anyone can view any 
 quote or request in the system regardless of the associated partyId.  They 
 can do this via URL parameter manipulation.
 Reproduction:
 1) Login to the ecommerce application as DemoCustomer.
 2) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9000
  to view your own request.
 3) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9001
  to view DemoCustAgent's request.
 4) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9002
  to view DemoCustomer2's request.
 Same goes for Quotes, although there are no quotes in the Demo data.  The 
 attach patch fixes this issue.
 Would like this issue back ported to release 13.07 please.



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


[jira] [Commented] (OFBIZ-5169) Removing Javolution from framework components

2015-04-24 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14510548#comment-14510548
 ] 

Deepak Dixit commented on OFBIZ-5169:
-

We should use the LinkedHashMap for controller pre/post processor eventLists 
(ConfigXMLReader.java:180) as HashMap does not maintain the iteration order. 



 Removing Javolution from framework components
 -

 Key: OFBIZ-5169
 URL: https://issues.apache.org/jira/browse/OFBIZ-5169
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: Trunk
Reporter: Varun Bhansaly
Priority: Minor
 Attachments: framework-FastList-removed.patch


 a. Remove static instances of Javolution objects.
 b. Remove other uses of Javolution objects.



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


[jira] [Commented] (OFBIZ-6298) Java collection use optimized

2015-04-24 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14510632#comment-14510632
 ] 

Deepak Dixit commented on OFBIZ-6298:
-

Hi Nicolas,

Its [~deepak.dixit] :)

 Java collection use optimized
 -

 Key: OFBIZ-6298
 URL: https://issues.apache.org/jira/browse/OFBIZ-6298
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: Trunk
Reporter: Nicolas Malin
Assignee: Nicolas Malin
Priority: Minor
  Labels: collection, performance

 With the javolution collection cleaning (OFBIZ-5169,OFBIZ-5781) , we need to 
 realize a second pass to control what instantiation would be better.
 For List between LinkedList, ArrayList
 {quote}
 Using ArrayList, rather than LinkedList, as a default is a good approach 
 because ArrayList will work better in most situations (in terms of 
 algorithmic runtimes and memory footprints).
 However I think it is important to wisely choose ArrayList or LinkedList 
 based on the context, because sometimes a linked list may be a better choice: 
 I am not saying we should do it now and we can tackle this at a later moment, 
 possibly focusing only on list that can be very big and analyzing their usage 
 to see if array or linked list is better; it would be also nice, when we use 
 ArrayList, to see if we can predict the capacity of the list and allocate it 
 at creation: if we can do this we will have a more predictable memory usage 
 and less unpredictable peaks under heavy load (when the array capacity is 
 reached and the array is copied to a new one with double capacity).
 {quote}
 more documentation on :
  * 
 https://docs.oracle.com/javase/tutorial/collections/implementations/list.html
  * 
 http://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist
 For Map between HashMap and LinkedHashMap :
 {quote}
 Javolution Map Iterators return items in insertion sequence (HashMap does 
 not), so any code relying on the original insertion order must use a 
 LinkedHashMap.
 {quote}
  * 
 http://stackoverflow.com/questions/2889777/difference-between-hashmap-linkedhashmap-and-treemap
 If you detect an optimization, please comments this issues



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


[jira] [Commented] (OFBIZ-4925) Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of already purchased product A

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501235#comment-14501235
 ] 

Deepak Dixit commented on OFBIZ-4925:
-

Based on Amardeep comments closing the task.


 Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
 already purchased product A
 

 Key: OFBIZ-4925
 URL: https://issues.apache.org/jira/browse/OFBIZ-4925
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release 10.04
 Environment: Revision : 1346235
Reporter: Nandani Aggarwal
Assignee: Deepak Dixit
Priority: Minor





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


[jira] [Resolved] (OFBIZ-4925) Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of already purchased product A

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit resolved OFBIZ-4925.
-
Resolution: Cannot Reproduce

 Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
 already purchased product A
 

 Key: OFBIZ-4925
 URL: https://issues.apache.org/jira/browse/OFBIZ-4925
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release 10.04
 Environment: Revision : 1346235
Reporter: Nandani Aggarwal
Assignee: Deepak Dixit
Priority: Minor





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


[jira] [Closed] (OFBIZ-4925) Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of already purchased product A

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-4925.
---

 Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
 already purchased product A
 

 Key: OFBIZ-4925
 URL: https://issues.apache.org/jira/browse/OFBIZ-4925
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release 10.04
 Environment: Revision : 1346235
Reporter: Nandani Aggarwal
Assignee: Deepak Dixit
Priority: Minor





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


[jira] [Closed] (OFBIZ-6202) Expected hash Freemarker error in FindInventoryEventPlan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6202.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   12.04.06
   14.12.01

 Expected hash Freemarker error in FindInventoryEventPlan
 --

 Key: OFBIZ-6202
 URL: https://issues.apache.org/jira/browse/OFBIZ-6202
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Paul Foxworthy
Assignee: Deepak Dixit
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6202_Expected_hash_Freemarker_error


 This error was reported on ofbiz-users by Medhat Abdel Badie on 11 Feb 2013 
 (http://mail-archives.apache.org/mod_mbox/ofbiz-user/201302.mbox/%3ccafm1-vwx8vvxn2o3c2fzmugv9wjugn9rb16qgjusncgyv83...@mail.gmail.com%3E)
 Reproducing Scenario:
   • Carton_M (Type : Finished Good) contains 2 Carton_S (Type : Raw
 Material)  as Manufacturing BOM.
   • For both Products Go to Facilities  Edit Product Facilities  Add
 the Facility Web Store Warehouse
   • Leave MINIMUM STOCK Empty or set it to Zero
   • Create sales order containing 1 Carton_M product, then Approve the
 order.
   • Go to the Manufacturing  MRP, and run MRP
 Then click on the Find button at the bottom of the page to show planned 
 inventory events. You'll get:
 Expected hash. initialQohEvent evaluated instead to 
 freemarker.template.SimpleScalar on line 165, column 26 in 
 component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl



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


[jira] [Commented] (OFBIZ-5621) Amount in cash is smaller than total due in webpos

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501238#comment-14501238
 ] 

Deepak Dixit commented on OFBIZ-5621:
-

Thanks  Hoan Dang Van for reporting the issue, But in ideal world if user is 
paying in cash only then there is no need to create two payment transaction, 
user can simply remove old payment transaction and can create single 
transaction for full cash amount.

So IMO its not an valid issue.

 Amount in cash is smaller than total due in webpos
 --

 Key: OFBIZ-5621
 URL: https://issues.apache.org/jira/browse/OFBIZ-5621
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: Trunk
Reporter: Hoan Dang Van
 Attachments: OFBIZ-5621.patch


 When I buy a product that has price is 50$, (Now, total due is 50$, total 
 already in cash is 0$), I paid 30$ (Now, total due is 20$, total already in 
 cash is 30$).
 But when I second paid 20$, total due is 30$ and it is cycle. So, i can't 
 checkout my shopping session 



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


[jira] [Closed] (OFBIZ-4647) Date Picker widget in for breaks Internet Explorer 7

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-4647.
---
Resolution: Cannot Reproduce

 Date Picker widget in for breaks Internet Explorer 7
 

 Key: OFBIZ-4647
 URL: https://issues.apache.org/jira/browse/OFBIZ-4647
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Christoph Neuroth
  Labels: patch
 Attachments: OFBIZ-4647.patch


 When using a date field like in the code sample below, the generated 
 JavaScript causes IE7 to stop loading the page with the infamous Operation 
 aborted error and then redirect to an error page, making the screen 
 unusable. For background information on the issue, see [MS Knowledge Base 
 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably* 
 occurs with other js code blocks as well, however we only fixed this one for 
 now because we urgently needed it for a client. This can be circumvented by 
 moving the code in question into a function and binding that to the jQuery 
 document.ready even as I did in the patch.
 Example that breaks IE7 on current trunk:
 {code}
 field id-name=fromDate name=fromDate tooltip=00:00date-time 
 type=date//field
 {code}
 Note: In the patch, I also added two missing semicolons joined some lines so 
 that there is no newlines before that semicolon. While those did not cause 
 errors here, I really doubt if generating JavaScript code using FreeMarker is 
 that great an idae.



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


[jira] [Commented] (OFBIZ-4647) Date Picker widget in for breaks Internet Explorer 7

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501332#comment-14501332
 ] 

Deepak Dixit commented on OFBIZ-4647:
-

Based on Amardeep comments closing the issue

 Date Picker widget in for breaks Internet Explorer 7
 

 Key: OFBIZ-4647
 URL: https://issues.apache.org/jira/browse/OFBIZ-4647
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Christoph Neuroth
  Labels: patch
 Attachments: OFBIZ-4647.patch


 When using a date field like in the code sample below, the generated 
 JavaScript causes IE7 to stop loading the page with the infamous Operation 
 aborted error and then redirect to an error page, making the screen 
 unusable. For background information on the issue, see [MS Knowledge Base 
 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably* 
 occurs with other js code blocks as well, however we only fixed this one for 
 now because we urgently needed it for a client. This can be circumvented by 
 moving the code in question into a function and binding that to the jQuery 
 document.ready even as I did in the patch.
 Example that breaks IE7 on current trunk:
 {code}
 field id-name=fromDate name=fromDate tooltip=00:00date-time 
 type=date//field
 {code}
 Note: In the patch, I also added two missing semicolons joined some lines so 
 that there is no newlines before that semicolon. While those did not cause 
 errors here, I really doubt if generating JavaScript code using FreeMarker is 
 that great an idae.



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


[jira] [Assigned] (OFBIZ-6188) Task Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6188:
---

Assignee: Deepak Dixit

 Task Report error for Manufacturing Shipment Plan
 -

 Key: OFBIZ-6188
 URL: https://issues.apache.org/jira/browse/OFBIZ-6188
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
 Attachments: OFBIZ-6188.patch


 This error occurs when clicking the Task Report button for Manufacturing 
 Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks)



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


[jira] [Commented] (OFBIZ-6188) Task Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501340#comment-14501340
 ] 

Deepak Dixit commented on OFBIZ-6188:
-

Thanks  Christian Carlow for reporting the issue and thanks Amardeep Jhajj for 
verifying the issue.
Your patch has been committed at 
Trunk at r#1674491
14.12 at r#1674492


 Task Report error for Manufacturing Shipment Plan
 -

 Key: OFBIZ-6188
 URL: https://issues.apache.org/jira/browse/OFBIZ-6188
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
 Attachments: OFBIZ-6188.patch


 This error occurs when clicking the Task Report button for Manufacturing 
 Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks)



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


[jira] [Closed] (OFBIZ-5931) org.ofbiz.webapp.event.EventHandlerException: Problems getting the service model (Cannot locate service by name (sendGoogleCheckoutRequest))

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-5931.
---
Resolution: Cannot Reproduce

 org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
 model (Cannot locate service by name (sendGoogleCheckoutRequest))
 

 Key: OFBIZ-5931
 URL: https://issues.apache.org/jira/browse/OFBIZ-5931
 Project: OFBiz
  Issue Type: Bug
Reporter: Prateek

 When I click on Request tab on http://localhost:8080/ecommerce/ link 
 getting following error:-
 org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
 model (Cannot locate service by name (sendGoogleCheckoutRequest))
 Also I don't see any use of Quotes tab.



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


[jira] [Commented] (OFBIZ-6076) Error on Sending confirm email from newly created quote

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501277#comment-14501277
 ] 

Deepak Dixit commented on OFBIZ-6076:
-

Thank Jacques and  Eduardo Arellano, I am closing this issue.

 Error on Sending confirm email from newly created quote
 ---

 Key: OFBIZ-6076
 URL: https://issues.apache.org/jira/browse/OFBIZ-6076
 Project: OFBiz
  Issue Type: Bug
  Components: order
 Environment: 
 http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
Reporter: Eduardo Arellano

 Error on Sending confirm email from newly created quote
 http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
 The Following Errors Occurred:
 Error rendering screen for email: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null)) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null))) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null)) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6076.
---
Resolution: Duplicate

 Error on Sending confirm email from newly created quote
 ---

 Key: OFBIZ-6076
 URL: https://issues.apache.org/jira/browse/OFBIZ-6076
 Project: OFBiz
  Issue Type: Bug
  Components: order
 Environment: 
 http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
Reporter: Eduardo Arellano

 Error on Sending confirm email from newly created quote
 http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
 The Following Errors Occurred:
 Error rendering screen for email: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null)) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null))) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null)) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null) (Error rendering screen 
 [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
 java.lang.NullPointerException (null



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


[jira] [Assigned] (OFBIZ-6144) Convert FindShipment ftl to form widget

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6144:
---

Assignee: Deepak Dixit

 Convert FindShipment ftl to form widget
 ---

 Key: OFBIZ-6144
 URL: https://issues.apache.org/jira/browse/OFBIZ-6144
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
 Attachments: OFBIZ-6144.patch


 The error below occurs when findShipmentExprs is null in FindShipment.groovy 
 which prevents the page from even displaying.  IMO the FindShipment.groovy 
 and FindShipment.ftl should be replaced with form widgets.
 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-5931) org.ofbiz.webapp.event.EventHandlerException: Problems getting the service model (Cannot locate service by name (sendGoogleCheckoutRequest))

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501342#comment-14501342
 ] 

Deepak Dixit commented on OFBIZ-5931:
-

Thanks Rishi Solanki for verifying the issue. 
Based on Rishi's comment closing the task.

 org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
 model (Cannot locate service by name (sendGoogleCheckoutRequest))
 

 Key: OFBIZ-5931
 URL: https://issues.apache.org/jira/browse/OFBIZ-5931
 Project: OFBiz
  Issue Type: Bug
Reporter: Prateek

 When I click on Request tab on http://localhost:8080/ecommerce/ link 
 getting following error:-
 org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
 model (Cannot locate service by name (sendGoogleCheckoutRequest))
 Also I don't see any use of Quotes tab.



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


[jira] [Commented] (OFBIZ-6196) Package Labels Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501349#comment-14501349
 ] 

Deepak Dixit commented on OFBIZ-6196:
-

Thanks  Christian Carlow for reporting the issue and Amardeep and Jacques for 
verifying the issue.
Changes has been committed at 
Trunk at r#1674496
14.12 at r#1674498
13.07 at r#1674500
12.04 at r#1674501

 Package Labels Report error for Manufacturing Shipment Plan
 ---

 Key: OFBIZ-6196
 URL: https://issues.apache.org/jira/browse/OFBIZ-6196
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Jacques Le Roux
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6196.patch


 This error occurs when clicking the Package Labels Report button at 
 manufacturing/control/WorkWithShipmentPlans:
 Unable to transform FO file: org.apache.fop.apps.FOPException: 
 org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
 of elements must consist of well-formed character data or markup. 
 javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
 lineNumber: 33; columnNumber: 167; The content of elements must consist of 
 well-formed character data or markup.



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


[jira] [Closed] (OFBIZ-6196) Package Labels Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6196.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   12.04.06
   14.12.01

 Package Labels Report error for Manufacturing Shipment Plan
 ---

 Key: OFBIZ-6196
 URL: https://issues.apache.org/jira/browse/OFBIZ-6196
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Jacques Le Roux
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6196.patch


 This error occurs when clicking the Package Labels Report button at 
 manufacturing/control/WorkWithShipmentPlans:
 Unable to transform FO file: org.apache.fop.apps.FOPException: 
 org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
 of elements must consist of well-formed character data or markup. 
 javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
 lineNumber: 33; columnNumber: 167; The content of elements must consist of 
 well-formed character data or markup.



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


[jira] [Commented] (OFBIZ-6144) FindShipment.groovy error due to null findShipmentExprs

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501327#comment-14501327
 ] 

Deepak Dixit commented on OFBIZ-6144:
-

NPE issue already fixed under OFBIZ-6058, Its an good idea to convert ftl into 
form widget.
I am converting this issue type to improvement as conversion form ftl to form 
widget is an improvement.


 FindShipment.groovy error due to null findShipmentExprs
 ---

 Key: OFBIZ-6144
 URL: https://issues.apache.org/jira/browse/OFBIZ-6144
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
 Attachments: OFBIZ-6144.patch


 The error below occurs when findShipmentExprs is null in FindShipment.groovy 
 which prevents the page from even displaying.  IMO the FindShipment.groovy 
 and FindShipment.ftl should be replaced with form widgets.
 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] [Closed] (OFBIZ-5621) Amount in cash is smaller than total due in webpos

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-5621.
---
Resolution: Invalid
  Assignee: Deepak Dixit

 Amount in cash is smaller than total due in webpos
 --

 Key: OFBIZ-5621
 URL: https://issues.apache.org/jira/browse/OFBIZ-5621
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: Trunk
Reporter: Hoan Dang Van
Assignee: Deepak Dixit
 Attachments: OFBIZ-5621.patch


 When I buy a product that has price is 50$, (Now, total due is 50$, total 
 already in cash is 0$), I paid 30$ (Now, total due is 20$, total already in 
 cash is 30$).
 But when I second paid 20$, total due is 30$ and it is cycle. So, i can't 
 checkout my shopping session 



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


[jira] [Updated] (OFBIZ-6144) Convert FindShipment ftl to form widget

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6144:

Issue Type: Improvement  (was: Bug)
   Summary: Convert FindShipment ftl to form widget  (was: 
FindShipment.groovy error due to null findShipmentExprs)

 Convert FindShipment ftl to form widget
 ---

 Key: OFBIZ-6144
 URL: https://issues.apache.org/jira/browse/OFBIZ-6144
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Affects Versions: Trunk
Reporter: Christian Carlow
 Attachments: OFBIZ-6144.patch


 The error below occurs when findShipmentExprs is null in FindShipment.groovy 
 which prevents the page from even displaying.  IMO the FindShipment.groovy 
 and FindShipment.ftl should be replaced with form widgets.
 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] [Assigned] (OFBIZ-6196) Package Labels Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6196:
---

Assignee: Deepak Dixit  (was: Jacques Le Roux)

 Package Labels Report error for Manufacturing Shipment Plan
 ---

 Key: OFBIZ-6196
 URL: https://issues.apache.org/jira/browse/OFBIZ-6196
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
 Attachments: OFBIZ-6196.patch


 This error occurs when clicking the Package Labels Report button at 
 manufacturing/control/WorkWithShipmentPlans:
 Unable to transform FO file: org.apache.fop.apps.FOPException: 
 org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
 of elements must consist of well-formed character data or markup. 
 javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
 lineNumber: 33; columnNumber: 167; The content of elements must consist of 
 well-formed character data or markup.



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


[jira] [Commented] (OFBIZ-6202) Expected hash Freemarker error in FindInventoryEventPlan

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501237#comment-14501237
 ] 

Deepak Dixit commented on OFBIZ-6202:
-

Thanks Paul for reporting the issue.

Slightly modified patch has been committed at following revision:
Trunk at r#1674464
14.12 at r#1674468
13.07 at r#1674469
12.04 at r#1674477

 Expected hash Freemarker error in FindInventoryEventPlan
 --

 Key: OFBIZ-6202
 URL: https://issues.apache.org/jira/browse/OFBIZ-6202
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Paul Foxworthy
Assignee: Deepak Dixit
 Attachments: OFBIZ-6202_Expected_hash_Freemarker_error


 This error was reported on ofbiz-users by Medhat Abdel Badie on 11 Feb 2013 
 (http://mail-archives.apache.org/mod_mbox/ofbiz-user/201302.mbox/%3ccafm1-vwx8vvxn2o3c2fzmugv9wjugn9rb16qgjusncgyv83...@mail.gmail.com%3E)
 Reproducing Scenario:
   • Carton_M (Type : Finished Good) contains 2 Carton_S (Type : Raw
 Material)  as Manufacturing BOM.
   • For both Products Go to Facilities  Edit Product Facilities  Add
 the Facility Web Store Warehouse
   • Leave MINIMUM STOCK Empty or set it to Zero
   • Create sales order containing 1 Carton_M product, then Approve the
 order.
   • Go to the Manufacturing  MRP, and run MRP
 Then click on the Find button at the bottom of the page to show planned 
 inventory events. You'll get:
 Expected hash. initialQohEvent evaluated instead to 
 freemarker.template.SimpleScalar on line 165, column 26 in 
 component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl



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


[jira] [Commented] (OFBIZ-4728) productdetail.ftl shows only primaryProductCategoryId even though a productCategoryId is handed over

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501315#comment-14501315
 ] 

Deepak Dixit commented on OFBIZ-4728:
-

As per the Ravi comments, closing the issue.

 productdetail.ftl shows only primaryProductCategoryId even though a 
 productCategoryId is handed over
 

 Key: OFBIZ-4728
 URL: https://issues.apache.org/jira/browse/OFBIZ-4728
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Markus M. May
Priority: Minor

 On the productsummary.ftl the productUrl is constructed like:
  #assign productUrl@ofbizCatalogAltUrl productId=product.productId 
 productCategoryId=categoryId//#assign
 This works fine, unfortunately in the ProductDetail.groovy the following 
 assignment returns null if the primaryProductCategoryId is not set on the 
 product:
 // get next/previous information for category
 categoryId = parameters.category_id ?: product.primaryProductCategoryId;
 This leads to a nasty NullPointerException in the CatalogScreens.xml. 
 I would propose the following solution in the 
 applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
 // get next/previous information for category
 categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
 product.primaryProductCategoryId;
 I am unsure, why the parameter is named productCategoryId after the call of 
 the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
 the application. Another fix could be to rename this parameter in the 
 ofbizCatalogAltUrl.
 What do you think?



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


[jira] [Closed] (OFBIZ-4728) productdetail.ftl shows only primaryProductCategoryId even though a productCategoryId is handed over

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-4728.
---
Resolution: Cannot Reproduce

 productdetail.ftl shows only primaryProductCategoryId even though a 
 productCategoryId is handed over
 

 Key: OFBIZ-4728
 URL: https://issues.apache.org/jira/browse/OFBIZ-4728
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Markus M. May
Priority: Minor

 On the productsummary.ftl the productUrl is constructed like:
  #assign productUrl@ofbizCatalogAltUrl productId=product.productId 
 productCategoryId=categoryId//#assign
 This works fine, unfortunately in the ProductDetail.groovy the following 
 assignment returns null if the primaryProductCategoryId is not set on the 
 product:
 // get next/previous information for category
 categoryId = parameters.category_id ?: product.primaryProductCategoryId;
 This leads to a nasty NullPointerException in the CatalogScreens.xml. 
 I would propose the following solution in the 
 applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
 // get next/previous information for category
 categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
 product.primaryProductCategoryId;
 I am unsure, why the parameter is named productCategoryId after the call of 
 the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
 the application. Another fix could be to rename this parameter in the 
 ofbizCatalogAltUrl.
 What do you think?



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


[jira] [Comment Edited] (OFBIZ-4728) productdetail.ftl shows only primaryProductCategoryId even though a productCategoryId is handed over

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501315#comment-14501315
 ] 

Deepak Dixit edited comment on OFBIZ-4728 at 4/18/15 11:51 AM:
---

Based on Ravi comments, closing the issue.


was (Author: deepak.dixit):
As per the Ravi comments, closing the issue.

 productdetail.ftl shows only primaryProductCategoryId even though a 
 productCategoryId is handed over
 

 Key: OFBIZ-4728
 URL: https://issues.apache.org/jira/browse/OFBIZ-4728
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Markus M. May
Priority: Minor

 On the productsummary.ftl the productUrl is constructed like:
  #assign productUrl@ofbizCatalogAltUrl productId=product.productId 
 productCategoryId=categoryId//#assign
 This works fine, unfortunately in the ProductDetail.groovy the following 
 assignment returns null if the primaryProductCategoryId is not set on the 
 product:
 // get next/previous information for category
 categoryId = parameters.category_id ?: product.primaryProductCategoryId;
 This leads to a nasty NullPointerException in the CatalogScreens.xml. 
 I would propose the following solution in the 
 applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
 // get next/previous information for category
 categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
 product.primaryProductCategoryId;
 I am unsure, why the parameter is named productCategoryId after the call of 
 the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
 the application. Another fix could be to rename this parameter in the 
 ofbizCatalogAltUrl.
 What do you think?



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


[jira] [Closed] (OFBIZ-6188) Task Report error for Manufacturing Shipment Plan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6188.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

 Task Report error for Manufacturing Shipment Plan
 -

 Key: OFBIZ-6188
 URL: https://issues.apache.org/jira/browse/OFBIZ-6188
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Christian Carlow
Assignee: Deepak Dixit
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6188.patch


 This error occurs when clicking the Task Report button for Manufacturing 
 Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
 Problems with the response writer/output stream: 
 org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
 [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
  java.lang.IllegalArgumentException: Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks (Error running script at location 
 [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
  groovy.lang.MissingPropertyException: No such property: records for class: 
 ShipmentWorkEffortTasks)



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


[jira] [Assigned] (OFBIZ-6202) Expected hash Freemarker error in FindInventoryEventPlan

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6202:
---

Assignee: Deepak Dixit  (was: Paul Foxworthy)

 Expected hash Freemarker error in FindInventoryEventPlan
 --

 Key: OFBIZ-6202
 URL: https://issues.apache.org/jira/browse/OFBIZ-6202
 Project: OFBiz
  Issue Type: Bug
  Components: manufacturing
Affects Versions: Trunk
Reporter: Paul Foxworthy
Assignee: Deepak Dixit
 Attachments: OFBIZ-6202_Expected_hash_Freemarker_error


 This error was reported on ofbiz-users by Medhat Abdel Badie on 11 Feb 2013 
 (http://mail-archives.apache.org/mod_mbox/ofbiz-user/201302.mbox/%3ccafm1-vwx8vvxn2o3c2fzmugv9wjugn9rb16qgjusncgyv83...@mail.gmail.com%3E)
 Reproducing Scenario:
   • Carton_M (Type : Finished Good) contains 2 Carton_S (Type : Raw
 Material)  as Manufacturing BOM.
   • For both Products Go to Facilities  Edit Product Facilities  Add
 the Facility Web Store Warehouse
   • Leave MINIMUM STOCK Empty or set it to Zero
   • Create sales order containing 1 Carton_M product, then Approve the
 order.
   • Go to the Manufacturing  MRP, and run MRP
 Then click on the Find button at the bottom of the page to show planned 
 inventory events. You'll get:
 Expected hash. initialQohEvent evaluated instead to 
 freemarker.template.SimpleScalar on line 165, column 26 in 
 component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl



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


[jira] [Assigned] (OFBIZ-4837) Separator Error in data file tools

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-4837:
---

Assignee: Deepak Dixit  (was: Ashish Vijaywargiya)

 Separator Error in data file tools
 --

 Key: OFBIZ-4837
 URL: https://issues.apache.org/jira/browse/OFBIZ-4837
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Gil Portenseigne
Assignee: Deepak Dixit
Priority: Minor
  Labels: data, parsing
 Attachments: OFBIZ-4837.patch, OFBIZ-4837.patch, OFBIZ-4837_2.patch, 
 dataDefinition.xml, dataSample.csv, result.xml, resultBefore.xml

   Original Estimate: 0.5h
  Remaining Estimate: 0.5h

 In https://demo-trunk.ofbiz.apache.org/webtools/control/viewdatafile 
 There is a bug when defining simple separator (for instance ,) in 
 definition file, and when in data file a string data contains the separator. 
 This one sould not be interpreted in data parsing.
 To illustrate a bit more, i add small sample files to reproduce the problem. 
 And the patch which fix the bug.



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


[jira] [Resolved] (OFBIZ-4837) Separator Error in data file tools

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit resolved OFBIZ-4837.
-
Resolution: Fixed

 Separator Error in data file tools
 --

 Key: OFBIZ-4837
 URL: https://issues.apache.org/jira/browse/OFBIZ-4837
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Gil Portenseigne
Assignee: Deepak Dixit
Priority: Minor
  Labels: data, parsing
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-4837.patch, OFBIZ-4837.patch, OFBIZ-4837_2.patch, 
 dataDefinition.xml, dataSample.csv, result.xml, resultBefore.xml

   Original Estimate: 0.5h
  Remaining Estimate: 0.5h

 In https://demo-trunk.ofbiz.apache.org/webtools/control/viewdatafile 
 There is a bug when defining simple separator (for instance ,) in 
 definition file, and when in data file a string data contains the separator. 
 This one sould not be interpreted in data parsing.
 To illustrate a bit more, i add small sample files to reproduce the problem. 
 And the patch which fix the bug.



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


[jira] [Updated] (OFBIZ-4837) Separator Error in data file tools

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-4837:

Fix Version/s: Upcoming Branch
   13.07.02
   12.04.06
   14.12.01

 Separator Error in data file tools
 --

 Key: OFBIZ-4837
 URL: https://issues.apache.org/jira/browse/OFBIZ-4837
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Gil Portenseigne
Assignee: Deepak Dixit
Priority: Minor
  Labels: data, parsing
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-4837.patch, OFBIZ-4837.patch, OFBIZ-4837_2.patch, 
 dataDefinition.xml, dataSample.csv, result.xml, resultBefore.xml

   Original Estimate: 0.5h
  Remaining Estimate: 0.5h

 In https://demo-trunk.ofbiz.apache.org/webtools/control/viewdatafile 
 There is a bug when defining simple separator (for instance ,) in 
 definition file, and when in data file a string data contains the separator. 
 This one sould not be interpreted in data parsing.
 To illustrate a bit more, i add small sample files to reproduce the problem. 
 And the patch which fix the bug.



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


[jira] [Commented] (OFBIZ-4837) Separator Error in data file tools

2015-04-18 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14501147#comment-14501147
 ] 

Deepak Dixit commented on OFBIZ-4837:
-

Thanks  Gil Portenseigne and Aditya.
Your patch has been committed at following revision:

Trunk at r#1674447
14.12 at r#1674448
13.07 at r#1674449
12.04 at r#1674450

 Separator Error in data file tools
 --

 Key: OFBIZ-4837
 URL: https://issues.apache.org/jira/browse/OFBIZ-4837
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Trunk
Reporter: Gil Portenseigne
Assignee: Deepak Dixit
Priority: Minor
  Labels: data, parsing
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-4837.patch, OFBIZ-4837.patch, OFBIZ-4837_2.patch, 
 dataDefinition.xml, dataSample.csv, result.xml, resultBefore.xml

   Original Estimate: 0.5h
  Remaining Estimate: 0.5h

 In https://demo-trunk.ofbiz.apache.org/webtools/control/viewdatafile 
 There is a bug when defining simple separator (for instance ,) in 
 definition file, and when in data file a string data contains the separator. 
 This one sould not be interpreted in data parsing.
 To illustrate a bit more, i add small sample files to reproduce the problem. 
 And the patch which fix the bug.



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


[jira] [Assigned] (OFBIZ-4925) Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of already purchased product A

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-4925:
---

Assignee: Deepak Dixit

 Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
 already purchased product A
 

 Key: OFBIZ-4925
 URL: https://issues.apache.org/jira/browse/OFBIZ-4925
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release 10.04
 Environment: Revision : 1346235
Reporter: Nandani Aggarwal
Assignee: Deepak Dixit
Priority: Minor





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


[jira] [Assigned] (OFBIZ-6205) Use EntityUtilProperties to get the WebSiteProperties

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6205:
---

Assignee: Deepak Dixit

 Use EntityUtilProperties to get the WebSiteProperties
 -

 Key: OFBIZ-6205
 URL: https://issues.apache.org/jira/browse/OFBIZ-6205
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
 Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Attachments: OFBIZ-6205.patch


 Use EntityUtilProperties to get the WebSiteProperties, As per current 
 implementation its using UtilProperties and its affecting the multitenant 
 environment.
 Wrong https url creation for a tenant in multi-tenant environment. Its 
 redirecting to default instance.



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


[jira] [Closed] (OFBIZ-6205) Use EntityUtilProperties to get the WebSiteProperties

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6205.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

 Use EntityUtilProperties to get the WebSiteProperties
 -

 Key: OFBIZ-6205
 URL: https://issues.apache.org/jira/browse/OFBIZ-6205
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
 Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: 14.12.01, 13.07.02, Upcoming Branch

 Attachments: OFBIZ-6205.patch


 Use EntityUtilProperties to get the WebSiteProperties, As per current 
 implementation its using UtilProperties and its affecting the multitenant 
 environment.
 Wrong https url creation for a tenant in multi-tenant environment. Its 
 redirecting to default instance.



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


[jira] [Commented] (OFBIZ-6205) Use EntityUtilProperties to get the WebSiteProperties

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490883#comment-14490883
 ] 

Deepak Dixit commented on OFBIZ-6205:
-

Thanks Arun your changes has been committed at
Trunk at r#1672846
14.12 at r#1672848
13.07 at r#1672849

EntityUtilProperties implementation exists for 13.07 branches as well, so 
committing patch for trunk and related branches.
As Jacopo said will convert all EntityUtilProperties implementation at once 
into EntityClassLoader when we are sure about performance impact.

 Use EntityUtilProperties to get the WebSiteProperties
 -

 Key: OFBIZ-6205
 URL: https://issues.apache.org/jira/browse/OFBIZ-6205
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
 Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Attachments: OFBIZ-6205.patch


 Use EntityUtilProperties to get the WebSiteProperties, As per current 
 implementation its using UtilProperties and its affecting the multitenant 
 environment.
 Wrong https url creation for a tenant in multi-tenant environment. Its 
 redirecting to default instance.



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


[jira] [Assigned] (OFBIZ-6222) Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6222:
---

Assignee: Deepak Dixit

 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 

 Key: OFBIZ-6222
 URL: https://issues.apache.org/jira/browse/OFBIZ-6222
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: Release Branch 14.12, Trunk

 Attachments: OFBIZ-6222.patch


 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 While using webtools for tenantGroup and searching with a tenantId then its 
 interpreting it as tenantId in request and switching delegator for it.



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


[jira] [Commented] (OFBIZ-6226) Webpos F4-F11 label mismatch

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490884#comment-14490884
 ] 

Deepak Dixit commented on OFBIZ-6226:
-

Hi  Christian Carlow,

Can use rearrange  the function key instead of changing the UiLabels or can 
update the UiLabel as well?
As its confusing to use uiLabelMap.WebPosShortcutF6 for shourtcust key f5 and 
similar for other keys.

 Webpos F4-F11 label mismatch
 

 Key: OFBIZ-6226
 URL: https://issues.apache.org/jira/browse/OFBIZ-6226
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: Trunk
Reporter: Christian Carlow
 Attachments: OFBIZ-6226.patch


 At webpos/control/Login the payGiftCard F4 button incorrectly uses label 
 WebPosShortcutF5 (Pay Pin) when it should be using WebPosShortcutF6.  The 
 same mismatch applies to all buttons higher than F4 and should be incremented 
 by 1 as well.



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


[jira] [Updated] (OFBIZ-6222) Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6222:

Affects Version/s: Release Branch 14.12
   Trunk

 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 

 Key: OFBIZ-6222
 URL: https://issues.apache.org/jira/browse/OFBIZ-6222
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6222.patch


 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 While using webtools for tenantGroup and searching with a tenantId then its 
 interpreting it as tenantId in request and switching delegator for it.



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


[jira] [Updated] (OFBIZ-6222) Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6222:

Fix Version/s: (was: Release Branch 14.12)
   (was: Trunk)
   Upcoming Branch
   14.12.01

 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 

 Key: OFBIZ-6222
 URL: https://issues.apache.org/jira/browse/OFBIZ-6222
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6222.patch


 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 While using webtools for tenantGroup and searching with a tenantId then its 
 interpreting it as tenantId in request and switching delegator for it.



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


[jira] [Assigned] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6077:
---

Assignee: Deepak Dixit

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote

 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Resolved] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit resolved OFBIZ-6077.
-
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote
 Fix For: 14.12.01, Upcoming Branch


 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Commented] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490917#comment-14490917
 ] 

Deepak Dixit commented on OFBIZ-6077:
-

FOP throwing NPE because there is no NPE check on Quote report ft ftl for 
quoteItems .
Added has_content check now report with out item generating properly. 

Create separate issue to fix the table-layout=auto related warning.
Thanks Jacques for reporting the issue ;)

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote

 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Closed] (OFBIZ-6070) Create content for product causes exception

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6070.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   12.04.06
   14.12.01

Forgot to close issue.

 Create content for product causes exception
 ---

 Key: OFBIZ-6070
 URL: https://issues.apache.org/jira/browse/OFBIZ-6070
 Project: OFBiz
  Issue Type: Bug
  Components: content
Affects Versions: Trunk
Reporter: Wai
Assignee: Deepak Dixit
 Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch


 Using demo data.
 https://localhost:8443/catalog/control/EditProductContent?productId=CPU-586
 Console output...
 2015-02-11 11:08:44,547 |http-bio-8443-exec-3 |ServiceEcaCondition   
 |I| From Field (contentAssocTypeId) is not found in context for 
 createContent, defaulting to null.
 2015-02-11 11:08:44,557 |http-bio-8443-exec-3 |ServiceEcaRule
 |I| For Service ECA [createContent] on [commit] got false for condition: 
 [contentAssocTypeId][is-not-empty][true][String]
 2015-02-11 11:08:44,564 |http-bio-8443-exec-3 |ServiceEcaCondition   
 |I| From Field (contentAssocTypeId) is not found in context for 
 createContent, defaulting to null.
 2015-02-11 11:08:44,565 |http-bio-8443-exec-3 |ServiceEcaRule
 |I| For Service ECA [createContent] on [commit] got false for condition: 
 [contentAssocTypeId][is-not-empty][true][String]
 2015-02-11 11:08:44,566 |http-bio-8443-exec-3 |ServiceEcaCondition   
 |I| From Field (contentPurposeTypeId) is not found in context for 
 createContent, defaulting to null.
 2015-02-11 11:08:44,567 |http-bio-8443-exec-3 |ServiceEcaRule
 |I| For Service ECA [createContent] on [commit] got false for condition: 
 [contentPurposeTypeId][is-not-empty][true][String]
 2015-02-11 11:08:44,568 |http-bio-8443-exec-3 |ServiceEcaRule
 |I| Running Service ECA Service: createContentAlternativeUrl, triggered by 
 rule on Service: createContent
 2015-02-11 11:08:44,581 |http-bio-8443-exec-3 |ServiceEcaRule
 |I| For Service ECA [createProductContent] on [in-validate] got false for 
 condition: [contentId][is-empty][true][String]
 2015-02-11 11:08:44,635 |http-bio-8443-exec-3 |GenericDelegator  
 |E| Failure in create operation for entity [ProductContent]: 
 org.ofbiz.entity.GenericEntityException: Error while inserting: 
 [GenericEntity:ProductContent][contentId,10001(java.lang.String)][createdStamp,2015-02-11
  11:08:44.587(java.sql.Timestamp)][createdTxStamp,2015-02-11 
 11:08:32.59(java.sql.Timestamp)][fromDate,2015-02-11 
 11:08:23.0(java.sql.Timestamp)][lastUpdatedStamp,2015-02-11 
 11:08:44.587(java.sql.Timestamp)][lastUpdatedTxStamp,2015-02-11 
 11:08:32.59(java.sql.Timestamp)][productContentTypeId,XTRA_IMG_E_SMALL(java.lang.String)][productId,CPU-586(java.lang.String)][thruDate,null()]
  (SQL Exception while executing the following:INSERT INTO PRODUCT_CONTENT 
 (PRODUCT_ID, CONTENT_ID, PRODUCT_CONTENT_TYPE_ID, FROM_DATE, THRU_DATE, 
 PURCHASE_FROM_DATE, PURCHASE_THRU_DATE, USE_COUNT_LIMIT, USE_TIME, 
 USE_TIME_UOM_ID, USE_ROLE_TYPE_ID, SEQUENCE_NUM, LAST_UPDATED_STAMP, 
 LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, 
 ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Cannot add or update a child row: a 
 foreign key constraint fails (`ofbiz`.`PRODUCT_CONTENT`, CONSTRAINT 
 `PROD_CNT_TYPE` FOREIGN KEY (`PRODUCT_CONTENT_TYPE_ID`) REFERENCES 
 `PRODUCT_CONTENT_TYPE` (`PRODUCT_CONTENT_TYPE_ID`. Rolling back 
 transaction.



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


[jira] [Commented] (OFBIZ-6222) Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490895#comment-14490895
 ] 

Deepak Dixit commented on OFBIZ-6222:
-

Thanks Arun Patidar for your contribution. 
Your patch has been committed in following revision:

Trunk  at r#1672853
14.12 at r#1672854

 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 

 Key: OFBIZ-6222
 URL: https://issues.apache.org/jira/browse/OFBIZ-6222
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6222.patch


 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 While using webtools for tenantGroup and searching with a tenantId then its 
 interpreting it as tenantId in request and switching delegator for it.



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


[jira] [Closed] (OFBIZ-6222) Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6222.
---

 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 

 Key: OFBIZ-6222
 URL: https://issues.apache.org/jira/browse/OFBIZ-6222
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 14.12, Trunk
Reporter: Arun Patidar
Assignee: Deepak Dixit
Priority: Critical
 Fix For: 14.12.01, Upcoming Branch

 Attachments: OFBIZ-6222.patch


 Change the field name 'tenantId' to 'userTenantId' from login page and 
 ContextFilter
 While using webtools for tenantGroup and searching with a tenantId then its 
 interpreting it as tenantId in request and switching delegator for it.



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


[jira] [Commented] (OFBIZ-6207) Anyone can view any Request or Quote

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490897#comment-14490897
 ] 

Deepak Dixit commented on OFBIZ-6207:
-

Hi Forrest Raae,

You can pass in parameters as context-map.
Here is exa

if-service-permission service-name=workEffortICalendarPermission 
main-action=CREATE context-map=parameters/

 Anyone can view any Request or Quote
 

 Key: OFBIZ-6207
 URL: https://issues.apache.org/jira/browse/OFBIZ-6207
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Forrest Rae
Assignee: Deepak Dixit
Priority: Critical
  Labels: security
 Attachments: OFBIZ-6207-fourth-attempt.patch


 This is a security bug in the ecommerce application.  Anyone can view any 
 quote or request in the system regardless of the associated partyId.  They 
 can do this via URL parameter manipulation.
 Reproduction:
 1) Login to the ecommerce application as DemoCustomer.
 2) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9000
  to view your own request.
 3) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9001
  to view DemoCustAgent's request.
 4) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9002
  to view DemoCustomer2's request.
 Same goes for Quotes, although there are no quotes in the Demo data.  The 
 attach patch fixes this issue.
 Would like this issue back ported to release 13.07 please.



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


[jira] [Comment Edited] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490961#comment-14490961
 ] 

Deepak Dixit edited comment on OFBIZ-6077 at 4/11/15 11:56 AM:
---

Fixed in correct hierarchy of fo:table, and if no items found then display 
message on quote item section.

Now NPE on send report by mail should be fixed.
Changes committed at 
Trunk at r#1672856, 1672862
14.12 at r#1672859, 1672863


was (Author: deepak.dixit):
Fixed in correct hierarchy of fo:table, and if no items found then display 
message on quote item section.

Now NPE on send report by mail should be fixed.

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote
 Fix For: 14.12.01, Upcoming Branch


 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Commented] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490997#comment-14490997
 ] 

Deepak Dixit commented on OFBIZ-6077:
-

Added missing if condition at r#1672869 :)

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote
 Fix For: 14.12.01, Upcoming Branch


 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Comment Edited] (OFBIZ-6057) Quote item view FreeMarker error message due to changes made in OFBIZ-2120

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14491010#comment-14491010
 ] 

Deepak Dixit edited comment on OFBIZ-6057 at 4/11/15 12:57 PM:
---

Thanks  Forrest Rae for reporting the issue.
This has been fixed at
Trunk at r#1672873
14.12 at r#1672874
13.07 at r#1672875


was (Author: deepak.dixit):
Thanks  Forrest Rae for reporting the issue.
This has been fix at
Trunk at r#1672873
14.12 at r#1672874
13.07 at r#1672875

 Quote item view FreeMarker error message due to changes made in OFBIZ-2120
 --

 Key: OFBIZ-6057
 URL: https://issues.apache.org/jira/browse/OFBIZ-6057
 Project: OFBiz
  Issue Type: Bug
  Components: accounting, order
Affects Versions: Release Branch 13.07
 Environment: Linux
Reporter: Forrest Rae
Assignee: Deepak Dixit
 Fix For: 14.12.01, 13.07.02, Upcoming Branch


 In order to fix OFBIZ-2120, code was added to the 
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl file at lines 
 53 through 57, with the offending line being at 5:
 https://github.com/apache/ofbiz/blob/trunk/applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl##L56
 Here is the commit: 
 https://github.com/apache/ofbiz/commit/27253c4667e87721212fa8955d75c74a0d171c73
 This ends up causing the following error:
  [java] freemarker.core.InvalidReferenceException: The following has 
 evaluated to null or missing:
  [java] == null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 40]
  [java] 
  [java] 
  [java] 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#elsewhen-missing/#if. (These only cover the 
 last step of the expression; to cover the whole expression, use parenthesis: 
 (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
  [java] 
  [java] 
  [java] 
  [java] FTL stack trace (~ means nesting-related):
  [java]   - Failed at: #assign product = null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 21]
  [java]   - Reached through: #list quoteItems as quoteItem  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 52, 
 column 13]
 The main reason for this is because there is no concept of null in 
 FreeMarker 2.3, as the following thread explains: 
 http://ehc.ac/p/freemarker/discussion/2346/thread/85da30a4/  Not sure how to 
 go about fixing this error, the thread suggests setting the variable to the 
 string null.
 There are other instances of this bug as well:
 $ grep -r #assign * | grep = null
 applications/order/webapp/ordermgr/return/returnItems.ftl: 
 #assign returnItemSubTotal = null   #-- otherwise the last item's might 
 carry over --
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl:   
  #assign product = null #-- don't drag it along to the next iteration 
 --
 applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl: 
#assign creditCard = null/
 framework/webtools/webapp/webtools/datafile/viewdatafile.ftl:#assign 
 lastRecordName = null
 Reproduction Steps:
 1) Visit http://demo-stable-ofbiz.apache.org/ordermgr/control/FindRequest
 2) Click New Request
 3) Set
   - Cust Request Type Id = Request for Quote
   - Requesting Party = DemoCustomer
   - Cust Request Name = Test Request
   - Description = This is a test request
 4) Click Sumbit
 5) Create Quote from request
 6) error will appear



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


[jira] [Closed] (OFBIZ-6057) Quote item view FreeMarker error message due to changes made in OFBIZ-2120

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-6057.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   14.12.01

 Quote item view FreeMarker error message due to changes made in OFBIZ-2120
 --

 Key: OFBIZ-6057
 URL: https://issues.apache.org/jira/browse/OFBIZ-6057
 Project: OFBiz
  Issue Type: Bug
  Components: accounting, order
Affects Versions: Release Branch 13.07
 Environment: Linux
Reporter: Forrest Rae
Assignee: Deepak Dixit
 Fix For: 14.12.01, 13.07.02, Upcoming Branch


 In order to fix OFBIZ-2120, code was added to the 
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl file at lines 
 53 through 57, with the offending line being at 5:
 https://github.com/apache/ofbiz/blob/trunk/applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl##L56
 Here is the commit: 
 https://github.com/apache/ofbiz/commit/27253c4667e87721212fa8955d75c74a0d171c73
 This ends up causing the following error:
  [java] freemarker.core.InvalidReferenceException: The following has 
 evaluated to null or missing:
  [java] == null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 40]
  [java] 
  [java] 
  [java] 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#elsewhen-missing/#if. (These only cover the 
 last step of the expression; to cover the whole expression, use parenthesis: 
 (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
  [java] 
  [java] 
  [java] 
  [java] FTL stack trace (~ means nesting-related):
  [java]   - Failed at: #assign product = null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 21]
  [java]   - Reached through: #list quoteItems as quoteItem  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 52, 
 column 13]
 The main reason for this is because there is no concept of null in 
 FreeMarker 2.3, as the following thread explains: 
 http://ehc.ac/p/freemarker/discussion/2346/thread/85da30a4/  Not sure how to 
 go about fixing this error, the thread suggests setting the variable to the 
 string null.
 There are other instances of this bug as well:
 $ grep -r #assign * | grep = null
 applications/order/webapp/ordermgr/return/returnItems.ftl: 
 #assign returnItemSubTotal = null   #-- otherwise the last item's might 
 carry over --
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl:   
  #assign product = null #-- don't drag it along to the next iteration 
 --
 applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl: 
#assign creditCard = null/
 framework/webtools/webapp/webtools/datafile/viewdatafile.ftl:#assign 
 lastRecordName = null
 Reproduction Steps:
 1) Visit http://demo-stable-ofbiz.apache.org/ordermgr/control/FindRequest
 2) Click New Request
 3) Set
   - Cust Request Type Id = Request for Quote
   - Requesting Party = DemoCustomer
   - Cust Request Name = Test Request
   - Description = This is a test request
 4) Click Sumbit
 5) Create Quote from request
 6) error will appear



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


[jira] [Commented] (OFBIZ-6057) Quote item view FreeMarker error message due to changes made in OFBIZ-2120

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14491010#comment-14491010
 ] 

Deepak Dixit commented on OFBIZ-6057:
-

Thanks  Forrest Rae for reporting the issue.
This has been fix at
Trunk at r#1672873
14.12 at r#1672874
13.07 at r#1672875

 Quote item view FreeMarker error message due to changes made in OFBIZ-2120
 --

 Key: OFBIZ-6057
 URL: https://issues.apache.org/jira/browse/OFBIZ-6057
 Project: OFBiz
  Issue Type: Bug
  Components: accounting, order
Affects Versions: Release Branch 13.07
 Environment: Linux
Reporter: Forrest Rae
Assignee: Deepak Dixit
 Fix For: 14.12.01, 13.07.02, Upcoming Branch


 In order to fix OFBIZ-2120, code was added to the 
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl file at lines 
 53 through 57, with the offending line being at 5:
 https://github.com/apache/ofbiz/blob/trunk/applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl##L56
 Here is the commit: 
 https://github.com/apache/ofbiz/commit/27253c4667e87721212fa8955d75c74a0d171c73
 This ends up causing the following error:
  [java] freemarker.core.InvalidReferenceException: The following has 
 evaluated to null or missing:
  [java] == null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 40]
  [java] 
  [java] 
  [java] 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#elsewhen-missing/#if. (These only cover the 
 last step of the expression; to cover the whole expression, use parenthesis: 
 (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
  [java] 
  [java] 
  [java] 
  [java] FTL stack trace (~ means nesting-related):
  [java]   - Failed at: #assign product = null  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 56, 
 column 21]
  [java]   - Reached through: #list quoteItems as quoteItem  [in template 
 component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl at line 52, 
 column 13]
 The main reason for this is because there is no concept of null in 
 FreeMarker 2.3, as the following thread explains: 
 http://ehc.ac/p/freemarker/discussion/2346/thread/85da30a4/  Not sure how to 
 go about fixing this error, the thread suggests setting the variable to the 
 string null.
 There are other instances of this bug as well:
 $ grep -r #assign * | grep = null
 applications/order/webapp/ordermgr/return/returnItems.ftl: 
 #assign returnItemSubTotal = null   #-- otherwise the last item's might 
 carry over --
 applications/order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl:   
  #assign product = null #-- don't drag it along to the next iteration 
 --
 applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl: 
#assign creditCard = null/
 framework/webtools/webapp/webtools/datafile/viewdatafile.ftl:#assign 
 lastRecordName = null
 Reproduction Steps:
 1) Visit http://demo-stable-ofbiz.apache.org/ordermgr/control/FindRequest
 2) Click New Request
 3) Set
   - Cust Request Type Id = Request for Quote
   - Requesting Party = DemoCustomer
   - Cust Request Name = Test Request
   - Description = This is a test request
 4) Click Sumbit
 5) Create Quote from request
 6) error will appear



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


[jira] [Commented] (OFBIZ-5970) Form RequestRolesInfo is not being accessed from Screens

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14491014#comment-14491014
 ] 

Deepak Dixit commented on OFBIZ-5970:
-

Removed 13.07 from affected version as this component does not exists in 13.07

 Form RequestRolesInfo is not being accessed from Screens
 

 Key: OFBIZ-5970
 URL: https://issues.apache.org/jira/browse/OFBIZ-5970
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: Release Branch 11.04, Release Branch 12.04, Trunk
Reporter: Pierre Smits
  Labels: customer, request, role, roles

 The form exists, but it isn't referenced in a Screen in ProjectMgr.



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


[jira] [Created] (OFBIZ-6241) Fix fop warning related to table-layout=auto

2015-04-11 Thread Deepak Dixit (JIRA)
Deepak Dixit created OFBIZ-6241:
---

 Summary: Fix fop warning related to table-layout=auto
 Key: OFBIZ-6241
 URL: https://issues.apache.org/jira/browse/OFBIZ-6241
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Deepak Dixit
Priority: Minor


{code}
 [java] 2015-04-11 16:37:18,388 |http-bio-8443-exec-6 |FOUserAgent  
 |W| The following feature isn't implemented by Apache FOP, yet: 
table-layout=auto (on fo:table) (See position 139:40)
 [java] 2015-04-11 16:37:18,390 |http-bio-8443-exec-6 |FOUserAgent  
 |W| The following feature isn't implemented by Apache FOP, yet: 
table-layout=auto (on fo:table) (See position 173:81)
 [java] 2015-04-11 16:37:18,395 |http-bio-8443-exec-6 |FOUserAgent  
 |W| The following feature isn't implemented by Apache FOP, yet: 
table-layout=auto (on fo:table) (See position 202:39)
 [java] 2015-04-11 16:37:18,398 |http-bio-8443-exec-6 |FOUserAgent  
 |W| fo:table-body is missing child elements. Required content model: 
marker* (table-row+|table-cell+) (See position 221:32)
{code}



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


[jira] [Reopened] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reopened OFBIZ-6077:
-

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote
 Fix For: 14.12.01, Upcoming Branch


 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Commented] (OFBIZ-6077) Error when creating a quote report

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490961#comment-14490961
 ] 

Deepak Dixit commented on OFBIZ-6077:
-

Fixed in correct hierarchy of fo:table, and if no items found then display 
message on quote item section.

Now NPE on send report by mail should be fixed.

 Error when creating a quote report
 --

 Key: OFBIZ-6077
 URL: https://issues.apache.org/jira/browse/OFBIZ-6077
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, 13.07.01
Reporter: Jacques Le Roux
Assignee: Deepak Dixit
  Labels: quote
 Fix For: 14.12.01, Upcoming Branch


 Create a quote (w/o items), click on Report menu entry 
 ordermgr/control/QuoteReport?quoteId=CQ1
 You get this error in log
 {code}
 2015-02-16 07:58:10,762 |http-bio-8443-exec-3 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 202:32)
 2015-02-16 07:58:10,763 |http-bio-8443-exec-3 |ScreenFopViewHandler  
 |E| Unable to transform FO file: org.apache.fop.apps.FOPException
 java.lang.NullPointerException; Screen XSL:FO text was:
 {code}
 I think when you try to send the report by email you get a related error (did 
 not check). These error has been reported at OFBIZ-6076
 {code}
 015-02-16 08:00:32,405 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 139:40)
 015-02-16 08:00:32,407 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 161:81)
 015-02-16 08:00:32,410 |http-bio-8443-exec-9 |FOUserAgent   
 |W| The following feature isn't implemented by Apache FOP, yet: 
 table-layout=auto (on fo:table) (See position 190:39)
 015-02-16 08:00:32,413 |http-bio-8443-exec-9 |FOUserAgent   
 |W| fo:table-body is missing child elements. Required content model: 
 marker* (table-row+|table-cell+) (See position 209:32)
 015-02-16 08:00:32,414 |http-bio-8443-exec-9 |EmailServices 
 |E| Error rendering PDF attachment for email: 
 org.apache.fop.apps.FOPExceptionava.lang.NullPointerException
 org.apache.fop.apps.FOPException
at 
 org.ofbiz.webapp.view.ApacheFopWorker.transform(ApacheFopWorker.java:160) 
 ~[ofbiz-webapp.jar:?]
at 
 org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:533)
  [ofbiz-common.jar:?]
 {code}   
 Same error with stable demo, I did not test with R14.12, but I suppose it's 
 there also. Both works in the old demo (R12.04).



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


[jira] [Updated] (OFBIZ-5970) Form RequestRolesInfo is not being accessed from Screens

2015-04-11 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-5970:

Affects Version/s: (was: Release Branch 13.07)

 Form RequestRolesInfo is not being accessed from Screens
 

 Key: OFBIZ-5970
 URL: https://issues.apache.org/jira/browse/OFBIZ-5970
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: Release Branch 11.04, Release Branch 12.04, Trunk
Reporter: Pierre Smits
  Labels: customer, request, role, roles

 The form exists, but it isn't referenced in a Screen in ProjectMgr.



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


[jira] [Commented] (OFBIZ-6207) Anyone can view any Request or Quote

2015-04-11 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14490903#comment-14490903
 ] 

Deepak Dixit commented on OFBIZ-6207:
-

Hi [~adri...@hlmksw.com],

I think this is different case, In this case if any request or quote does not 
belongs to logged in user then also he can view request/quote by changing the 
id from url. 
If we add VIEW permission check then also use can able to view others 
request/quote as well.

It can't be handle by if-service-permission. 
For order view (ecommerce) logged in party id comparison has been checked in 
orderstatus.groovy. If logged in party exist in any order role then only user 
can view the order.

We can create common service to perform check if order/request/quote belongs to 
logged in part then only user can view else error message will be displayed.


 Anyone can view any Request or Quote
 

 Key: OFBIZ-6207
 URL: https://issues.apache.org/jira/browse/OFBIZ-6207
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk, 13.07.01
Reporter: Forrest Rae
Assignee: Deepak Dixit
Priority: Critical
  Labels: security
 Attachments: OFBIZ-6207-fourth-attempt.patch


 This is a security bug in the ecommerce application.  Anyone can view any 
 quote or request in the system regardless of the associated partyId.  They 
 can do this via URL parameter manipulation.
 Reproduction:
 1) Login to the ecommerce application as DemoCustomer.
 2) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9000
  to view your own request.
 3) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9001
  to view DemoCustAgent's request.
 4) Navigate to 
 http://demo-stable-ofbiz.apache.org/ecommerce/control/ViewRequest?custRequestId=9002
  to view DemoCustomer2's request.
 Same goes for Quotes, although there are no quotes in the Demo data.  The 
 attach patch fixes this issue.
 Would like this issue back ported to release 13.07 please.



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


<    5   6   7   8   9   10   11   12   13   14   >