Re: Running ant run-single-test-suite on your own component

2010-06-14 Thread Guy Gershoni
Oh how embarrassing case sensitive. I had in ComponentTests.xml MyTests as name of suite... changed to mytests and works :-) Guy It does complain about not On 15 June 2010 12:34, Scott Gray wrote: > Hi Guy, > > It should work fine, I've used it in the past without any problems.  Some > th

Re: Running ant run-single-test-suite on your own component

2010-06-14 Thread Scott Gray
Hi Guy, It should work fine, I've used it in the past without any problems. Some things to check: - is your component called mycomponent in it's ofbiz-component.xml? - is the test suite correctly referenced in the ofbiz-component.xml? - is the test suite called mytests in the test suite file? -

Running ant run-single-test-suite on your own component

2010-06-14 Thread Guy Gershoni
Hi Guys, I am trying to run "ant run-single-test-suite" on a component I created using "ant create-component". I added a java file to the source which extends OFBizTestCase and referenced it in testdef/ComponentTests.xml as a junit test suite. I modified the build.xml build target to build and

MySQL 5.5 obsoleted Table TYPE; now ENGINE -- Old issue OFBIZ-873

2010-06-14 Thread Brad Lanier, Ab Initio Technologies
This is apparently an old issue (see OFBIZ-873 http://markmail.org/message/xggd7nsnorbbhvrv ) that has reared its ugly head again. In MySQL 5.5, "TYPE is no longer supported in the table syntax. Here is the excerpt from "What's new in MySQL 5.5": "The following constructs are obsolete and have b

Re: extension field in PartyContactMech entity, why?

2010-06-14 Thread BJ Freeman
yes and what about Mailstop I agree they should be in the respective types. it would easier for auto dialing and labeling services. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: extension field in PartyContactMech entity, why?

2010-06-14 Thread Jacques Le Roux
I forgot to say though that there are any explanations about extension being there. And I still find weird to find it there since it's really a part of phone number and so is only used in Party Contact Mech when it's a phone number. So yes maybe Adam proposition would be better, but do we really

Re: extension field in PartyContactMech entity, why?

2010-06-14 Thread Jacques Le Roux
OK, I opened "the book" at p.55 and I see it there in PCM and I understand it's there because of Party Role Type which makes sense indeed. But it's really not obvious when you are working in services... Jacques From: "BJ Freeman" my thinking is an extension is connected to party where the Tel

Re: svn commit: r954583 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

2010-06-14 Thread Jacques Le Roux
From: "Adam Heath" jler...@apache.org wrote: Author: jleroux Date: Mon Jun 14 18:40:05 2010 New Revision: 954583 URL: http://svn.apache.org/viewvc?rev=954583&view=rev Log: Fix a bug that seems to have been introduced at r934389 for (https://issues.apache.org/jira/browse/OFBIZ-3703) - OFBIZ-37

Re: extension field in PartyContactMech entity, why?

2010-06-14 Thread BJ Freeman
my thinking is an extension is connected to party where the TelecomNumber could be connected to a company. however why an extension why not a type? = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: svn commit: r954583 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

2010-06-14 Thread Adam Heath
jler...@apache.org wrote: > Author: jleroux > Date: Mon Jun 14 18:40:05 2010 > New Revision: 954583 > > URL: http://svn.apache.org/viewvc?rev=954583&view=rev > Log: > Fix a bug that seems to have been introduced at r934389 for > (https://issues.apache.org/jira/browse/OFBIZ-3703) - OFBIZ-3703 > >

extension field in PartyContactMech entity, why?

2010-06-14 Thread Jacques Le Roux
I spent some hours today to track a non obvious bug in updatePartyContactMech service. I must say that I find very weird to have the extension field in PartyContactMech entity. It would be certainly more logical to have it in TelecomNumber. Is it really used for anything else than phone number ex

[jira] Commented: (OFBIZ-3703) updatePartyContactMech service creates new record while contactMechId is unchange.

2010-06-14 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878691#action_12878691 ] Jacques Le Roux commented on OFBIZ-3703: There was a bug in this: it did not take i

Re: svn commit: r954135 - in /ofbiz/trunk: applications/accounting/webapp/accounting/WEB-INF/ applications/accounting/webapp/ap/WEB-INF/ applications/accounting/webapp/ar/WEB-INF/ applications/commone

2010-06-14 Thread BJ Freeman
it is simple. the errors that appear in the log about broken pipes and not finding the error/jsp do not appear after this is done. I may not understand the code. I do understand it works. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Auto

Re: svn commit: r954534 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

2010-06-14 Thread Jacques Le Roux
It was Adrian ;o) Jacques From: Author: erwan Date: Mon Jun 14 16:07:16 2010 New Revision: 954534 URL: http://svn.apache.org/viewvc?rev=954534&view=rev Log: As spotted by Scott on the dev mailing-list, this is a better writing Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/fo

Re: [jira] Closed: (OFBIZ-3789) No results when searching with keywords in catalog

2010-06-14 Thread rohit
Hi Adam, Can you please re-check the commit. I am running postgres 8.4 on FC8 and JDK 1.6._17. I am still getting the error as below: 2010-06-14 03:58:48,600 (TP-Processor5) [ ControlServlet.java:144:INFO ] [[[keywordsearch] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]

Re: svn commit: r954437 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

2010-06-14 Thread Adrian Crum
On 6/14/2010 6:12 AM, er...@apache.org wrote: Author: erwan Date: Mon Jun 14 13:12:06 2010 New Revision: 954437 URL: http://svn.apache.org/viewvc?rev=954437&view=rev Log: Allows to parameterize a form id Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Modif

[jira] Commented: (OFBIZ-3212) Improvement of Dutch language file for projectmgr

2010-06-14 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878565#action_12878565 ] Jacques Le Roux commented on OFBIZ-3212: Should we close? > Improvement of Dutch

[jira] Assigned: (OFBIZ-3765) Use CustomMethod for select order, quote and invoice hook to resolve id

2010-06-14 Thread Erwan de FERRIERES (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erwan de FERRIERES reassigned OFBIZ-3765: - Assignee: Erwan de FERRIERES > Use CustomMethod for select order, quote and invoi

[jira] Commented: (OFBIZ-3765) Use CustomMethod for select order, quote and invoice hook to resolve id

2010-06-14 Thread Erwan de FERRIERES (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878560#action_12878560 ] Erwan de FERRIERES commented on OFBIZ-3765: --- Yeah, thanks for closing it... Forgo

Re: for loop in simple method

2010-06-14 Thread Atul Vani
hi Swapnil, how about you use never tried it, but i guess it would work. Please use 'User Mailing List' for such questions. -- Thanks & Regards Atul Vani Enterprise Software Developer HotWax Media Pvt. Ltd. http://www.hotwaxmedia.com/ We are the Global Leaders in Apache OFBiz, Google 'ofbiz' a

for loop in simple method

2010-06-14 Thread Swapnil Sawant
Hi, Can anyone pl let me know if there is any looping functionality (for loop) implemented in simple method of ofbiz ? I want to do iteration in simple method as given below : int start = ; int end = ; for(int i=start;i<=end;i++){ //some processing here } Any sample piece of

[jira] Closed: (OFBIZ-3765) Use CustomMethod for select order, quote and invoice hook to resolve id

2010-06-14 Thread Nicolas Malin (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin closed OFBIZ-3765. Resolution: Fixed Tks erwan for the commit at revision 954388 > Use CustomMethod for select order,

[jira] Created: (OFBIZ-3823) Contacts and Leads don't show up in SFA when created without contact details, e.g. email or postal address

2010-06-14 Thread Pierre Smits (JIRA)
Contacts and Leads don't show up in SFA when created without contact details, e.g. email or postal address -- Key: OFBIZ-3823 URL: https://issues.apache.org/ji

The parameters map is a pain

2010-06-14 Thread Scott Gray
Let's say I want to do some preprocessing in a custom event before an OOTB event gets triggered, I can't do it because there is no way for me to alter any of the parameters. The only way for me to do it is completely replace the OOTB event which obviously isn't something we want developers to h

[jira] Created: (OFBIZ-3822) SFA accounts do not show up in overview when no contact mechs are available

2010-06-14 Thread Pierre Smits (JIRA)
SFA accounts do not show up in overview when no contact mechs are available --- Key: OFBIZ-3822 URL: https://issues.apache.org/jira/browse/OFBIZ-3822 Project: OFBiz Issu

[jira] Created: (OFBIZ-3821) Using number value with calcop operator does not work as thought

2010-06-14 Thread Jacques Le Roux (JIRA)
Using number value with calcop operator does not work as thought Key: OFBIZ-3821 URL: https://issues.apache.org/jira/browse/OFBIZ-3821 Project: OFBiz Issue Type: Bug

Re: svn commit: r954135 - in /ofbiz/trunk: applications/accounting/webapp/accounting/WEB-INF/ applications/accounting/webapp/ap/WEB-INF/ applications/accounting/webapp/ar/WEB-INF/ applications/commone

2010-06-14 Thread Scott Gray
I'm tired of repeating myself, based on the information you have provided I see no reason why adding /error to the allowed paths makes any difference whatsoever. You are misunderstanding how the error page is accessed and what the allowedPaths actually does, I don't know how to convince you oth

Re: AW: Discussion: When To Use Javolution (was: EntityCondition factory objects)

2010-06-14 Thread David E Jones
Karl, That's a good way to look at it. The JDK definitely progresses over time and more standard approaches may very well do as well or better. If anyone wants to do some profiling to compare some alternatives to current framework code, that would be neat to see and would "seal the deal" as it

Re: svn commit: r954135 - in /ofbiz/trunk: applications/accounting/webapp/accounting/WEB-INF/ applications/accounting/webapp/ap/WEB-INF/ applications/accounting/webapp/ar/WEB-INF/ applications/commone

2010-06-14 Thread BJ Freeman
based on the code I posted in the UML there is an error that ofbiz wants to report but the exception, due to the error path, diverts it and original error does not get displayed. so yes it does not fix the original error. it does keep the exception from happening which lets me see the original e