Re: Start.java Issue

2015-04-18 Thread Adrian Crum

I will create a Jira issue and supply a patch for review.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/19/2015 7:13 AM, Jacopo Cappellato wrote:


On Apr 18, 2015, at 7:38 PM, Adrian Crum  
wrote:


I checked the commit logs - the double parsing was introduced in rev 1633182.



yes, and no. I did that commit and it was a good enhancement: before that, the 
start component, was parsing the filesystem and was adding to the classpath all 
the jars (including the ones from disabled components).
I introduced the additional parsing to avoid this (and with that commit I could 
remove a useless, if not problematic, Classloader) but I agree that with a 
refactoring we could optimize the code more.
I would appreciate if you could share some notes about how you would like to 
proceed (as there are different ways and some may be better that others).

Jacopo

PS: I am not asking the patch for RTC, I am just asking some details about the 
refactoring you have in mind


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 6:12 PM, Adrian Crum wrote:

I spent the day looking through the OFBiz startup code to see if there
is any way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of
ofbiz-component.xml files, parses them, and builds a class path based on
their contents. Then Start.java loads the components using
ComponentContainer.java, and that class also parses ofbiz-component.xml
files. So the ofbiz-component.xml files are parsed twice.

I would like to redesign the component loading a bit to eliminate the
double parsing.

What do you think?






Re: Start.java Issue

2015-04-18 Thread Jacopo Cappellato

On Apr 18, 2015, at 7:38 PM, Adrian Crum  
wrote:

> I checked the commit logs - the double parsing was introduced in rev 1633182.
> 

yes, and no. I did that commit and it was a good enhancement: before that, the 
start component, was parsing the filesystem and was adding to the classpath all 
the jars (including the ones from disabled components).
I introduced the additional parsing to avoid this (and with that commit I could 
remove a useless, if not problematic, Classloader) but I agree that with a 
refactoring we could optimize the code more.
I would appreciate if you could share some notes about how you would like to 
proceed (as there are different ways and some may be better that others).

Jacopo

PS: I am not asking the patch for RTC, I am just asking some details about the 
refactoring you have in mind

> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
> 
> On 4/18/2015 6:12 PM, Adrian Crum wrote:
>> I spent the day looking through the OFBiz startup code to see if there
>> is any way we can shorten the startup time.
>> 
>> Something I noticed that seems odd...
>> 
>> Start.java searches the OFBiz folders for all instances of
>> ofbiz-component.xml files, parses them, and builds a class path based on
>> their contents. Then Start.java loads the components using
>> ComponentContainer.java, and that class also parses ofbiz-component.xml
>> files. So the ofbiz-component.xml files are parsed twice.
>> 
>> I would like to redesign the component loading a bit to eliminate the
>> double parsing.
>> 
>> What do you think?
>> 
>> 



[jira] [Commented] (OFBIZ-1607) let the ofbiz work with db2

2015-04-18 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-1607:
-

The mail thread below is relevant. It seems that it has been achieved in a PoC 
(Proof of Concept).

http://ofbiz.markmail.org/message/dgdiybxpwkpo2gln

> let the ofbiz work with db2
> ---
>
> Key: OFBIZ-1607
> URL: https://issues.apache.org/jira/browse/OFBIZ-1607
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
> Environment: db2 v9.1.0.356
>Reporter: WeizhanGuo
> Attachments: contentForm.diff, entityFordb2.diff
>
>   Original Estimate: 40m
>  Remaining Estimate: 40m
>
> create the db2filedtype file ; 
> change the seed/demo data to fixed the db2 requirement;
> change some relation define if needed;
> others



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


Re: svn commit: r1674587 - in /ofbiz/trunk/applications/accounting: webapp/accounting/WEB-INF/controller.xml widget/TaxAuthorityForms.xml widget/TaxAuthorityMenus.xml widget/TaxAuthorityScreens.xml

2015-04-18 Thread Adrian Crum

Don't forget that  is now a .

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 11:48 PM, jler...@apache.org wrote:

Author: jleroux
Date: Sat Apr 18 22:48:01 2015
New Revision: 1674587

URL: http://svn.apache.org/r1674587
Log:
A patch from Pierre Smits "Add a basic VAT report with frequency setting" 
https://issues.apache.org/jira/browse/OFBIZ-6225

This is a 1st stage, we will add more later, notably totals as a 1st step and 
then a more complete report but still basic

Modified:
 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
 ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml
 ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml
 ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml

Modified: 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml?rev=1674587&r1=1674586&r2=1674587&view=diff
==
--- 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml 
(original)
+++ 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml 
Sat Apr 18 22:48:01 2015
@@ -1566,6 +1566,12 @@ under the License.
  
  
  
+
+
+
+
+
+

  
  
@@ -2844,7 +2850,8 @@ under the License.
  
  
  
-
+
+
  
  
  

Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml?rev=1674587&r1=1674586&r2=1674587&view=diff
==
--- ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityForms.xml Sat Apr 18 
22:48:01 2015
@@ -405,4 +405,33 @@ under the License.
  
  
  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
  

Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml?rev=1674587&r1=1674586&r2=1674587&view=diff
==
--- ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityMenus.xml Sat Apr 18 
22:48:01 2015
@@ -59,5 +59,11 @@ under the License.
  
  
  
+
+
+
+
+
+
  
  

Modified: ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml?rev=1674587&r1=1674586&r2=1674587&view=diff
==
--- ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml 
(original)
+++ ofbiz/trunk/applications/accounting/widget/TaxAuthorityScreens.xml Sat Apr 
18 22:48:01 2015
@@ -264,4 +264,28 @@ under the License.
  
  
  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
  




[jira] [Commented] (OFBIZ-5441) URLs in PDF files are not handled correctly

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-5441:


I checked, this is no longer a problem using NoTo fonts, see r1674586

> URLs in PDF files are not handled correctly
> ---
>
> Key: OFBIZ-5441
> URL: https://issues.apache.org/jira/browse/OFBIZ-5441
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> When a PDF file contains a reference to a promotion like when you buy a 
> WG-5569 (Tiny Chrome Widget) and get a free WG- (Micro Chrome Widget). 
> You end with a corresponding invoice containing < your favorite widgets and gizmos and get a free  href="/ecommerce/control/product?category_id=20111&product_id=WG-">Micro
>  Chrome Widget!>> instead of a real link. 
> It's possible to generare a link in a PDF with FOP, we need to
> # dynamically define a fop.base using a ftl transform refs: 
> http://xmlgraphics.apache.org/fop/0.95/configuration.html#general-elements 
> http://xmlgraphics.apache.org/fop/faq.html#MalformedURL
> # here is an example from ProductionRun.fo.ftl
> {code}
> 
>  external-destination="<@ofbizContentUrl>/content/control/ViewBinaryDataResource?dataResourceId=${productionRunContent.drDataResourceId}">${uiLabelMap.CommonView}
> 
> {code}



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


[jira] [Commented] (OFBIZ-6225) Add a basic VAT report with frequency setting

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6225:


Pierre,

Finally I committed your patch at revision: 1674587. We will complete later 
with baby steps, no needs to hurry here...

I just removed the dummy field :)


> Add a basic VAT report with frequency setting
> -
>
> Key: OFBIZ-6225
> URL: https://issues.apache.org/jira/browse/OFBIZ-6225
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>  Labels: reporting, vat
> Attachments: OFBIZ-6225 - Vat control reports.patch, 
> OFBIZ-6225-TaxReport.patch
>
>
> Few years ago I began to work on that. I just stumbled upon it so I note it 
> here to continue when I will get a chance. It would be something basic with a 
> find and single input form, rendered with FOP



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


[jira] [Commented] (OFBIZ-6225) Add a basic VAT report with frequency setting

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6225:


Pierre,

I was ready to apply you VAT patch, but I just hastily reviewed mine (I did not 
when I attached) and I decided I will review all that again, rather than 
committed your patch as is...

Thanks!

> Add a basic VAT report with frequency setting
> -
>
> Key: OFBIZ-6225
> URL: https://issues.apache.org/jira/browse/OFBIZ-6225
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>  Labels: reporting, vat
> Attachments: OFBIZ-6225 - Vat control reports.patch, 
> OFBIZ-6225-TaxReport.patch
>
>
> Few years ago I began to work on that. I just stumbled upon it so I note it 
> here to continue when I will get a chance. It would be something basic with a 
> find and single input form, rendered with FOP



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


[jira] [Comment Edited] (OFBIZ-6225) Add a basic VAT report with frequency setting

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-6225 at 4/18/15 10:14 PM:
--

Yes I think we should, I see no reason your patch would introduce this


was (Author: jacques.le.roux):
Yes I think we should

> Add a basic VAT report with frequency setting
> -
>
> Key: OFBIZ-6225
> URL: https://issues.apache.org/jira/browse/OFBIZ-6225
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>  Labels: reporting, vat
> Attachments: OFBIZ-6225 - Vat control reports.patch, 
> OFBIZ-6225-TaxReport.patch
>
>
> Few years ago I began to work on that. I just stumbled upon it so I note it 
> here to continue when I will get a chance. It would be something basic with a 
> find and single input form, rendered with FOP



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


[jira] [Commented] (OFBIZ-6225) Add a basic VAT report with frequency setting

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6225:


Yes I think we should

> Add a basic VAT report with frequency setting
> -
>
> Key: OFBIZ-6225
> URL: https://issues.apache.org/jira/browse/OFBIZ-6225
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>  Labels: reporting, vat
> Attachments: OFBIZ-6225 - Vat control reports.patch, 
> OFBIZ-6225-TaxReport.patch
>
>
> Few years ago I began to work on that. I just stumbled upon it so I note it 
> here to continue when I will get a chance. It would be something basic with a 
> find and single input form, rendered with FOP



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


Re: Start.java Issue

2015-04-18 Thread Jacques Le Roux

Le 18/04/2015 22:20, Adrian Crum a écrit :
RTC will bring the project to a screeching halt - because no one reviews anything. I'm still waiting for feedback on the entity cache fix I 
committed a while ago.


"no one reviews anything. "
That's *almost* right Adrian, we review some I believe ;) and I think Pierre 
has a point here, as your previous email about r1633182 shows.

I think it's something we should really care more about. For important commits in the core, we can't rely only on one person, even among our most 
experienced core developers.
Obviously the "deeper" a commit is, the more chances are it has a negative impact, contrary to a change, for instance, at the UI level. We have proofs 
everyday, having something working is not enough.
We (all committers) should even, as a priority, focus on such changes. Of course it's not the easiest job so we often prefer to close our eyes and 
rely on others, I know, I do that.


Now, I don't believe asking for review on such important patch attached to a Jira would throw OFBiz in "a screeching halt", at least when it's not 
about a bug fix. Refactoring and improving is nice, but we all know it also introduce some risks. I have the feeling we crossed some regressions we 
could have avoided with a more community minded spirit.  I know you often ask for reviews when doing such changes and we sometimes lack to provide 
them. But that should not prevent us to ask for RTC when we have the feeling it should be done. I did in the recent past by attaching patches to Jira, 
not sure I got more attention, but at least I tried.


We knowcoercion is impossible due to the nature of the project. So maybe putting more pressure (reiterated, if no feedbacks) on RTC requests would 
help, before committing something w/o enough eyes balls reviews. And a patch in a Jira is the best way to keep things focused.


BTW I will begin by doing the reviews I promised I would do...

Thanks!

Jacques



Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 8:08 PM, Pierre Smits wrote:

We should learn from the past, not repeat it. RTC would have brought this
aspect of the improvement in r1633182 earlier to our attention than CTR.

Best regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Apr 18, 2015 at 7:39 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:


There have been many Start.java refactorings in the past that did not
require review. Why is this one different?

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 6:24 PM, Jacques Le Roux wrote:


Le 18/04/2015 19:12, Adrian Crum a écrit :


I spent the day looking through the OFBiz startup code to see if there
is any way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of
ofbiz-component.xml files, parses them, and builds a class path based
on their contents. Then Start.java loads the components using
ComponentContainer.java, and that class also parses
ofbiz-component.xml files. So the ofbiz-component.xml files are parsed
twice.

I would like to redesign the component loading a bit to eliminate the
double parsing.

What do you think?


  This would need a review to confirm, but if the double parsing is

useless then indeed a refactoring seems the way.
This is the kind of change we could wait to be reviewed before
committing, but not necessarily since we can always revert

Jacques









Re: Start.java Issue

2015-04-18 Thread Pierre Smits
'no one reviews anything' is misleading because not true. We do what we
can.

Seeking collaboration and consensus is a far better attitude than putting
Code over Community. CTR regarding improvements is putting Code over
Community.

Is creating an improvement issue, attaching patches and seeking
collaboration for review before applying the patch after 72 hours to much
work?

Best regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Apr 18, 2015 at 10:20 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

> RTC will bring the project to a screeching halt - because no one reviews
> anything. I'm still waiting for feedback on the entity cache fix I
> committed a while ago.
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
> On 4/18/2015 8:08 PM, Pierre Smits wrote:
>
>> We should learn from the past, not repeat it. RTC would have brought this
>> aspect of the improvement in r1633182 earlier to our attention than CTR.
>>
>> Best regards,
>>
>> Pierre Smits
>>
>> *ORRTIZ.COM *
>>
>> Services & Solutions for Cloud-
>> Based Manufacturing, Professional
>> Services and Retail & Trade
>> http://www.orrtiz.com
>>
>> On Sat, Apr 18, 2015 at 7:39 PM, Adrian Crum <
>> adrian.c...@sandglass-software.com> wrote:
>>
>>  There have been many Start.java refactorings in the past that did not
>>> require review. Why is this one different?
>>>
>>> Adrian Crum
>>> Sandglass Software
>>> www.sandglass-software.com
>>>
>>> On 4/18/2015 6:24 PM, Jacques Le Roux wrote:
>>>
>>>  Le 18/04/2015 19:12, Adrian Crum a écrit :

  I spent the day looking through the OFBiz startup code to see if there
> is any way we can shorten the startup time.
>
> Something I noticed that seems odd...
>
> Start.java searches the OFBiz folders for all instances of
> ofbiz-component.xml files, parses them, and builds a class path based
> on their contents. Then Start.java loads the components using
> ComponentContainer.java, and that class also parses
> ofbiz-component.xml files. So the ofbiz-component.xml files are parsed
> twice.
>
> I would like to redesign the component loading a bit to eliminate the
> double parsing.
>
> What do you think?
>
>
>   This would need a review to confirm, but if the double parsing is
>
 useless then indeed a refactoring seems the way.
 This is the kind of change we could wait to be reviewed before
 committing, but not necessarily since we can always revert

 Jacques


>>>
>>


Re: Start.java Issue

2015-04-18 Thread Adrian Crum
RTC will bring the project to a screeching halt - because no one reviews 
anything. I'm still waiting for feedback on the entity cache fix I 
committed a while ago.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 8:08 PM, Pierre Smits wrote:

We should learn from the past, not repeat it. RTC would have brought this
aspect of the improvement in r1633182 earlier to our attention than CTR.

Best regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Apr 18, 2015 at 7:39 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:


There have been many Start.java refactorings in the past that did not
require review. Why is this one different?

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 6:24 PM, Jacques Le Roux wrote:


Le 18/04/2015 19:12, Adrian Crum a écrit :


I spent the day looking through the OFBiz startup code to see if there
is any way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of
ofbiz-component.xml files, parses them, and builds a class path based
on their contents. Then Start.java loads the components using
ComponentContainer.java, and that class also parses
ofbiz-component.xml files. So the ofbiz-component.xml files are parsed
twice.

I would like to redesign the component loading a bit to eliminate the
double parsing.

What do you think?


  This would need a review to confirm, but if the double parsing is

useless then indeed a refactoring seems the way.
This is the kind of change we could wait to be reviewed before
committing, but not necessarily since we can always revert

Jacques







Re: Start.java Issue

2015-04-18 Thread Pierre Smits
We should learn from the past, not repeat it. RTC would have brought this
aspect of the improvement in r1633182 earlier to our attention than CTR.

Best regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Apr 18, 2015 at 7:39 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

> There have been many Start.java refactorings in the past that did not
> require review. Why is this one different?
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
> On 4/18/2015 6:24 PM, Jacques Le Roux wrote:
>
>> Le 18/04/2015 19:12, Adrian Crum a écrit :
>>
>>> I spent the day looking through the OFBiz startup code to see if there
>>> is any way we can shorten the startup time.
>>>
>>> Something I noticed that seems odd...
>>>
>>> Start.java searches the OFBiz folders for all instances of
>>> ofbiz-component.xml files, parses them, and builds a class path based
>>> on their contents. Then Start.java loads the components using
>>> ComponentContainer.java, and that class also parses
>>> ofbiz-component.xml files. So the ofbiz-component.xml files are parsed
>>> twice.
>>>
>>> I would like to redesign the component loading a bit to eliminate the
>>> double parsing.
>>>
>>> What do you think?
>>>
>>>
>>>  This would need a review to confirm, but if the double parsing is
>> useless then indeed a refactoring seems the way.
>> This is the kind of change we could wait to be reviewed before
>> committing, but not necessarily since we can always revert
>>
>> Jacques
>>
>


Re: Start.java Issue

2015-04-18 Thread Adrian Crum
There have been many Start.java refactorings in the past that did not 
require review. Why is this one different?


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 6:24 PM, Jacques Le Roux wrote:

Le 18/04/2015 19:12, Adrian Crum a écrit :

I spent the day looking through the OFBiz startup code to see if there
is any way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of
ofbiz-component.xml files, parses them, and builds a class path based
on their contents. Then Start.java loads the components using
ComponentContainer.java, and that class also parses
ofbiz-component.xml files. So the ofbiz-component.xml files are parsed
twice.

I would like to redesign the component loading a bit to eliminate the
double parsing.

What do you think?



This would need a review to confirm, but if the double parsing is
useless then indeed a refactoring seems the way.
This is the kind of change we could wait to be reviewed before
committing, but not necessarily since we can always revert

Jacques


Re: Start.java Issue

2015-04-18 Thread Adrian Crum
I checked the commit logs - the double parsing was introduced in rev 
1633182.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 6:12 PM, Adrian Crum wrote:

I spent the day looking through the OFBiz startup code to see if there
is any way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of
ofbiz-component.xml files, parses them, and builds a class path based on
their contents. Then Start.java loads the components using
ComponentContainer.java, and that class also parses ofbiz-component.xml
files. So the ofbiz-component.xml files are parsed twice.

I would like to redesign the component loading a bit to eliminate the
double parsing.

What do you think?




[jira] [Comment Edited] (OFBIZ-5917) Improve the way FOP handles fonts notably for currency symbols

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-5917 at 4/18/15 5:36 PM:
-

http://svn.apache.org/viewvc?view=revision&revision=1646781 is related


was (Author: jacques.le.roux):
http://svn.apache.org/viewvc?view=revision&revision=r1646781 is related

> Improve the way FOP handles fonts notably for currency symbols
> --
>
> Key: OFBIZ-5917
> URL: https://issues.apache.org/jira/browse/OFBIZ-5917
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Minor
>  Labels: rupee, symbol
> Fix For: 14.12.01
>
>
> In the dev ML I suggested we could add
> 
> in the fonts section of our fop.xconf
> We can do more than that. For instance currently there are no easy ways to 
> render the "new" (since 2010) rupee symbol: ₹.
> One is to use the Google NotoSans font which is Apache licensed
> * http://www.google.com/fonts/specimen/Noto+Sans
> * https://www.google.com/get/noto/#/
> We need also to
> * Add the rupee symbol (₹) to antisamy-esapi.xml file like we have the euro 
> symbol (€)
> * Use NotoSans as the default FOP font. For that we can put the NotoSans font 
> 4 files in framework/resources/fonts and add 
> framework/resources/fonts/NotoSansFonts in our 
> fop.xconf
> * Render ₹ in content/control/fonts.pdf as we do for €. Other symbols could 
> be added later when needed, backed by Google NotoSans font...



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


Re: Start.java Issue

2015-04-18 Thread Jacques Le Roux

Le 18/04/2015 19:12, Adrian Crum a écrit :

I spent the day looking through the OFBiz startup code to see if there is any 
way we can shorten the startup time.

Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of ofbiz-component.xml files, parses them, and builds a class path based on their contents. 
Then Start.java loads the components using ComponentContainer.java, and that class also parses ofbiz-component.xml files. So the ofbiz-component.xml 
files are parsed twice.


I would like to redesign the component loading a bit to eliminate the double 
parsing.

What do you think?



This would need a review to confirm, but if the double parsing is useless then 
indeed a refactoring seems the way.
This is the kind of change we could wait to be reviewed before committing, but 
not necessarily since we can always revert

Jacques


Start.java Issue

2015-04-18 Thread Adrian Crum
I spent the day looking through the OFBiz startup code to see if there 
is any way we can shorten the startup time.


Something I noticed that seems odd...

Start.java searches the OFBiz folders for all instances of 
ofbiz-component.xml files, parses them, and builds a class path based on 
their contents. Then Start.java loads the components using 
ComponentContainer.java, and that class also parses ofbiz-component.xml 
files. So the ofbiz-component.xml files are parsed twice.


I would like to redesign the component loading a bit to eliminate the 
double parsing.


What do you think?


--
Adrian Crum
Sandglass Software
www.sandglass-software.com


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

2015-04-18 Thread Adrian Crum
Jacques started to fix something that he thought was broken, then he 
realized it wasn't broken and he reverted his changes.


There have been numerous bug fixes since then, so a new vote would be 
appropriate.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 4/18/2015 5:17 PM, Jacopo Cappellato wrote:

In light of the recent fixes (committed by Jacques) I am proposing to cancel 
this second vote and start a new one.
I didn't review them closely because I am travelling but it seems like the best 
way to go.

What do you think guys?

Jacopo


On Apr 12, 2015, at 1:54 PM, Jacques Le Roux  
wrote:


0

Jacques

Le 12/04/2015 11:08, Deepak Dixit a écrit :

+1

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Sat, Apr 11, 2015 at 10:14 PM, Jacopo Cappellato <
jacopo.cappell...@hotwaxsystems.com> wrote:


This is the second vote thread vote thread (after the first was cancelled
to prepare a new release file with some latest bug fixes) to release a new
bug fix release for the release13.07 branch. This new release, "Apache
OFBiz 13.07.02" will supersede the previous release from the same branch.
The release files can be downloaded from here:

https://dist.apache.org/repos/dist/dev/ofbiz/

and are:

* apache-ofbiz-13.07.02.zip
* KEYS: text file with keys
* apache-ofbiz-13.07.02.zip.asc: the detached signature file
* apache-ofbiz-13.07.02.zip.md5, apache-ofbiz-13.07.02.zip.sha: hashes

Please download and test the zip file and its signatures (for instructions
on testing the signatures see http://www.apache.org/info/verification.html
).

Vote:

[ +1] release as Apache OFBiz 13.07.02
[ -1] do not release

This vote will be open for at least 3 days.
For more details about this process please read
http://www.apache.org/foundation/voting.html

Kind Regards,

Jacopo




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

2015-04-18 Thread Jacopo Cappellato
In light of the recent fixes (committed by Jacques) I am proposing to cancel 
this second vote and start a new one.
I didn't review them closely because I am travelling but it seems like the best 
way to go.

What do you think guys?

Jacopo


On Apr 12, 2015, at 1:54 PM, Jacques Le Roux  
wrote:

> 0
> 
> Jacques
> 
> Le 12/04/2015 11:08, Deepak Dixit a écrit :
>> +1
>> 
>> Thanks & Regards
>> --
>> Deepak Dixit
>> www.hotwaxsystems.com
>> 
>> On Sat, Apr 11, 2015 at 10:14 PM, Jacopo Cappellato <
>> jacopo.cappell...@hotwaxsystems.com> wrote:
>> 
>>> This is the second vote thread vote thread (after the first was cancelled
>>> to prepare a new release file with some latest bug fixes) to release a new
>>> bug fix release for the release13.07 branch. This new release, "Apache
>>> OFBiz 13.07.02" will supersede the previous release from the same branch.
>>> The release files can be downloaded from here:
>>> 
>>> https://dist.apache.org/repos/dist/dev/ofbiz/
>>> 
>>> and are:
>>> 
>>> * apache-ofbiz-13.07.02.zip
>>> * KEYS: text file with keys
>>> * apache-ofbiz-13.07.02.zip.asc: the detached signature file
>>> * apache-ofbiz-13.07.02.zip.md5, apache-ofbiz-13.07.02.zip.sha: hashes
>>> 
>>> Please download and test the zip file and its signatures (for instructions
>>> on testing the signatures see http://www.apache.org/info/verification.html
>>> ).
>>> 
>>> Vote:
>>> 
>>> [ +1] release as Apache OFBiz 13.07.02
>>> [ -1] do not release
>>> 
>>> This vote will be open for at least 3 days.
>>> For more details about this process please read
>>> http://www.apache.org/foundation/voting.html
>>> 
>>> Kind Regards,
>>> 
>>> Jacopo



[jira] [Assigned] (OFBIZ-4674) Human Resource Manager Tree

2015-04-18 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-4674:
--

Assignee: Ashish Vijaywargiya

> Human Resource Manager Tree
> ---
>
> Key: OFBIZ-4674
> URL: https://issues.apache.org/jira/browse/OFBIZ-4674
> Project: OFBiz
>  Issue Type: Bug
>  Components: humanres
>Affects Versions: Trunk
> Environment: Latest Trunk
>Reporter: Jacopo Cappellato
>Assignee: Ashish Vijaywargiya
> Attachments: ASF.LICENSE.NOT.GRANTED--HR Tree Before Sample 
> Accounting Data Loaded.jpg, ASF.LICENSE.NOT.GRANTED--HR Tree With Sample 
> Accounting Data Loaded.jpg, HumanResAcctData.xml
>
>
> In the latest trunk the tree off the HR Main menu has some questionable 
> behavior: 
> 1. The developer and test persons created in the Accounting application 
> behave like organizations. 
> They display the organization icon and context menu. 
> For example: 
> Go to Human Resources Main 
> In the tree open the nodes Development Department > Development Team 1 
> Right Click on any of the children Developer1-3. 
> Developers 1-3 are persons but the context menu presents the functions for an 
> organization (Add Employee Position / Add Internal Organization). 
> The Testing entities have the same behavior. 
> See attached AcctHRBefore.jpg 
> Expected parties that are persons would not have context functions. 
> Expected Accounting entities to display icons and behavior in the manner of 
> the Programmer and Demo Employee created by HumanResDemoData.xml. 
> For example load the attached HumanResAcctData.xml using Webtools > Entity 
> Import > Absolute Filename or URL to see the expected result as shown in 
> attache AcctHRAfter.jpg 
> 2. The context menu Add Internal Organization allows duplicate organization 
> entities in the tree. 
> This by itself does not make business sense and it permits the creation of 
> recursive structures by selecting the name of the parent for the child. 
> For example:
> Go to Human Resources Main In the tree right click on "Development 
> department" 
> In the context menu select Add Internal Organization In the drop down list 
> select "DEV" Click Create After refresh open the "Development department". 
> It now contains a child "Development department" which has a child 
> "Development department" etc etc. 
> It is also possible to create recursion by adding an organizations parent as 
> a child. 
> Substitute party_id "Company" for "DEV" in the above exercise. 
> Expected unique nodes 
> 3. Selecting Add Employee Position or Add Person from the context menu opens 
> the corresponding edit forms with calendar lookup fields. 
> The calendar form does no open when the lookup icon is clicked. 
> Expected calendar to open on click.



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


[jira] [Closed] (OFBIZ-6260) foScreenMacroLibrary.ftl renderLabel doesn't apply style parameter

2015-04-18 Thread Ashish Vijaywargiya (JIRA)

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

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

Thanks Christian for the contribution and Thanks Aditya for reviewing the 
patch. Changes are pushed to: r1674513(trunk), r1674514(R14.12), 
r1674515(R13.07).

> foScreenMacroLibrary.ftl renderLabel doesn't apply style parameter
> --
>
> Key: OFBIZ-6260
> URL: https://issues.apache.org/jira/browse/OFBIZ-6260
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6260.patch
>
>
> foScreenMacroLibrary.ftl renderLabel accepts a style parameter but does not 
> apply it to the rendered element which should happen.



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


[jira] [Assigned] (OFBIZ-6260) foScreenMacroLibrary.ftl renderLabel doesn't apply style parameter

2015-04-18 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya reassigned OFBIZ-6260:
--

Assignee: Ashish Vijaywargiya

> foScreenMacroLibrary.ftl renderLabel doesn't apply style parameter
> --
>
> Key: OFBIZ-6260
> URL: https://issues.apache.org/jira/browse/OFBIZ-6260
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-6260.patch
>
>
> foScreenMacroLibrary.ftl renderLabel accepts a style parameter but does not 
> apply it to the rendered element which should happen.



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-6058 at 4/18/15 1:57 PM:
-

Ho, I see it contains query builder stuff. 

I wondered if the issue also existed in older releases. Because I used only the 
Enter key, before spotting the "Find Shipment(s)" button :(.
So a *BIG +1* for OFBIZ-6144 and form-widgets by and large!




was (Author: jacques.le.roux):
Ho, I see it contains query builder stuff. 

I wondered if the issue also existed in older releases (remember our stable is 
not R14.12 but R13.07). Because I used only the Enter key, before spotting the 
"Find Shipment(s)" button :(.
So a *BIG +1* for OFBIZ-6144 and form-widgets by and large!



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



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6058:


Ho, I see it contains query builder stuff. 

I wondered if the issue also existed in older releases (remember our stable is 
not R14.12 but R13.07). Because I used only the Enter key, before spotting the 
"Find Shipment(s)" button :(.
So a *BIG +1* for OFBIZ-6144 and form-widgets by and large!



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



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6058:


Hi Ashish, is there a specific reason to no backport to older releases?

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



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


[jira] [Comment Edited] (OFBIZ-5441) URLs in PDF files are not handled correctly

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-5441 at 4/18/15 1:43 PM:
-

The problem is more than that, we actually have to handle 
InvoiceItem.descriptions like

description="Spend more than $100 on your favorite widgets and gizmos and get a 
free Micro
 Chrome Widget!"

See for instane this one
 

So, to generate the url inside the generated PDF file, we need to parse the 
InvoiceItem.description inside invoiceReportItems.fo.ftl.

Also in ProductionRun.fo.ftl (the only place where we currently have a 
) the external-destinationattribute is 
wrongly completed. It misses the url('...') part in 
external-destination=url('...'). And, as you mentionned, the generated url is 
incomplete. I believe we will need a new transform for URLs in *fo.ftl files.


was (Author: jacques.le.roux):
The problem is more than we actually have to handle InvoiceItem.descriptions 
like

description="Spend more than $100 on your favorite widgets and gizmos and get a 
free Micro
 Chrome Widget!"

See for instane this one
  
 
So, to generate the url inside the generated PDF file, we need to parse the 
InvoiceItem.description inside invoiceReportItems.fo.ftl. 
 
Also in ProductionRun.fo.ftl (the only place where we currently have a 
) the external-destinationattribute is 
wrongly completed. It misses the url('...') part in 
external-destination=url('...'). And, as you mentionned, the generated url is 
incomplete. I believe we will need a new transform for URLs in *fo.ftl files.

> URLs in PDF files are not handled correctly
> ---
>
> Key: OFBIZ-5441
> URL: https://issues.apache.org/jira/browse/OFBIZ-5441
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> When a PDF file contains a reference to a promotion like when you buy a 
> WG-5569 (Tiny Chrome Widget) and get a free WG- (Micro Chrome Widget). 
> You end with a corresponding invoice containing < your favorite widgets and gizmos and get a free  href="/ecommerce/control/product?category_id=20111&product_id=WG-">Micro
>  Chrome Widget!>> instead of a real link. 
> It's possible to generare a link in a PDF with FOP, we need to
> # dynamically define a fop.base using a ftl transform refs: 
> http://xmlgraphics.apache.org/fop/0.95/configuration.html#general-elements 
> http://xmlgraphics.apache.org/fop/faq.html#MalformedURL
> # here is an example from ProductionRun.fo.ftl
> {code}
> 
>  external-destination="<@ofbizContentUrl>/content/control/ViewBinaryDataResource?dataResourceId=${productionRunContent.drDataResourceId}">${uiLabelMap.CommonView}
> 
> {code}



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


buildbot exception in ASF Buildbot on ofbiz-branch12

2015-04-18 Thread buildbot
The Buildbot has detected a build exception on builder ofbiz-branch12 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch12/builds/200

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] 1674507
Blamelist: jleroux

BUILD FAILED: exception upload_1

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on ofbiz-branch13

2015-04-18 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/293

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] 1674506
Blamelist: jleroux

Build succeeded!

Sincerely,
 -The Buildbot





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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

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

> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6188:


I checked, this could be backported to older branches, done in
R13.07 r1674506
R12.04 r1674507


> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


buildbot exception in ASF Buildbot on ofbiz-branch13

2015-04-18 Thread buildbot
The Buildbot has detected a build exception on builder ofbiz-branch13 while 
building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/ofbiz-branch13/builds/292

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] 1674500
Blamelist: deepak

BUILD FAILED: exception upload_1

Sincerely,
 -The Buildbot





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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6196:


We crossed on wire with Deepak, here is our Skype conversation to clarify for 
others
{noformat}
[15:02:00] Deepak Dixit: I committed OFBIZ-6196
[15:02:50] Jacques Le Roux: Ha OK, I was finishing my tests
[15:02:54] Jacques Le Roux: No worries
[15:02:57] Deepak Dixit: :)
[15:03:05] Deepak Dixit: once again we crossed on wire :)
[15:03:06] Jacques Le Roux: Did you backport in all branches?
[15:03:14] Jacques Le Roux: I checked it's ok to do so
[15:03:17] Deepak Dixit: I would like to back port
[15:03:23] Jacques Le Roux: OK I let you do :)
[15:03:44] Deepak Dixit: But patch contains some layout important
[15:03:48] Deepak Dixit: *improvement
[15:04:03] Deepak Dixit: so does this make sense to back port this to all 
branches?
[15:04:10] Deepak Dixit: I back ported it to 14.12
[15:04:23] Deepak Dixit: but I am confused for 13.07 and 12.04
[15:04:44] Jacques Le Roux: Yes we should, this file has not been changed since 
2009, so no possible issues
[15:05:22] Deepak Dixit: hmm
[15:05:24] Deepak Dixit: make sense
[15:05:45] Deepak Dixit: let me back port it to remaining branches
[15:06:04] Jacques Le Roux: I copy our conversation for others on the Jira ;)
[15:06:41] Jacques Le Roux: Please in such cases assign to yourself before 
action ;)
[15:07:33] Deepak Dixit: sure will do ;) and I hope If I reassigned your task 
to myself then you don’t mind “)
[15:08:50] Deepak Dixit: in some cases
[15:09:09] Jacques Le Roux: Yes as long as we don't both work on the same case 
:)
[15:09:27] Deepak Dixit: +1
{noformat}


> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6196:
-

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

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Jacques Le Roux
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-6196:


Hi Deepak, I have also tested on my side and will commit, I reassign to myself..

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-6196:
--

Assignee: Jacques Le Roux  (was: Deepak Dixit)

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6196:
---

Assignee: Deepak Dixit  (was: Jacques Le Roux)

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux reassigned OFBIZ-6196:
--

Assignee: Jacques Le Roux

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Jacques Le Roux
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
> model (Cannot locate service by name (sendGoogleCheckoutRequest))
> 
>
> Key: OFBIZ-5931
> URL: https://issues.apache.org/jira/browse/OFBIZ-5931
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Prateek
>
> When I click on "Request" tab on http://localhost:8080/ecommerce/ link 
> getting following error:-
> org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
> model (Cannot locate service by name (sendGoogleCheckoutRequest))
> Also I don't see any use of "Quotes" tab.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-5931:
-

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

> org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
> model (Cannot locate service by name (sendGoogleCheckoutRequest))
> 
>
> Key: OFBIZ-5931
> URL: https://issues.apache.org/jira/browse/OFBIZ-5931
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Prateek
>
> When I click on "Request" tab on http://localhost:8080/ecommerce/ link 
> getting following error:-
> org.ofbiz.webapp.event.EventHandlerException: Problems getting the service 
> model (Cannot locate service by name (sendGoogleCheckoutRequest))
> Also I don't see any use of "Quotes" tab.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6188:
-

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


> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


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

2015-04-18 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-6196:
-

I have verified this issue by applying the patch given here, it is working 
fine. We can move forward with this fix.

> Package Labels Report error for Manufacturing Shipment Plan
> ---
>
> Key: OFBIZ-6196
> URL: https://issues.apache.org/jira/browse/OFBIZ-6196
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
> Attachments: OFBIZ-6196.patch
>
>
> This error occurs when clicking the "Package Labels Report" button at 
> manufacturing/control/WorkWithShipmentPlans:
> Unable to transform FO file: org.apache.fop.apps.FOPException: 
> org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 167; The content 
> of elements must consist of well-formed character data or markup. 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 33; columnNumber: 167; The content of elements must consist of 
> well-formed character data or markup.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6144:
---

Assignee: Deepak Dixit

> Convert FindShipment ftl to form widget
> ---
>
> Key: OFBIZ-6144
> URL: https://issues.apache.org/jira/browse/OFBIZ-6144
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Attachments: OFBIZ-6144.patch
>
>
> The error below occurs when findShipmentExprs is null in FindShipment.groovy 
> which prevents the page from even displaying.  IMO the FindShipment.groovy 
> and FindShipment.ftl should be replaced with form widgets.
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6188:
---

Assignee: Deepak Dixit

> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Assignee: Deepak Dixit
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Date Picker widget in for breaks Internet Explorer 7
> 
>
> Key: OFBIZ-4647
> URL: https://issues.apache.org/jira/browse/OFBIZ-4647
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Christoph Neuroth
>  Labels: patch
> Attachments: OFBIZ-4647.patch
>
>
> When using a date field like in the code sample below, the generated 
> JavaScript causes IE7 to stop loading the page with the infamous "Operation 
> aborted" error and then redirect to an error page, making the screen 
> unusable. For background information on the issue, see [MS Knowledge Base 
> 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably* 
> occurs with other js code blocks as well, however we only fixed this one for 
> now because we urgently needed it for a client. This can be circumvented by 
> moving the code in question into a function and binding that to the jQuery 
> document.ready even as I did in the patch.
> Example that breaks IE7 on current trunk:
> {code}
>  type="date"/>
> {code}
> Note: In the patch, I also added two missing semicolons joined some lines so 
> that there is no newlines before that semicolon. While those did not cause 
> errors here, I really doubt if generating JavaScript code using FreeMarker is 
> that great an idae.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-4647:
-

Based on Amardeep comments closing the issue

> Date Picker widget in for breaks Internet Explorer 7
> 
>
> Key: OFBIZ-4647
> URL: https://issues.apache.org/jira/browse/OFBIZ-4647
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Christoph Neuroth
>  Labels: patch
> Attachments: OFBIZ-4647.patch
>
>
> When using a date field like in the code sample below, the generated 
> JavaScript causes IE7 to stop loading the page with the infamous "Operation 
> aborted" error and then redirect to an error page, making the screen 
> unusable. For background information on the issue, see [MS Knowledge Base 
> 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably* 
> occurs with other js code blocks as well, however we only fixed this one for 
> now because we urgently needed it for a client. This can be circumvented by 
> moving the code in question into a function and binding that to the jQuery 
> document.ready even as I did in the patch.
> Example that breaks IE7 on current trunk:
> {code}
>  type="date"/>
> {code}
> Note: In the patch, I also added two missing semicolons joined some lines so 
> that there is no newlines before that semicolon. While those did not cause 
> errors here, I really doubt if generating JavaScript code using FreeMarker is 
> that great an idae.



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


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

2015-04-18 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-6188:
-

I have verified this issue by applying the patch given here, it is working 
fine. We can go ahead with this fix :)

> Task Report error for Manufacturing Shipment Plan
> -
>
> Key: OFBIZ-6188
> URL: https://issues.apache.org/jira/browse/OFBIZ-6188
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Christian Carlow
> Attachments: OFBIZ-6188.patch
>
>
> This error occurs when clicking the Task Report button for Manufacturing 
> Shipment Plans at manufacturing/control/WorkWithShipmentPlan:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://manufacturing/widget/manufacturing/ReportScreens.xml#ShipmentWorkEffortTasks]:
>  java.lang.IllegalArgumentException: Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks (Error running script at location 
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]:
>  groovy.lang.MissingPropertyException: No such property: records for class: 
> ShipmentWorkEffortTasks)



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit updated OFBIZ-6144:

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

> Convert FindShipment ftl to form widget
> ---
>
> Key: OFBIZ-6144
> URL: https://issues.apache.org/jira/browse/OFBIZ-6144
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product
>Affects Versions: Trunk
>Reporter: Christian Carlow
> Attachments: OFBIZ-6144.patch
>
>
> The error below occurs when findShipmentExprs is null in FindShipment.groovy 
> which prevents the page from even displaying.  IMO the FindShipment.groovy 
> and FindShipment.ftl should be replaced with form widgets.
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6144:
-

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


> FindShipment.groovy error due to null findShipmentExprs
> ---
>
> Key: OFBIZ-6144
> URL: https://issues.apache.org/jira/browse/OFBIZ-6144
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Trunk
>Reporter: Christian Carlow
> Attachments: OFBIZ-6144.patch
>
>
> The error below occurs when findShipmentExprs is null in FindShipment.groovy 
> which prevents the page from even displaying.  IMO the FindShipment.groovy 
> and FindShipment.ftl should be replaced with form widgets.
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map] (Error running script at location 
> [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]:
>  groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method 
> org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to 
> invoke for [null] due to overlapping prototypes between: [interface 
> java.util.List] [interface java.util.Map])



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


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

2015-04-18 Thread Josip Almasi (JIRA)

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

Josip Almasi updated OFBIZ-6262:

Attachment: OFBIZ-6262.patch

CategoryContentWorker now iterates thru content available for a category, and 
renders content found for session locale.
Falls back to configured locale if no content is found.

> 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
> 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-4647) Date Picker widget in for breaks Internet Explorer 7

2015-04-18 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-4647:
-

I have seen given sample code of date field in different forms which uses 
minilang form and open those pages that uses date field in IE7, IE8, IE9 and 
IE10, everything seems to be working fine. There is no such error while 
rendering those pages. I think we can close this issue.

> Date Picker widget in for breaks Internet Explorer 7
> 
>
> Key: OFBIZ-4647
> URL: https://issues.apache.org/jira/browse/OFBIZ-4647
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Trunk
>Reporter: Christoph Neuroth
>  Labels: patch
> Attachments: OFBIZ-4647.patch
>
>
> When using a date field like in the code sample below, the generated 
> JavaScript causes IE7 to stop loading the page with the infamous "Operation 
> aborted" error and then redirect to an error page, making the screen 
> unusable. For background information on the issue, see [MS Knowledge Base 
> 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably* 
> occurs with other js code blocks as well, however we only fixed this one for 
> now because we urgently needed it for a client. This can be circumvented by 
> moving the code in question into a function and binding that to the jQuery 
> document.ready even as I did in the patch.
> Example that breaks IE7 on current trunk:
> {code}
>  type="date"/>
> {code}
> Note: In the patch, I also added two missing semicolons joined some lines so 
> that there is no newlines before that semicolon. While those did not cause 
> errors here, I really doubt if generating JavaScript code using FreeMarker is 
> that great an idae.



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


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

2015-04-18 Thread Josip Almasi (JIRA)
Josip Almasi created OFBIZ-6262:
---

 Summary: 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: 13.07.01, Trunk
Reporter: Josip Almasi
 Fix For: Trunk


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-5441) URLs in PDF files are not handled correctly

2015-04-18 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-5441:
-

Actually this description field of Invoice item is not dedicated for fo.ftl and 
it is being used in various places. We can use some kind of regular expression 
logic to check for html anchor tag () to replace that with fo.ftl method 
(basic-link) to show the link.

But IMO, it seems to be less generic approach for handling such case as per the 
best practices we follow because we have many description fields in many 
entities. Any suggestion for solution is welcome. Thanks

> URLs in PDF files are not handled correctly
> ---
>
> Key: OFBIZ-5441
> URL: https://issues.apache.org/jira/browse/OFBIZ-5441
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Priority: Minor
>
> When a PDF file contains a reference to a promotion like when you buy a 
> WG-5569 (Tiny Chrome Widget) and get a free WG- (Micro Chrome Widget). 
> You end with a corresponding invoice containing < your favorite widgets and gizmos and get a free  href="/ecommerce/control/product?category_id=20111&product_id=WG-">Micro
>  Chrome Widget!>> instead of a real link. 
> It's possible to generare a link in a PDF with FOP, we need to
> # dynamically define a fop.base using a ftl transform refs: 
> http://xmlgraphics.apache.org/fop/0.95/configuration.html#general-elements 
> http://xmlgraphics.apache.org/fop/faq.html#MalformedURL
> # here is an example from ProductionRun.fo.ftl
> {code}
> 
>  external-destination="<@ofbizContentUrl>/content/control/ViewBinaryDataResource?dataResourceId=${productionRunContent.drDataResourceId}">${uiLabelMap.CommonView}
> 
> {code}



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

Based on Ravi comments, closing the issue.


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

> productdetail.ftl shows only primaryProductCategoryId even though a 
> productCategoryId is handed over
> 
>
> Key: OFBIZ-4728
> URL: https://issues.apache.org/jira/browse/OFBIZ-4728
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Markus M. May
>Priority: Minor
>
> On the productsummary.ftl the productUrl is constructed like:
>  <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId 
> productCategoryId=categoryId/>
> This works fine, unfortunately in the ProductDetail.groovy the following 
> assignment returns null if the primaryProductCategoryId is not set on the 
> product:
> // get next/previous information for category
> categoryId = parameters.category_id ?: product.primaryProductCategoryId;
> This leads to a nasty NullPointerException in the CatalogScreens.xml. 
> I would propose the following solution in the 
> applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
> // get next/previous information for category
> categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
> product.primaryProductCategoryId;
> I am unsure, why the parameter is named productCategoryId after the call of 
> the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
> the application. Another fix could be to rename this parameter in the 
> ofbizCatalogAltUrl.
> What do you think?



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-4728:
-

As per the Ravi comments, closing the issue.

> productdetail.ftl shows only primaryProductCategoryId even though a 
> productCategoryId is handed over
> 
>
> Key: OFBIZ-4728
> URL: https://issues.apache.org/jira/browse/OFBIZ-4728
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Markus M. May
>Priority: Minor
>
> On the productsummary.ftl the productUrl is constructed like:
>  <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId 
> productCategoryId=categoryId/>
> This works fine, unfortunately in the ProductDetail.groovy the following 
> assignment returns null if the primaryProductCategoryId is not set on the 
> product:
> // get next/previous information for category
> categoryId = parameters.category_id ?: product.primaryProductCategoryId;
> This leads to a nasty NullPointerException in the CatalogScreens.xml. 
> I would propose the following solution in the 
> applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
> // get next/previous information for category
> categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
> product.primaryProductCategoryId;
> I am unsure, why the parameter is named productCategoryId after the call of 
> the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
> the application. Another fix could be to rename this parameter in the 
> ofbizCatalogAltUrl.
> What do you think?



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> productdetail.ftl shows only primaryProductCategoryId even though a 
> productCategoryId is handed over
> 
>
> Key: OFBIZ-4728
> URL: https://issues.apache.org/jira/browse/OFBIZ-4728
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Markus M. May
>Priority: Minor
>
> On the productsummary.ftl the productUrl is constructed like:
>  <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId 
> productCategoryId=categoryId/>
> This works fine, unfortunately in the ProductDetail.groovy the following 
> assignment returns null if the primaryProductCategoryId is not set on the 
> product:
> // get next/previous information for category
> categoryId = parameters.category_id ?: product.primaryProductCategoryId;
> This leads to a nasty NullPointerException in the CatalogScreens.xml. 
> I would propose the following solution in the 
> applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
> // get next/previous information for category
> categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
> product.primaryProductCategoryId;
> I am unsure, why the parameter is named productCategoryId after the call of 
> the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
> the application. Another fix could be to rename this parameter in the 
> ofbizCatalogAltUrl.
> What do you think?



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


[jira] [Closed] (OFBIZ-6223) Move special purpose/jetty to attic

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-6223.
--
   Resolution: Done
Fix Version/s: Upcoming Branch

Thanks Pierre,

WIth your patch jetty has been moved to attic at r1674482

> Move special purpose/jetty to attic
> ---
>
> Key: OFBIZ-6223
> URL: https://issues.apache.org/jira/browse/OFBIZ-6223
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Jacques Le Roux
>  Labels: cleanup, jetty
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-6223-JettyRemoval.patch, OFBIZ-6223-SVNStatus.txt
>
>
> As per outcome of http://ofbiz.markmail.org/message/xoqjhbitdj5fi3bl remove 
> special purpose/jetty from the trunk branch and add a notification to the 
> attic document.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Error on Sending confirm email from newly created quote
> ---
>
> Key: OFBIZ-6076
> URL: https://issues.apache.org/jira/browse/OFBIZ-6076
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
> Environment: 
> http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
>Reporter: Eduardo Arellano
>
> Error on Sending confirm email from newly created quote
> http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
> The Following Errors Occurred:
> Error rendering screen for email: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null)) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null))) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null)) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6076:
-

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

> Error on Sending confirm email from newly created quote
> ---
>
> Key: OFBIZ-6076
> URL: https://issues.apache.org/jira/browse/OFBIZ-6076
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
> Environment: 
> http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
>Reporter: Eduardo Arellano
>
> Error on Sending confirm email from newly created quote
> http://demo-trunk-ofbiz.apache.org/ordermgr/control/sendQuoteReportMail
> The Following Errors Occurred:
> Error rendering screen for email: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null)) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null))) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteTemplate]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null)) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteInfo]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null) (Error rendering screen 
> [component://order/widget/ordermgr/QuoteScreens.xml#ListQuoteInfo]: 
> java.lang.NullPointerException (null



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


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

2015-04-18 Thread Ravi Lodhi (JIRA)

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

Ravi Lodhi commented on OFBIZ-4728:
---

I tried following steps to regenerate this issue - 
1. Created a product without primaryProductCategoryId and associated with a 
category by creating ProductCategoryMember record.
2. Then visited category details/product summary and product detail page and 
got no error, niether on the screen nor on the console.

I am not able to regenerate NullPointerException in the CatalogScreens.xml.
It might be possible that this should be fixed while widget overhauling.


> productdetail.ftl shows only primaryProductCategoryId even though a 
> productCategoryId is handed over
> 
>
> Key: OFBIZ-4728
> URL: https://issues.apache.org/jira/browse/OFBIZ-4728
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Markus M. May
>Priority: Minor
>
> On the productsummary.ftl the productUrl is constructed like:
>  <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId 
> productCategoryId=categoryId/>
> This works fine, unfortunately in the ProductDetail.groovy the following 
> assignment returns null if the primaryProductCategoryId is not set on the 
> product:
> // get next/previous information for category
> categoryId = parameters.category_id ?: product.primaryProductCategoryId;
> This leads to a nasty NullPointerException in the CatalogScreens.xml. 
> I would propose the following solution in the 
> applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy:
> // get next/previous information for category
> categoryId = parameters.productCategoryId ?: parameters.category_id ?: 
> product.primaryProductCategoryId;
> I am unsure, why the parameter is named productCategoryId after the call of 
> the ofbizCatalogAltUrl, whereas it is named category throughout the rest of 
> the application. Another fix could be to rename this parameter in the 
> ofbizCatalogAltUrl.
> What do you think?



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


[jira] [Commented] (OFBIZ-4308) CalendarDateSelect Shows wrong selected date

2015-04-18 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-4308:


Yes indeed, calendar_date_select.js no longer exists, it has been replaced 
during the jQuery effort.

> CalendarDateSelect Shows wrong selected date 
> -
>
> Key: OFBIZ-4308
> URL: https://issues.apache.org/jira/browse/OFBIZ-4308
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 10.04
>Reporter: Stephen Rufle
>Assignee: Jacques Le Roux
> Attachments: 
> ASF.LICENSE.NOT.GRANTED--OrderPurchaseReportOptions-CalendarDateSelect.jpg, 
> ASF.LICENSE.NOT.GRANTED--screenshot-1.jpg, OFBIZ-4308.patch
>
>
> When a date value is initially specified ex.2011-05-03 and then the calendar 
> is popped open the date is off by one.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Amount in cash is smaller than total due in webpos
> --
>
> Key: OFBIZ-5621
> URL: https://issues.apache.org/jira/browse/OFBIZ-5621
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/webpos
>Affects Versions: Trunk
>Reporter: Hoan Dang Van
>Assignee: Deepak Dixit
> Attachments: OFBIZ-5621.patch
>
>
> When I buy a product that has price is 50$, (Now, total due is 50$, total 
> already in cash is 0$), I paid 30$ (Now, total due is 20$, total already in 
> cash is 30$).
> But when I second paid 20$, total due is 30$ and it is cycle. So, i can't 
> checkout my shopping session 



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-5621:
-

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

So IMO its not an valid issue.

> Amount in cash is smaller than total due in webpos
> --
>
> Key: OFBIZ-5621
> URL: https://issues.apache.org/jira/browse/OFBIZ-5621
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/webpos
>Affects Versions: Trunk
>Reporter: Hoan Dang Van
> Attachments: OFBIZ-5621.patch
>
>
> When I buy a product that has price is 50$, (Now, total due is 50$, total 
> already in cash is 0$), I paid 30$ (Now, total due is 20$, total already in 
> cash is 30$).
> But when I second paid 20$, total due is 30$ and it is cycle. So, i can't 
> checkout my shopping session 



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> "Expected hash" Freemarker error in FindInventoryEventPlan
> --
>
> Key: OFBIZ-6202
> URL: https://issues.apache.org/jira/browse/OFBIZ-6202
> Project: OFBiz
>  Issue Type: Bug
>  Components: manufacturing
>Affects Versions: Trunk
>Reporter: Paul Foxworthy
>Assignee: Deepak Dixit
> Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6202_Expected_hash_Freemarker_error
>
>
> This error was reported on ofbiz-users by Medhat Abdel Badie on 11 Feb 2013 
> (http://mail-archives.apache.org/mod_mbox/ofbiz-user/201302.mbox/%3ccafm1-vwx8vvxn2o3c2fzmugv9wjugn9rb16qgjusncgyv83...@mail.gmail.com%3E)
> Reproducing Scenario:
>   • Carton_M (Type : Finished Good) contains 2 Carton_S (Type : Raw
> Material)  as Manufacturing BOM.
>   • For both Products Go to Facilities >> Edit Product Facilities >> Add
> the Facility "Web Store Warehouse"
>   • Leave "MINIMUM STOCK" Empty or set it to Zero
>   • Create sales order containing 1 Carton_M product, then Approve the
> order.
>   • Go to the Manufacturing >> MRP, and run MRP
> Then click on the Find button at the bottom of the page to show planned 
> inventory events. You'll get:
> "Expected hash. initialQohEvent evaluated instead to 
> freemarker.template.SimpleScalar on line 165, column 26 in 
> component://manufacturing/webapp/manufacturing/mrp/findInventoryEventPlan.ftl"



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-6202:
-

Thanks Paul for reporting the issue.

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

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



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit closed OFBIZ-4925.
---

> Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
> already purchased product A
> 
>
> Key: OFBIZ-4925
> URL: https://issues.apache.org/jira/browse/OFBIZ-4925
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release 10.04
> Environment: Revision : 1346235
>Reporter: Nandani Aggarwal
>Assignee: Deepak Dixit
>Priority: Minor
>




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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

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

> Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
> already purchased product A
> 
>
> Key: OFBIZ-4925
> URL: https://issues.apache.org/jira/browse/OFBIZ-4925
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release 10.04
> Environment: Revision : 1346235
>Reporter: Nandani Aggarwal
>Assignee: Deepak Dixit
>Priority: Minor
>




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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit commented on OFBIZ-4925:
-

Based on Amardeep comments closing the task.


> Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
> already purchased product A
> 
>
> Key: OFBIZ-4925
> URL: https://issues.apache.org/jira/browse/OFBIZ-4925
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release 10.04
> Environment: Revision : 1346235
>Reporter: Nandani Aggarwal
>Assignee: Deepak Dixit
>Priority: Minor
>




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


[jira] [Assigned] (OFBIZ-5608) Dates Displaying Incorrectly With Negative Offest Timezones.

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum reassigned OFBIZ-5608:
--

Assignee: (was: Adrian Crum)

> Dates Displaying Incorrectly With Negative Offest Timezones.
> 
>
> Key: OFBIZ-5608
> URL: https://issues.apache.org/jira/browse/OFBIZ-5608
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL COMPONENTS
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Rupert Howell
>Priority: Minor
> Attachments: ObjectTypeTests.patch, dates.patch, dates_1589040.patch
>
>
> Dates are displaying incorrectly when negative offset (relative to UTC) are 
> applied by the users settings.



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


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

2015-04-18 Thread Pierre Smits (JIRA)

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

Pierre Smits commented on OFBIZ-6202:
-

Replacing the ftl with widgets as in OFBIZ-6175 will address the issue.

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



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


[jira] [Assigned] (OFBIZ-5948) Form Widget doesn't use thead or tbody with list forms

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum reassigned OFBIZ-5948:
--

Assignee: (was: Adrian Crum)

> Form Widget doesn't use thead or tbody with list forms
> --
>
> Key: OFBIZ-5948
> URL: https://issues.apache.org/jira/browse/OFBIZ-5948
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Reporter: Chris Howe
>Priority: Minor
> Attachments: css.patch, renderTheadTbodyId.patch
>
>
> The form widget for type list uses tr with a class of header-row and no thead 
> element.  There are 23 instances of the thead element in ftl files.
> The form widget also does not use tbody element.  There are 38 instances of 
> it being used in ftl files.
> CSS to utilize the '.header row th' selector in addition to the '.header-row 
> td' selector in the flat_grey theme is also added.
> Also, the htmlFormMacroLibrary wasn't adding the id element for the table.
> The attached patch creates this for the HtmlFormRenderer and the 
> MacroFormRenderer.



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


buildbot success in ASF Buildbot on ofbiz-trunk

2015-04-18 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/836

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] 1674453
Blamelist: adrianc

Build succeeded!

Sincerely,
 -The Buildbot





[jira] [Closed] (OFBIZ-4308) CalendarDateSelect Shows wrong selected date

2015-04-18 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-4308.
--
Resolution: Cannot Reproduce

We are unable to reproduce this issue on trunk and R14.12 so closing this. I 
think this was the issue in R10.04.

> CalendarDateSelect Shows wrong selected date 
> -
>
> Key: OFBIZ-4308
> URL: https://issues.apache.org/jira/browse/OFBIZ-4308
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework
>Affects Versions: Release Branch 10.04
>Reporter: Stephen Rufle
>Assignee: Jacques Le Roux
> Attachments: 
> ASF.LICENSE.NOT.GRANTED--OrderPurchaseReportOptions-CalendarDateSelect.jpg, 
> ASF.LICENSE.NOT.GRANTED--screenshot-1.jpg, OFBIZ-4308.patch
>
>
> When a date value is initially specified ex.2011-05-03 and then the calendar 
> is popped open the date is off by one.



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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-4925:
---

Assignee: Deepak Dixit

> Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
> already purchased product A
> 
>
> Key: OFBIZ-4925
> URL: https://issues.apache.org/jira/browse/OFBIZ-4925
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release 10.04
> Environment: Revision : 1346235
>Reporter: Nandani Aggarwal
>Assignee: Deepak Dixit
>Priority: Minor
>




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


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

2015-04-18 Thread Amardeep Singh Jhajj (JIRA)

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

Amardeep Singh Jhajj commented on OFBIZ-4925:
-

We have checked the process i.e. a promotion in the order which includes gift 
with product and then manually applied promo code for 10% overall discount on 
the order. Everything is working fine with the flow. 

If you need any help while creating a promo code or associating it with 
promotion, please refer 
https://cwiki.apache.org/confluence/display/OFBIZ/Product+Promotion+Example .

I think we can close this task.

> Apply 2 diff promotions ( PROMO_PROD_DISC + PROMO_GWP) on single quantity of 
> already purchased product A
> 
>
> Key: OFBIZ-4925
> URL: https://issues.apache.org/jira/browse/OFBIZ-4925
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release 10.04
> Environment: Revision : 1346235
>Reporter: Nandani Aggarwal
>Priority: Minor
>




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


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

2015-04-18 Thread Deepak Dixit (JIRA)

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

Deepak Dixit reassigned OFBIZ-6202:
---

Assignee: Deepak Dixit  (was: Paul Foxworthy)

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



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


[jira] [Closed] (OFBIZ-6261) locationresolvers.properties is missing

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum closed OFBIZ-6261.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch

Fixed in rev 1674453.

> locationresolvers.properties is missing
> ---
>
> Key: OFBIZ-6261
> URL: https://issues.apache.org/jira/browse/OFBIZ-6261
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wai
>Assignee: Adrian Crum
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-6261.patch
>
>
> during ofbiz startup
> ...console output...
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bluelight]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bizznesstime]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [images]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 17:58:18,800 |main |SSLImpl   
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| Registering dispatcher: ebay
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceContainer  
> |I| Created new dispatcher: ebay



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


buildbot exception in ASF Buildbot on ofbiz-trunk

2015-04-18 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/835

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] 1674451
Blamelist: adrianc

BUILD FAILED: exception upload_3

Sincerely,
 -The Buildbot





[jira] [Commented] (OFBIZ-6261) locationresolvers.properties is missing

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum commented on OFBIZ-6261:


Thank you for working on this, but there is a problem with your patch. The 
UtilProperties.createProperties() JavaDoc says:

"This method is intended for low-level framework classes that need to read 
properties files before OFBiz has been fully initialized."

Your patch introduces a Debug.logWarning method call in low-level code where 
logging has not been initialized.

I will fix this myself. Thank you for the bug report and leading me to the 
cause of the problem.

> locationresolvers.properties is missing
> ---
>
> Key: OFBIZ-6261
> URL: https://issues.apache.org/jira/browse/OFBIZ-6261
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wai
> Attachments: OFBIZ-6261.patch
>
>
> during ofbiz startup
> ...console output...
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bluelight]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bizznesstime]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [images]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 17:58:18,800 |main |SSLImpl   
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| Registering dispatcher: ebay
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceContainer  
> |I| Created new dispatcher: ebay



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


[jira] [Assigned] (OFBIZ-6261) locationresolvers.properties is missing

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum reassigned OFBIZ-6261:
--

Assignee: Adrian Crum

> locationresolvers.properties is missing
> ---
>
> Key: OFBIZ-6261
> URL: https://issues.apache.org/jira/browse/OFBIZ-6261
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wai
>Assignee: Adrian Crum
> Attachments: OFBIZ-6261.patch
>
>
> during ofbiz startup
> ...console output...
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bluelight]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [bizznesstime]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [images]
> 2015-04-17 17:58:18,166 |main |CatalinaContainer 
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 17:58:18,800 |main |SSLImpl   
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| Registering dispatcher: ebay
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceContainer  
> |I| Created new dispatcher: ebay



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


[jira] [Closed] (OFBIZ-6259) ofbiz looking for web.xml in wrong place

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum closed OFBIZ-6259.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch

Fixed in rev 1674451. Thanks!

> ofbiz looking for web.xml in wrong place
> 
>
> Key: OFBIZ-6259
> URL: https://issues.apache.org/jira/browse/OFBIZ-6259
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wai
>Assignee: Adrian Crum
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-6259.patch
>
>
> start ofbiz
> ...console output...
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [bizznesstime]
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [images]
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 14:04:24,960 |catalina-startup-2   |CatalinaContainer 
> |I| 
> file:zzz/workspace/ofbiz/applications/content/webapp/content/images/WEB-INF/web.xml
>  not found.
> 2015-04-17 14:04:25,351 |main |SSLImpl   
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 14:04:25,859 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| Registering dispatcher: ebay
> 20



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


[jira] [Assigned] (OFBIZ-6259) ofbiz looking for web.xml in wrong place

2015-04-18 Thread Adrian Crum (JIRA)

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

Adrian Crum reassigned OFBIZ-6259:
--

Assignee: Adrian Crum

> ofbiz looking for web.xml in wrong place
> 
>
> Key: OFBIZ-6259
> URL: https://issues.apache.org/jira/browse/OFBIZ-6259
> Project: OFBiz
>  Issue Type: Bug
>Reporter: Wai
>Assignee: Adrian Crum
> Attachments: OFBIZ-6259.patch
>
>
> start ofbiz
> ...console output...
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [bizznesstime]
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [images]
> 2015-04-17 14:04:24,323 |main |CatalinaContainer 
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 14:04:24,960 |catalina-startup-2   |CatalinaContainer 
> |I| 
> file:zzz/workspace/ofbiz/applications/content/webapp/content/images/WEB-INF/web.xml
>  not found.
> 2015-04-17 14:04:25,351 |main |SSLImpl   
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 14:04:25,859 |0.0.0.0-startStop-1  |ServiceDispatcher 
> |I| Registering dispatcher: ebay
> 20



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


buildbot success in ASF Buildbot on ofbiz-branch12

2015-04-18 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/197

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] 1674450
Blamelist: deepak

Build succeeded!

Sincerely,
 -The Buildbot