[jira] [Updated] (OFBIZ-6276) Fix deprecation issues in framework/entity

2015-05-16 Thread Martin Becker (JIRA)

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

Martin Becker updated OFBIZ-6276:
-
Attachment: OFBIZ-6276-variant-2.patch
OFBIZ-6276-variant-1.patch

It has to be ensured, that with the future removal of the doCacheClear 
parameter from the method signature:

from
{{storeAll(List values, boolean doCacheClear, boolean 
createDummyFks)}}
to
{{storeAll(List values, boolean createDummyFks)}}

the signature afterwards does not match the old signature with different 
meaning:  

{{storeAll(List values, boolean doCacheClear)}}

where legacy code would get no compiler error and may miss the changed meaning.


I implemented two variants of a solution for this:

With the first I renamed the method with the concrete implementation from 
storeAll to storeAllInternal and changed the visibility to private, so there is 
no collision with the other signature with {{List, boolean}} 
params. The createDummyFks function is made public available with a new method 
{{storeAllWithDummyFks}}.

The second variant is simpler and without the need of changed method names, it 
just switches the order of the parameters in the signature, which is not so 
nice in reading the signature but avoids special method name for the 
createDummyFks feature.


The next step for me would be to remove the deprecated code from the Delegator 
implementation in the context of OFBIZ-6273.

> Fix deprecation issues in framework/entity
> --
>
> Key: OFBIZ-6276
> URL: https://issues.apache.org/jira/browse/OFBIZ-6276
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Reporter: Adam Heath
>Priority: Minor
> Attachments: OFBIZ-6276-variant-1.patch, OFBIZ-6276-variant-2.patch
>
>
> It appears that the storeAll() variants are being refactor; basically, the 
> useCache parameter is being removed.  However, this has caused the
> entity engine to have deprecation with itself.



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


Re: [VOTE] [RELEASE] Apache OFBiz 13.07.02 - third attempt

2015-05-16 Thread Pranay Pandey
+1

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Thu, May 14, 2015 at 3:40 PM, Jacopo Cappellato <
jacopo.cappell...@hotwaxsystems.com> wrote:

> Let's try again!
>
> This is the vote thread to release a new bug fix release for the
> release13.07 branch. This new release, "Apache OFBiz 13.07.02" will
> supersede previous releases from the same branch.
>
> The release files can be downloaded from here:
> https://dist.apache.org/repos/dist/dev/ofbiz/
>
> * apache-ofbiz-13.07.02.zip: the release archive
> * apache-ofbiz-13.07.02.zip.md5, apache-ofbiz-13.07.02.zip.sha: hashes
> * apache-ofbiz-13.07.02.zip.asc: the detached signature file
> * KEYS: text file with keys
>
> Please download and test the zip file and its signatures (for instructions
> on testing the signatures see http://www.apache.org/info/verification.html
> ).
>
> Release notes:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310500&version=12328788
>
> Vote:
>
> [ +1] release as Apache OFBiz 13.07.02
> [ -1] do not release
>
> This vote will be open for 5 days.
> For more details about this process please read
> http://www.apache.org/foundation/voting.html
>
> Kind Regards,
>
> Jacopo


Re: About the tutorial

2015-05-16 Thread Pranay Pandey
Thanks Jacques, I have been thinking to rewrite the tutorial. Planning to
start writing the new one shortly, please stay tuned.

This time I am thinking to do it differently-
1. Download and Setup - Clearly outlining system hardware requirements.
2. Developing Custom Apps
3. Customizations to Existing Apps

Also thinking to create videos for the same which can be embedded within
tutorial itself. Depending on preference by the learner he can choose
his/her source of learning OFBiz(Tutorial Doc or Videos).

If you or anyone have recommendations around it, lets discuss on this
thread. I strongly believe the time has come when this tutorial should be
rewritten.


Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Sat, May 9, 2015 at 3:11 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi All, Adrian,
>
> Adrian I have looked at your ApacheCon 15 presentation, good it has been
> advertised on the user ML!
>
> One point, I read:
>
> < “When a screen is split up into multiple templates or screens thedata
> preparation action should be associated only with the individualsmall
> screen
> that it prepares data for. This makes it easier to move templates and
> content
> pieces around and reuse them in many places. “
>
> In other words, the data preparation logic should be contained within the
> screen widget that renders it –including forms, menus, and trees.
>
> But the tutorial found on the Wiki:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> does not follow this best practice –the data preparation is done in the
> screen
> and not in the form that displays the data. Consequently, that form is not
> reusable –it will be empty (not contain any data) if it is used in any
> other  screen.>>
>
> It seems that the Hotwax System contribution policy has changed and this
> is no longer maintained by them (was mostly Pranay).
>
> Pranay, HS team, could you please confirm this tutorial is no longer
> maintained by you and if we should rather link a page on HS blog?
>
> Of course I'm not thinking about only the point Adrian outlined, but in
> general.
>
> Thanks
>
> Jacques
>


[jira] [Issue Comment Deleted] (OFBIZ-6212) Accounting reports fail

2015-05-16 Thread Aditya Patwa (JIRA)

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

Aditya Patwa updated OFBIZ-6212:

Comment: was deleted

(was: #1 This patch fixes the typos and syntax errors due to which the errors 
mentioned in the '1st' report were generated. 
#2 Changed the decorator to 'main-decorator' from 'CommonFinAccountDecorator' 
to fix the ScreenRenderedException as the screen resource was not located.)

> Accounting reports fail
> ---
>
> Key: OFBIZ-6212
> URL: https://issues.apache.org/jira/browse/OFBIZ-6212
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, specialpurpose/birt
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>
> http://demo-trunk-ofbiz.apache.org/accounting/control/FinancialSummaryReportOptions?organizationPartyId=Company
> 1st report: groovy file error, others miss request-maps
> http://demo-trunk-ofbiz.apache.org/accounting/control/TrialBalance
> {noformat}
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen 
> [component://accounting/widget/ReportFinancialSummaryScreens.xml#TrialBalance]:
>  java.lang.IllegalArgumentException:
> Error calling service with name getPartyAccountingPreferences: 
> org.ofbiz.service.ServiceValidationException:
> Le paramètre requis suivant manque : 
> [getPartyAccountingPreferences.organizationPartyId]
> {noformat}
> The followings are Birt issues
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> They work in stable demo, there is no Birt there
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> These issues should be addressed separately in sub-tasks each, I have not 
> time to do that yet...



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


[jira] [Updated] (OFBIZ-6212) Accounting reports fail

2015-05-16 Thread Aditya Patwa (JIRA)

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

Aditya Patwa updated OFBIZ-6212:

Attachment: (was: OFBIZ-6212.patch)

> Accounting reports fail
> ---
>
> Key: OFBIZ-6212
> URL: https://issues.apache.org/jira/browse/OFBIZ-6212
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, specialpurpose/birt
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>
> http://demo-trunk-ofbiz.apache.org/accounting/control/FinancialSummaryReportOptions?organizationPartyId=Company
> 1st report: groovy file error, others miss request-maps
> http://demo-trunk-ofbiz.apache.org/accounting/control/TrialBalance
> {noformat}
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen 
> [component://accounting/widget/ReportFinancialSummaryScreens.xml#TrialBalance]:
>  java.lang.IllegalArgumentException:
> Error calling service with name getPartyAccountingPreferences: 
> org.ofbiz.service.ServiceValidationException:
> Le paramètre requis suivant manque : 
> [getPartyAccountingPreferences.organizationPartyId]
> {noformat}
> The followings are Birt issues
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> They work in stable demo, there is no Birt there
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> These issues should be addressed separately in sub-tasks each, I have not 
> time to do that yet...



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


[jira] [Updated] (OFBIZ-6212) Accounting reports fail

2015-05-16 Thread Aditya Patwa (JIRA)

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

Aditya Patwa updated OFBIZ-6212:

Attachment: OFBIZ-6212.patch

#1 This patch fixes the typos and syntax errors due to which the errors 
mentioned in the '1st' report were generated. 
#2 Changed the decorator to 'main-decorator' from 'CommonFinAccountDecorator' 
to fix the ScreenRenderedException as the screen resource was not located.

> Accounting reports fail
> ---
>
> Key: OFBIZ-6212
> URL: https://issues.apache.org/jira/browse/OFBIZ-6212
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, specialpurpose/birt
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
> Attachments: OFBIZ-6212.patch
>
>
> http://demo-trunk-ofbiz.apache.org/accounting/control/FinancialSummaryReportOptions?organizationPartyId=Company
> 1st report: groovy file error, others miss request-maps
> http://demo-trunk-ofbiz.apache.org/accounting/control/TrialBalance
> {noformat}
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen 
> [component://accounting/widget/ReportFinancialSummaryScreens.xml#TrialBalance]:
>  java.lang.IllegalArgumentException:
> Error calling service with name getPartyAccountingPreferences: 
> org.ofbiz.service.ServiceValidationException:
> Le paramètre requis suivant manque : 
> [getPartyAccountingPreferences.organizationPartyId]
> {noformat}
> The followings are Birt issues
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-trunk-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> They work in stable demo, there is no Birt there
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
>  (PFD export)
> 
> http://demo-stable-ofbiz.apache.org/accounting/control/BalanceSheet?organizationPartyId=Company
>  (PFD export)
> These issues should be addressed separately in sub-tasks each, I have not 
> time to do that yet...



--
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-tabpanel&focusedCommentId=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-tabpanel&focusedCommentId=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-5971) Form ListRequestItemNotes is not referenced in Screens

2015-05-16 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-5971:
-

Thanks Pierre.

We have also checked it, this form is not used anywhere. We can think of 
removing it or reusing it for right purpose if any. So, what should be the 
right approach to do it. Lets discuss it with other community members.

Please share thoughts here.

> Form ListRequestItemNotes is not referenced in Screens
> --
>
> Key: OFBIZ-5971
> URL: https://issues.apache.org/jira/browse/OFBIZ-5971
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/projectmgr
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>  Labels: customer, note, request
>
> The form exists, but isn't referenced in a Screen in Projectmgr.



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


[jira] [Updated] (OFBIZ-6305) German translations for various applications

2015-05-16 Thread Martin Becker (JIRA)

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

Martin Becker updated OFBIZ-6305:
-
Attachment: OFBIZ-6305-PartyComponent.patch.html

Next translations, now for Party component...

> German translations for various applications
> 
>
> Key: OFBIZ-6305
> URL: https://issues.apache.org/jira/browse/OFBIZ-6305
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL APPLICATIONS
>Affects Versions: Upcoming Branch
>Reporter: Martin Becker
>Assignee: Christian Geisert
> Attachments: OFBIZ-6305-PartyComponent.patch.html, 
> OFBIZ-6305-ProductEntityLabels.patch, OFBIZ-6305-ProductErrorUiLabels.patch, 
> OFBIZ-6305-ProductUiLabels.patch
>
>
> We would like to contribute missing german translations for the OFBiz 
> applications based on the current trunk. There will arrive patches for this 
> per application within this ticket.



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


buildbot success in ASF Buildbot on ofbiz-branch14

2015-05-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-branch14 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch14/builds/123

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz14-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release14.12] 1679741
Blamelist: deepak

Build succeeded!

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on ofbiz-trunk

2015-05-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-trunk while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-trunk/builds/879

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/trunk] 1679723
Blamelist: jleroux

Build succeeded!

Sincerely,
 -The Buildbot





[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] [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] [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] [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-tabpanel&focusedCommentId=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-6025) Bug at ViewFacilityInventoryByProduct

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6025.
--
Resolution: Cannot Reproduce
  Assignee: Jacques Le Roux

Seems to work now indeed :)

> Bug at ViewFacilityInventoryByProduct
> -
>
> Key: OFBIZ-6025
> URL: https://issues.apache.org/jira/browse/OFBIZ-6025
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>
> Bug at facility/control/ViewFacilityInventoryByProduct when pressing the find 
> button, works in stable



--
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-tabpanel&focusedCommentId=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] [Updated] (OFBIZ-6381) Create theme for EC_DEFAULT

2015-05-16 Thread Pierre Smits (JIRA)

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

Pierre Smits updated OFBIZ-6381:

Description: Currently a theme for the standard e-commerce theme is 
missing. Elements for this are in the e-commerce component.

> Create theme for EC_DEFAULT
> ---
>
> Key: OFBIZ-6381
> URL: https://issues.apache.org/jira/browse/OFBIZ-6381
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: themes
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>
> Currently a theme for the standard e-commerce theme is missing. Elements for 
> this are in the e-commerce component.



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


buildbot failure in ASF Buildbot on ofbiz-branch14

2015-05-16 Thread buildbot
The Buildbot has detected a new failure on builder ofbiz-branch14 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch14/builds/122

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz14-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release14.12] 1679733
Blamelist: deepak

BUILD FAILED: failed

Sincerely,
 -The Buildbot





[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] [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-tabpanel&focusedCommentId=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)


buildbot success in ASF Buildbot on ofbiz-branch14

2015-05-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-branch14 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch14/builds/121

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz14-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release14.12] 1679729
Blamelist: deepak,jleroux

Build succeeded!

Sincerely,
 -The Buildbot





[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)


buildbot success in ASF Buildbot on ofbiz-branch13

2015-05-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-branch13 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch13/builds/307

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz13-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release13.07] 1679725
Blamelist: deepak,jleroux

Build succeeded!

Sincerely,
 -The Buildbot





[jira] [Commented] (OFBIZ-6025) Bug at ViewFacilityInventoryByProduct

2015-05-16 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-6025:
-

I tried hitting link given by Jacques and its working fine. Also tested the 
same page on local machine and its working. I think we are good to close this 
issue.

> Bug at ViewFacilityInventoryByProduct
> -
>
> Key: OFBIZ-6025
> URL: https://issues.apache.org/jira/browse/OFBIZ-6025
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>
> Bug at facility/control/ViewFacilityInventoryByProduct when pressing the find 
> button, works in stable



--
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-tabpanel&focusedCommentId=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] [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-tabpanel&focusedCommentId=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] [Commented] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6380:


This http://markmail.org/message/wec5g2coydb57nmq

> 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] [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-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6380:


Thanks Deepak,

I think so, but we need to check more, because IIRW  log4j-to-slf4j-2.2.jar was 
used by one of our externals...

> 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-tabpanel&focusedCommentId=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] [Commented] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6380:


Rerverted respectively at
revision: 1679723  
revision: 1679726  
revision: 1679725


> 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-tabpanel&focusedCommentId=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-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6380:


Moreover I forgot to update the .classpath file :/

> 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] [Reopened] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reopened OFBIZ-6380:


Thanks guys,

Indeed same here, I did not find any warning in the 2.3 changelog so I thought 
it was straightforward, and simply replaced file.

I revert and will see that later...

> 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-6257) Upload function does not work on Party Manager.

2015-05-16 Thread Supachai Chaima-ngua (JIRA)

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

Supachai Chaima-ngua commented on OFBIZ-6257:
-

You are welcome. We fixed for everybody. (:

> 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] [Commented] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Rong Nguyen (JIRA)

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

Rong Nguyen commented on OFBIZ-6380:


I have the same issue when executing 'load-demo':

load-demo:
 [java] Start.java using configuration file 
org/ofbiz/base/start/load-data.properties
 [java] Set OFBIZ_HOME to - /run/media/rongnguyen/work/OFBiz/source/ofbiz
 [java] Admin socket not configured; set to port 0
 [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
 [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
 [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
further details.
 [java] SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
 [java] SLF4J: Defaulting to no-operation MDCAdapter implementation.
 [java] SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for 
further details.
 [java] Exception in thread "main" java.lang.ExceptionInInitializerError
 [java] at 
org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:379)
 [java] at 
javolution.xml.sax.XMLReaderImpl.parseAll(XMLReaderImpl.java:337)
 [java] at 
javolution.xml.sax.XMLReaderImpl.parse(XMLReaderImpl.java:100)
 [java] at 
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:296)
 [java] at 
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:248)
 [java] at 
org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:257)
 [java] at 
org.ofbiz.entityext.data.EntityDataLoadContainer.loadContainer(EntityDataLoadContainer.java:488)
 [java] at 
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:243)
 [java] at 
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
 [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:408)
 [java] at org.ofbiz.base.start.Start.start(Start.java:434)
 [java] at org.ofbiz.base.start.Start.main(Start.java:135)
 [java] Caused by: java.lang.ClassCastException: 
org.apache.logging.slf4j.SLF4JLoggerContext cannot be cast to 
org.apache.logging.log4j.core.LoggerContext
 [java] at org.apache.log4j.Logger.getLogger(Logger.java:37)
 [java] at 
freemarker.log._Log4jLoggerFactory.getLogger(_Log4jLoggerFactory.java:29)
 [java] at freemarker.log.Logger.getLogger(Logger.java:357)
 [java] at 
freemarker.template.Configuration.(Configuration.java:125)
 [java] ... 12 more
 [java] Exception in thread "Thread-0" java.lang.NoSuchMethodError: 
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
 [java] at 
org.ofbiz.service.ServiceContainer.getAllDispatcherNames(ServiceContainer.java:111)
 [java] at 
org.ofbiz.service.ServiceContainer.stop(ServiceContainer.java:69)
 [java] at 
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:264)
 [java] at org.ofbiz.base.start.Start.shutdownServer(Start.java:384)
 [java] at org.ofbiz.base.start.Start$1.run(Start.java:231)
 [java] Java Result: 1


> 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-tabpanel&focusedCommentId=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] [Created] (OFBIZ-6383) Remove EC_DEFAULT theme elements

2015-05-16 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6383:
---

 Summary: Remove EC_DEFAULT theme elements
 Key: OFBIZ-6383
 URL: https://issues.apache.org/jira/browse/OFBIZ-6383
 Project: OFBiz
  Issue Type: Sub-task
  Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits






--
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] [Commented] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Nitesh Goyal (JIRA)

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

Nitesh Goyal commented on OFBIZ-6382:
-

Thanks Deepak.

> 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] [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-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-tabpanel&focusedCommentId=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] [Updated] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Nitesh Goyal (JIRA)

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

Nitesh Goyal updated OFBIZ-6382:

Attachment: OFBIZ-6382.patch

> 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
> 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-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] [Created] (OFBIZ-6382) Create PO flow is broken

2015-05-16 Thread Nitesh Goyal (JIRA)
Nitesh Goyal created OFBIZ-6382:
---

 Summary: 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


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] [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] [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-tabpanel&focusedCommentId=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)


Re: Widget or not Widget? [Was Re: Addons for OFBiz]

2015-05-16 Thread Jacopo Cappellato
The widgets will always have some limitations; in fact they are intended to be 
a simplified "language" for defining screen elements with some common patterns; 
these "limitations" have been acceptable (and sometimes still are) in the 
context of ERP applications.
But there is one aspect I really don't like about them; our best practices are 
(and have been):
1) use the widgets for backend screens when possible
2) otherwise implement the screenlet with ftl template

The problem I see with the above approach is that widget definition language is 
completely different from Freemarker and the OFBiz developer has to master two 
languages when building user interfaces.

A similar issue (but I know it is off topic) is related to business logic; our 
best practices say:
1) implement Minilang code if possible
2) otherwise use Java

Again, Minilang and Java are completely different beasts and this require that 
the developer master a broader set of skills.
The issue with business logic can be now addressed with the adoption of the 
OFBiz DSL for Groovy: use the DSL when possible and mix it with Groovy code 
using the OFBiz api already used in Java services; the DSL and plan Groovy code 
cohexist nicely in the same script/file making the definition of business logic 
more consistent.

In my opinion our widget 2.0 should be something like this: a library of 
elements used in an ftl file where you could embed also plan Freemarker or html 
code.

Jacopo


What I don't like about the widgets is the fact that the "language" to define 
them is completely di


On May 16, 2015, at 10:21 AM, Taher Alkhateeb  
wrote:

> Hi everyone, 
> 
> There is, in my opinion, one main existing flaw in the widget system which is 
> ease of customization / extension. 
> 
> Adding a new HTML element or modifying the behavior of forms should not be as 
> difficult as it is right now. I remember having to track the Java code on 
> building the models from XML and altering the xsd files and whatnot. I like 
> the idea of widgets being platform independent but realistic implementations 
> seem to be hard, especially for form widgets. 
> 
> So, to avoid replacing widgets with HTML code, I need an easy way to replace 
> "" and an easy way to add custom components to form 
> widgets. Perhaps something like a  element that I can easily 
> link to an FTL template without going through Java or XSD files. 
> 
> my 2 cents. 
> 
> Taher Alkhateeb 
> 
> - Original Message -
> 
> From: "Jacques Le Roux"  
> To: dev@ofbiz.apache.org 
> Sent: Saturday, 16 May, 2015 10:38:50 AM 
> Subject: Re: Widget or not Widget? [Was Re: Addons for OFBiz] 
> 
> Le 16/05/2015 04:09, Ean Schuessler a écrit : 
>>> From: "Jacques Le Roux"  
>>> Subject: Widget or not Widget? [Was Re: Addons for OFBiz] 
>>> Actually maybe I'm misunderstanding you and I also want to clarify with 
>>> everybody. I will try to be brief and right to the point! 
>>> 
>>> Do you (we) want to replace the widgets by something like Ean and Anil 
>>> proposed 
>>> many times, or do we want to improve them using these new tools? 
>> I did not propose that we "replace the widgets". I proposed that we 
>> re-implement the widget rendering in Javascript on the client. There is 
>> a big difference. 
>> 
> Thanks for clarifying Ean, 
> 
> So it seems we are all (I guess Anil wants the same) on the same page and 
> want to improve the widget rendering, not replace it. 
> 
> Jacques 
> 
> 



[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] [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-tabpanel&focusedCommentId=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)


buildbot failure in ASF Buildbot on ofbiz-branch13

2015-05-16 Thread buildbot
The Buildbot has detected a new failure on builder ofbiz-branch13 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch13/builds/306

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz13-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release13.07] 1679704
Blamelist: jleroux

BUILD FAILED: failed compile_1

Sincerely,
 -The Buildbot





buildbot exception in ASF Buildbot on ofbiz-branch14

2015-05-16 Thread buildbot
The Buildbot has detected a build exception on builder ofbiz-branch14 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch14/builds/118

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz14-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release14.12] 1679703
Blamelist: jleroux

BUILD FAILED: exception compile upload_1

Sincerely,
 -The Buildbot





[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] [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-tabpanel&focusedCommentId=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] [Commented] (OFBIZ-6145) Purchase return shipment issuance greater than ATP error

2015-05-16 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-6145:
-

The idea of an inspection solution is valid. This need to be thought through...

The work around is also valid until an automated process regarding purchase 
returns and inventory reservation is in place.

> Purchase return shipment issuance greater than ATP error
> 
>
> Key: OFBIZ-6145
> URL: https://issues.apache.org/jira/browse/OFBIZ-6145
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Nicolas Malin
> Attachments: OFBIZ-6145.patch
>
>
> This error occurred when issuing received purchase order inventory to a 
> return shipment:
> Not issuing Order Item Ship Group Inventory Reservation to shipment 10096 
> because the quantity to issue 1 is greater than the quantity left to issue 
> for order order item inventoryItem 
> IssuanceServices.xml issueInventoryItemToShipment service checks that the 
> inventoryItem ATP is greater than the return quantity submitted which fails 
> when sales backorder qty of the product is greater than the purchase receipt 
> qty.
> To reproduce:
> 1.  Create a sales order for 100 of a product
> 2.  Create a purchase order for 10 of the same product
> 3.  Receive the purchase order inventory
> 4.  Create a purchase order return then accept it
> 5.  Click the "Create Return Shipment" button that appears once the return is 
> accepted
> 6.  Update the shipment to create and navigate to the shipment order items 
> page
> 7.  Issue qty of the inventory item received for purchase order to get the 
> error



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


[jira] [Created] (OFBIZ-6381) Create theme for EC_DEFAULT

2015-05-16 Thread Pierre Smits (JIRA)
Pierre Smits created OFBIZ-6381:
---

 Summary: Create theme for EC_DEFAULT
 Key: OFBIZ-6381
 URL: https://issues.apache.org/jira/browse/OFBIZ-6381
 Project: OFBiz
  Issue Type: Sub-task
  Components: themes
Reporter: Pierre Smits






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


[jira] [Assigned] (OFBIZ-6381) Create theme for EC_DEFAULT

2015-05-16 Thread Pierre Smits (JIRA)

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

Pierre Smits reassigned OFBIZ-6381:
---

Assignee: Pierre Smits

> Create theme for EC_DEFAULT
> ---
>
> Key: OFBIZ-6381
> URL: https://issues.apache.org/jira/browse/OFBIZ-6381
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: themes
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>




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


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

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6380.
--
Resolution: Done

Done in

trunk r1679702  
R14.12 r1679703  
R13.07 r1679704  



> 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] [Created] (OFBIZ-6380) Update Log4j 2.2 to 2.3

2015-05-16 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-6380:
--

 Summary: 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: 13.07.01, Trunk, Release Branch 14.12
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)


buildbot success in ASF Buildbot on ofbiz-branch12

2015-05-16 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-branch12 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch12/builds/206

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz12-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release12.04] 1679700
Blamelist: jleroux

Build succeeded!

Sincerely,
 -The Buildbot





Re: Widget or not Widget? [Was Re: Addons for OFBiz]

2015-05-16 Thread Taher Alkhateeb
Hi everyone, 

There is, in my opinion, one main existing flaw in the widget system which is 
ease of customization / extension. 

Adding a new HTML element or modifying the behavior of forms should not be as 
difficult as it is right now. I remember having to track the Java code on 
building the models from XML and altering the xsd files and whatnot. I like the 
idea of widgets being platform independent but realistic implementations seem 
to be hard, especially for form widgets. 

So, to avoid replacing widgets with HTML code, I need an easy way to replace 
"" and an easy way to add custom components to form 
widgets. Perhaps something like a  element that I can easily 
link to an FTL template without going through Java or XSD files. 

my 2 cents. 

Taher Alkhateeb 

- Original Message -

From: "Jacques Le Roux"  
To: dev@ofbiz.apache.org 
Sent: Saturday, 16 May, 2015 10:38:50 AM 
Subject: Re: Widget or not Widget? [Was Re: Addons for OFBiz] 

Le 16/05/2015 04:09, Ean Schuessler a écrit : 
>> From: "Jacques Le Roux"  
>> Subject: Widget or not Widget? [Was Re: Addons for OFBiz] 
>> Actually maybe I'm misunderstanding you and I also want to clarify with 
>> everybody. I will try to be brief and right to the point! 
>> 
>> Do you (we) want to replace the widgets by something like Ean and Anil 
>> proposed 
>> many times, or do we want to improve them using these new tools? 
> I did not propose that we "replace the widgets". I proposed that we 
> re-implement the widget rendering in Javascript on the client. There is 
> a big difference. 
> 
Thanks for clarifying Ean, 

So it seems we are all (I guess Anil wants the same) on the same page and want 
to improve the widget rendering, not replace it. 

Jacques 




[jira] [Assigned] (OFBIZ-6340) Replacing bsh code with groovy Code in ORDER screens, forms and menus

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-6340:
--

Assignee: Jacques Le Roux  (was: Pierre Smits)

> Replacing bsh code with groovy Code in ORDER screens, forms and menus
> -
>
> Key: OFBIZ-6340
> URL: https://issues.apache.org/jira/browse/OFBIZ-6340
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6340-BSH2Groovy-Order.patch
>
>




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


[jira] [Closed] (OFBIZ-6340) Replacing bsh code with groovy Code in ORDER screens, forms and menus

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6340.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.02
   12.04.06
   14.12.01

Thanks Pierre,

The remaining part of your patch after OFBIZ-6351 is in 
trunk r1679697  
R14.12 r1679698
R13.07 r1679698
R12.04 r1679700 (partly conflict in ReturnForms.xml)




> Replacing bsh code with groovy Code in ORDER screens, forms and menus
> -
>
> Key: OFBIZ-6340
> URL: https://issues.apache.org/jira/browse/OFBIZ-6340
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: order
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6340-BSH2Groovy-Order.patch
>
>




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


buildbot failure in ASF Buildbot on ofbiz-branch12

2015-05-16 Thread buildbot
The Buildbot has detected a new failure on builder ofbiz-branch12 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch12/builds/205

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz12-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/branches/release12.04] 1679696
Blamelist: jleroux

BUILD FAILED: failed compile_1

Sincerely,
 -The Buildbot





buildbot exception in ASF Buildbot on ofbiz-trunk

2015-05-16 Thread buildbot
The Buildbot has detected a build exception on builder ofbiz-trunk while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-trunk/builds/874

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: lares_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-ofbiz-commit' 
triggered this build
Build Source Stamp: [branch ofbiz/trunk] 1679697
Blamelist: jleroux

BUILD FAILED: exception upload_3

Sincerely,
 -The Buildbot





Re: [jira] [Commented] (OFBIZ-6336) Problem about return item in POS component

2015-05-16 Thread Hoan dang van
Hi Divesh
I don't create return in OFBiz/POS. Actually I only create a shopping cart
with negative quantity of product C

On Sat, May 16, 2015 at 2:39 PM, Divesh Dutta (JIRA) 
wrote:

>
> [
> https://issues.apache.org/jira/browse/OFBIZ-6336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546624#comment-14546624
> ]
>
> Divesh Dutta commented on OFBIZ-6336:
> -
>
> I am not sure about the problem you are mentioning. Or steps are not much
> clear to me. When you say "then I return C" , do you mean you create return
> in OFBiz/POS? or you mean to say that you add product A, B, C in cart and
> then you delete product C from cart?
>
>
>
> > Problem about return item in POS component
> > --
> >
> > Key: OFBIZ-6336
> > URL: https://issues.apache.org/jira/browse/OFBIZ-6336
> > Project: OFBiz
> >  Issue Type: Bug
> >  Components: accounting, order, specialpurpose/pos
> >Affects Versions: Trunk
> >Reporter: Hoan Dang Van
> >
> > In POS component, I bought  A, B product have price 50$ and 60$
> respectively, then I return C product that price of it is 30$ and create
> order. The order has grand total is 80$. Howerver, When I check invoice of
> that order, I didn't saw that the C product is returned.
> > Can everybody tell me how I solve that problem?
> > Thanks
>
>
>
> --
> 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 Jacques Le Roux (JIRA)

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

Jacques Le Roux updated OFBIZ-6351:
---
Fix Version/s: 12.04.06

> 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] [Commented] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6351:


Thanks Pierre for the complete patch,

I backported r1679689 in R12.04 at r1679696

> 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] [Closed] (OFBIZ-6351) ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

2015-05-16 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6351.
--

> 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] [Commented] (OFBIZ-6103) MyPortalDemoData.xml doesn't load in demo site

2015-05-16 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-6103:
-

When I try loading this file from webtools it works fine for me. Also I tested 
it by ant command and it worked. I think is fixed in latest trunk. [~pfm.smits] 
, Could you please confirm this and if its working for you as well, then please 
close this task.

> MyPortalDemoData.xml doesn't load in demo site
> --
>
> Key: OFBIZ-6103
> URL: https://issues.apache.org/jira/browse/OFBIZ-6103
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/myportal
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> When doing an load reader = demo in demo-trunk-ofbiz.apache.org in webtools 
> the loading of MyPortalDemoData.xml fails.



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


[jira] [Commented] (OFBIZ-6102) ProjectMgrDemoData.xml doesn't load in demo site

2015-05-16 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-6102:
-

When I try loading this file from webtools it works fine for me. Also I tested 
it by ant command and it worked. I think is fixed in latest trunk. [~pfm.smits] 
, Could you please confirm this and if its working for you as well, then please 
close this task. 

> ProjectMgrDemoData.xml doesn't load in demo site
> 
>
> Key: OFBIZ-6102
> URL: https://issues.apache.org/jira/browse/OFBIZ-6102
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/projectmgr
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> When doing an load reader = demo in demo-trunk-ofbiz.apache.org in webtools 
> the loading of ProjectMgrDemoData.xml fails.



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


[jira] [Commented] (OFBIZ-6336) Problem about return item in POS component

2015-05-16 Thread Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-6336:
-

I am not sure about the problem you are mentioning. Or steps are not much clear 
to me. When you say "then I return C" , do you mean you create return in 
OFBiz/POS? or you mean to say that you add product A, B, C in cart and then you 
delete product C from cart? 



> Problem about return item in POS component
> --
>
> Key: OFBIZ-6336
> URL: https://issues.apache.org/jira/browse/OFBIZ-6336
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting, order, specialpurpose/pos
>Affects Versions: Trunk
>Reporter: Hoan Dang Van
>
> In POS component, I bought  A, B product have price 50$ and 60$ respectively, 
> then I return C product that price of it is 30$ and create order. The order 
> has grand total is 80$. Howerver, When I check invoice of that order, I 
> didn't saw that the C product is returned. 
> Can everybody tell me how I solve that problem?
> Thanks



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


Re: Widget or not Widget? [Was Re: Addons for OFBiz]

2015-05-16 Thread Jacques Le Roux

Le 16/05/2015 04:09, Ean Schuessler a écrit :

From: "Jacques Le Roux" 
Subject: Widget or not Widget? [Was Re: Addons for OFBiz]
Actually maybe I'm misunderstanding you and I also want to clarify with
everybody. I will try to be brief and right to the point!

Do you (we) want to replace the widgets by something like Ean and Anil proposed
many times, or do we want to improve them using these new tools?

I did not propose that we "replace the widgets". I proposed that we
re-implement the widget rendering in Javascript on the client. There is
a big difference.


Thanks for clarifying Ean,

So it seems we are all (I guess Anil wants the same) on the same page and want 
to improve the widget rendering, not replace it.

Jacques



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

2015-05-16 Thread Divesh Dutta (JIRA)

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

Divesh Dutta updated OFBIZ-6216:

Attachment: OFBIZ-6216.patch

Here is the patch to fix the issue.

> 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
>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 Divesh Dutta (JIRA)

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

Divesh Dutta commented on OFBIZ-6216:
-

As Rishi mentioned, these error will never come while loading data from ant 
commands because these files  do not have entry in ofbiz-component.xml . Also 
these files are only used in method createProductStoreWithDefaultSetting in 
SetupEvents.xml . These files are not made to imported directly from 
https://localhost:8443/webtools/control/entityImport . 

Actually in createProductStoreWithDefaultSetting method, productStoreId will be 
generated dynamically and stored in variable PRODUCTSTOREID. And in code

{code}

{code}

productStoreId="PRODUCTSTOREID is not a value itself but its expected to take 
value from variable PRODUCTSTOREID and assign it to a field productStoreId of 
ProductStorePaymentSetting table. 

When you go to https://localhost:8443/ofbizsetup/control/main , you can set up 
store with all the default settings. For this purpose, ProductStoreData.xml 
file have the template for creating the store. 

Now to address the original issue, we can use NEXT_DAY_AIR instead of NEXT_DAY 
in ProductStoreData.xml. NEXT_DAY_AIR have entry in ShippingData.xml

> 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
>Priority: Trivial
>
> 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)