[jira] Reopened: (OFBIZ-3473) SimpleMapProcessor don't stop after the first error

2010-02-12 Thread Dimitri Unruh (JIRA)

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

Dimitri Unruh reopened OFBIZ-3473:
--


 SimpleMapProcessor don't stop after the first error
 ---

 Key: OFBIZ-3473
 URL: https://issues.apache.org/jira/browse/OFBIZ-3473
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
Reporter: Dimitri Unruh
Assignee: David E. Jones
 Fix For: SVN trunk

 Attachments: SimpleMapProcess.patch


 Hi @all,
 the SimpleMapProcessor don't stop the validation for a given field after the 
 first error.
 For example:
 I need to validate  a birthdate from an input field. So I process two 
 validation for the field:
 1. isDate
 2. isDateBeforeToday
 If the string is not a proper date, the process should stop here, because the 
 secand validation would throw an exception.
 I modified this. Hopefully you like it :)
 Dimitri

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-3473) SimpleMapProcessor don't stop after the first error

2010-02-12 Thread Dimitri Unruh (JIRA)

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

Dimitri Unruh commented on OFBIZ-3473:
--

David,

sorry, I don't agree with you. Maybe my description was not so clear, so I try 
it again:

Have a look at the following example:

 simple-map-processor name=newPerson
 process field=USER_FIRST_NAME
  
  /process
  process field=...
   
  /process   
  process field=birthDate   
  not-emptyfail-property  //not-empty
  validate-method method=isDatefail-property 
...//validate-method
  validate-method method=isDateBeforeTodayfail-property 
...//validate-method
  /process
  process field=...
   
  /process 
 /simple-map-processor

1. case: we got an empty value for birthDate 
Message: birthDate is a required field

2. case: birthDate is 12/12/2020
Message: birthDate is invalid because you are not M.J.Fox :)

3. case: birthDate is abc
Messages: birthDate has a from format and birthDate is invalid because you 
are not M.J.Fox :)

And that's the pont: the second message is (in my optinion) a failure here. You 
talking about frustrating a user, I guess this one would let him stop the 
process (just look at some useability studies for ecommerce).
We have to tell a user everytime what is going on and give him an exact message 
as a feedback to his input.

I hope this makes my intention more clear, so I will reopen this issue.

Dimitri

 SimpleMapProcessor don't stop after the first error
 ---

 Key: OFBIZ-3473
 URL: https://issues.apache.org/jira/browse/OFBIZ-3473
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
Reporter: Dimitri Unruh
Assignee: David E. Jones
 Fix For: SVN trunk

 Attachments: SimpleMapProcess.patch


 Hi @all,
 the SimpleMapProcessor don't stop the validation for a given field after the 
 first error.
 For example:
 I need to validate  a birthdate from an input field. So I process two 
 validation for the field:
 1. isDate
 2. isDateBeforeToday
 If the string is not a proper date, the process should stop here, because the 
 secand validation would throw an exception.
 I modified this. Hopefully you like it :)
 Dimitri

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacques Le Roux

I tried and got this

[jler...@minotaur:~]$ cd /www/ofbiz.apache.org/
[jler...@minotaur:/www/ofbiz.apache.org]$ svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
[jler...@minotaur:/www/ofbiz.apache.org]$
[jler...@minotaur:/www/ofbiz.apache.org]$ svn cleanup
svn: Can't open file 'bookimages/.svn/lock': Permission denied
[jler...@minotaur:/www/ofbiz.apache.org]$

I vaguely remember a such issue and Adam asked Ruppert to do some thing, it was some weeks ago. Not sure it's related though (as 
it's really vague in my mind)


Jacques

From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

To all OFBiz committers,

today I got the following error when I was trying to update the OFBiz website (svn 
up in the folder /www/ofbiz.apache.org/):

svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied

Am I the only one that is experiencing this?

Thanks

Jacopo







[jira] Closed: (OFBIZ-3451) Allow to quit a layered lookup with esc key

2010-02-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux closed OFBIZ-3451.
--

   Resolution: Fixed
Fix Version/s: SVN trunk
 Assignee: Jacques Le Roux

Thanks Sascha,

Your patch is in trunk at r909312  


 Allow to quit a layered lookup with esc key
 ---

 Key: OFBIZ-3451
 URL: https://issues.apache.org/jira/browse/OFBIZ-3451
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
 Fix For: SVN trunk

 Attachments: OFBIZ-3451_lookup_ESC_Key_fix.patch




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-3449) Allow to open a layered lookup while on another layere lookup (not inside the layered lookup but on the page which called the current lookup open)

2010-02-12 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-3449:


I was not quite sure this was possible, but as Calendars are also called from 
layered popups, it seems possible.

 Allow to open a layered lookup while on another layere lookup (not inside 
 the layered lookup but on the page which called the current lookup open)
 

 Key: OFBIZ-3449
 URL: https://issues.apache.org/jira/browse/OFBIZ-3449
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-3451) Allow to quit a layered lookup with esc key

2010-02-12 Thread Sascha Rodekamp (JIRA)

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

Sascha Rodekamp commented on OFBIZ-3451:


Thanks Jacques

Have a nice day :-)!!

 Allow to quit a layered lookup with esc key
 ---

 Key: OFBIZ-3451
 URL: https://issues.apache.org/jira/browse/OFBIZ-3451
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
 Fix For: SVN trunk

 Attachments: OFBIZ-3451_lookup_ESC_Key_fix.patch




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Christian Geisert

Jacopo Cappellato schrieb:

To all OFBiz committers,

today I got the following error when I was trying to update the OFBiz website (svn 
up in the folder /www/ofbiz.apache.org/):

svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied

Am I the only one that is experiencing this?


It just worked for me (did first 'svn cleanup', then an successfull 'svn 
up')
I guess this is related to the recent changes regarding LDAP, you're 
probably missing a unix group. Just run 'id' on people.apache.org to see

of which groups you are a member.
I think you should be at last a member of committers and ofbiz (and 
maybe apsite)


Christian


Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacopo Cappellato

On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:

 Jacopo Cappellato schrieb:
 To all OFBiz committers,
 today I got the following error when I was trying to update the OFBiz 
 website (svn up in the folder /www/ofbiz.apache.org/):
 svn: In directory '.'
 svn: Can't open 'tempfile.tmp': Permission denied
 Am I the only one that is experiencing this?
 
 It just worked for me (did first 'svn cleanup', then an successfull 'svn up')
 I guess this is related to the recent changes regarding LDAP, you're probably 
 missing a unix group. Just run 'id' on people.apache.org to see
 of which groups you are a member.
 I think you should be at last a member of committers and ofbiz (and maybe 
 apsite)
 
 Christian

Thank you Christian, this is of great help!
Here is the output of the 'id' command:

uid=2275(jacopoc) gid=2275(jacopoc) 
groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)

It seems that I am not in the ofbiz group (and I am not the only one).

Ok, I think that this can be fixed at the PMC level.

Kind regards,

Jacopo



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacques Le Roux

Hi Christian, Jacopo,

What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).

Thanks

Jacques
PS: I vaguely remember a message on an ASF ML saying that with this LDPA change it was now PMC chairs responsability to handle 
groups assignments, not quite sure though...


From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com


On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:


Jacopo Cappellato schrieb:

To all OFBiz committers,
today I got the following error when I was trying to update the OFBiz website (svn 
up in the folder /www/ofbiz.apache.org/):
svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied
Am I the only one that is experiencing this?


It just worked for me (did first 'svn cleanup', then an successfull 'svn up')
I guess this is related to the recent changes regarding LDAP, you're probably missing a unix group. Just run 'id' on 
people.apache.org to see

of which groups you are a member.
I think you should be at last a member of committers and ofbiz (and maybe 
apsite)

Christian


Thank you Christian, this is of great help!
Here is the output of the 'id' command:

uid=2275(jacopoc) gid=2275(jacopoc) 
groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)

It seems that I am not in the ofbiz group (and I am not the only one).

Ok, I think that this can be fixed at the PMC level.

Kind regards,

Jacopo







Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacopo Cappellato
Hi Jacques,

I don't know but maybe it is a group I am in because I am a member of the ASF.

Jacopo

On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:

 Hi Christian, Jacopo,
 
 What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).
 
 Thanks
 
 Jacques
 PS: I vaguely remember a message on an ASF ML saying that with this LDPA 
 change it was now PMC chairs responsability to handle groups assignments, not 
 quite sure though...
 
 From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com
 
 On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:
 
 Jacopo Cappellato schrieb:
 To all OFBiz committers,
 today I got the following error when I was trying to update the OFBiz 
 website (svn up in the folder /www/ofbiz.apache.org/):
 svn: In directory '.'
 svn: Can't open 'tempfile.tmp': Permission denied
 Am I the only one that is experiencing this?
 
 It just worked for me (did first 'svn cleanup', then an successfull 'svn 
 up')
 I guess this is related to the recent changes regarding LDAP, you're 
 probably missing a unix group. Just run 'id' on people.apache.org to see
 of which groups you are a member.
 I think you should be at last a member of committers and ofbiz (and maybe 
 apsite)
 
 Christian
 
 Thank you Christian, this is of great help!
 Here is the output of the 'id' command:
 
 uid=2275(jacopoc) gid=2275(jacopoc) 
 groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)
 
 It seems that I am not in the ofbiz group (and I am not the only one).
 
 Ok, I think that this can be fixed at the PMC level.
 
 Kind regards,
 
 Jacopo
 
 
 



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Christian Geisert

Yes, I think 'apsite' is for the ASF main website (www.apache.org)

This issue with the missing 'ofbiz' group should be fixed by David (the 
PMC chair) by running 'modify_unix_group.pl ofbiz --add=jacopoc' (and 
all others missing, see 'list_unix_group.pl ofbiz') on people.apache.org


Christian

Jacopo Cappellato schrieb:

Hi Jacques,

I don't know but maybe it is a group I am in because I am a member of the ASF.

Jacopo

On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:


Hi Christian, Jacopo,

What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).

Thanks

Jacques
PS: I vaguely remember a message on an ASF ML saying that with this LDPA change 
it was now PMC chairs responsability to handle groups assignments, not quite 
sure though...

From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:


Jacopo Cappellato schrieb:

To all OFBiz committers,
today I got the following error when I was trying to update the OFBiz website (svn 
up in the folder /www/ofbiz.apache.org/):
svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied
Am I the only one that is experiencing this?

It just worked for me (did first 'svn cleanup', then an successfull 'svn up')
I guess this is related to the recent changes regarding LDAP, you're probably 
missing a unix group. Just run 'id' on people.apache.org to see
of which groups you are a member.
I think you should be at last a member of committers and ofbiz (and maybe 
apsite)

Christian

Thank you Christian, this is of great help!
Here is the output of the 'id' command:

uid=2275(jacopoc) gid=2275(jacopoc) 
groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)

It seems that I am not in the ofbiz group (and I am not the only one).

Ok, I think that this can be fixed at the PMC level.

Kind regards,

Jacopo










Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacques Le Roux

Thanks Christian,

I guess David will do it when he will get a chance

Jacques

From: Christian Geisert christian.geis...@isu-gmbh.de

Yes, I think 'apsite' is for the ASF main website (www.apache.org)

This issue with the missing 'ofbiz' group should be fixed by David (the PMC chair) by running 'modify_unix_group.pl 
ofbiz --add=jacopoc' (and all others missing, see 'list_unix_group.pl ofbiz') on people.apache.org


Christian

Jacopo Cappellato schrieb:

Hi Jacques,

I don't know but maybe it is a group I am in because I am a member of the ASF.

Jacopo

On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:


Hi Christian, Jacopo,

What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).

Thanks

Jacques
PS: I vaguely remember a message on an ASF ML saying that with this LDPA change it was now PMC chairs responsability to handle 
groups assignments, not quite sure though...


From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:


Jacopo Cappellato schrieb:

To all OFBiz committers,
today I got the following error when I was trying to update the OFBiz website (svn up in the folder 
/www/ofbiz.apache.org/):

svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied
Am I the only one that is experiencing this?

It just worked for me (did first 'svn cleanup', then an successfull 'svn up')
I guess this is related to the recent changes regarding LDAP, you're probably missing a unix group. Just run 'id' on 
people.apache.org to see

of which groups you are a member.
I think you should be at last a member of committers and ofbiz (and maybe 
apsite)

Christian

Thank you Christian, this is of great help!
Here is the output of the 'id' command:

uid=2275(jacopoc) gid=2275(jacopoc) 
groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)

It seems that I am not in the ofbiz group (and I am not the only one).

Ok, I think that this can be fixed at the PMC level.

Kind regards,

Jacopo













Re: sales tax included twice in shopping cart

2010-02-12 Thread Willem Janssen

Thank you for this feedback Hans!

Another attempt then to explain this issue (reproduced in the demo  
system):




First of all some backend data has to be set to reproduce this problem:

1. Set up a tax authority for the demo shop. I used the tax authority  
party with ID ON_TAXMAN, because this one already has ‘Include Tax in  
Price = Y’. At ‘Product Rates’ I added a sales tax value for the demo  
store (9000).


2. Then the store settings for store with ID 9000: Prorate taxes = Y,  
Show prices with vat tax included = Y, Show tax is exempt = Y, Vat Tax  
Auth Geo Id = ON, Vat Tax Auth Party Id = ON_TAXMAN. (no changes to  
other store data)




In in the ecommerce application:

3. Add a product to the shopping cart

4. Check out (use a shipping address in Ontario, Canada to use the tax  
settings).


5. From the Final Checkout Review screen navigate back to home (so not  
submitting the order)


6. Navigate to shopping cart

= The Sales Tax is included twice in the total display amount.



If things remain unclear please let me know (I could provide  
screenshots to reproduce).


Willem





Op 3 feb 2010, om 13:47 heeft Hans Bakker het volgende geschreven:


Hi Willem,

Your story is too general. If you would like to have a clear answer  
try

to reconstruct it on your local system (demo system is down at the
moment) using a standard trunk version and standard demo data.

If you you can give a replayable series of inputs which shows the
problem, you have a much bigger chance to receive an answer on this
problem.

Regards,
Hans

On Mon, 2010-01-25 at 22:54 +0100, Willem Janssen wrote:

Hello,

In the ecommerce application I see there is one path of user actions
that leads to the display of the total product price in the cart  
where

the sales tax is included twice (also in the trunk).

This happens when:
- navigating away from the chechoutreview screen (not finalizing  
order)

- the productStore setting Show prices with VAT tax included = J.

Technically speaking I think the following is happening:
- When going from the checkoutoptions to the checkoutreview screen  
the

tax is calculated for the cart, by calling the function
cart.getTotalSalesTax(); in checkoutreview.groovy.
- The debugger mentions this: TaxAuthorityServices.java:118:INFO ]  
For

productId [zszSanRemo1] added [38.000] of tax to price for geoId
[NLD], new price is [238.000]
- In shoppingcart.java, in the getDisplayGrandTotal function, which
output is used to show the cart prices, the tax is added. (to the
price that is already including the sales tax)

When in ShoppingCart.java in the function getDisplayGrandTotal,
replacing
return
this
.getDisplaySubTotal
().add
(this
.getTotalShipping
()).add
(this.getTotalSalesTax()).add(this.getOrderOtherAdjustmentTotal());

with
return
this
.getDisplaySubTotal
().add
(this.getTotalShipping()).add(this.getOrderOtherAdjustmentTotal());

the prices are shown as I would expect them to show:
Show prices with VAT tax included = J you always want to display
prices including sales tax and, with value N never, also not after  
you

abort the checkout proces.

I've been working with OFBiz a bit longer now and usually there are
some good reasons to do things, as I expect there are for the above
mentioned example. However this leads to undesired results when
showing prices including sales tax?

Like to read your thoughts on this.

Met vriendelijke groet,

Willem Janssen

T: 073 532 74 11
F: 073 532 74 12
M: 06 27 888 464
E: i...@zchok.nl
W: www.zchok.nl







--
Antwebsystems.com: Quality OFBiz services for competitive rates



Met vriendelijke groet,

Willem Janssen

T: 073 532 74 11
F: 073 532 74 12
M: 06 27 888 464
E: i...@zchok.nl
W: www.zchok.nl








Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Matthieu Bollot
Hi dev,
I've got some problems since yesterday, may be it is related to this
error :
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#FindScreenDecorator]:
java.lang.UnsupportedOperationException (null)

that you can find here :
https://ofbiz-vm.apache.org/sfa/control/FindLeads


in logs I've got :
2010-02-12 14:54:45,274 (Finalizer)
[ EntityListIterator.java:546:ERROR] 
 runtime exception report
--
Error closing the SQLProcessor in finalize EntityListIterator
Exception: java.lang.NullPointerException
Message: null
 stack trace
---
java.lang.NullPointerException



so it may be related to this commit :

Le mercredi 10 février 2010 à 22:10 +, doo...@apache.org a écrit :
 Author: doogie
 Date: Wed Feb 10 22:10:44 2010
 New Revision: 908676

hope it helps,

-- 
Matthieu BOLLOT
www.nereide.biz



Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adrian Crum

Actually, that error message was caused by rev 908700.

-Adrian

Matthieu Bollot wrote:

Hi dev,
I've got some problems since yesterday, may be it is related to this
error :
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#FindScreenDecorator]:
java.lang.UnsupportedOperationException (null)

that you can find here :
https://ofbiz-vm.apache.org/sfa/control/FindLeads


in logs I've got :
2010-02-12 14:54:45,274 (Finalizer)
[ EntityListIterator.java:546:ERROR] 
 runtime exception report

--
Error closing the SQLProcessor in finalize EntityListIterator
Exception: java.lang.NullPointerException
Message: null
 stack trace
---
java.lang.NullPointerException



so it may be related to this commit :

Le mercredi 10 février 2010 à 22:10 +, doo...@apache.org a écrit :

Author: doogie
Date: Wed Feb 10 22:10:44 2010
New Revision: 908676


hope it helps,



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread David E Jones

Thanks for sending over those details Christian. Yes, they did indeed do the 
switch over to the LDAP-based authorization and the settings are there and not 
in the old file (some of them anyway, now they are split... I'm glad we don't 
have more granular authorizations for the ofbiz branch of SVN any more).

Anyway, I just took care of this and added all of the pmc members to the ofbiz 
group, and changed the new authorization file to not include the ofbiz-pmc 
group (not sure if that was working anyway).

For PMC members: please speak up if you run into any more permission errors as 
these should now all be fixed (or at least based on what I've read all the 
changes that need to be made are now done, but there's always a chance with 
such changes that something is missing).

-David


On Feb 12, 2010, at 5:01 AM, Jacques Le Roux wrote:

 Thanks Christian,
 
 I guess David will do it when he will get a chance
 
 Jacques
 
 From: Christian Geisert christian.geis...@isu-gmbh.de
 Yes, I think 'apsite' is for the ASF main website (www.apache.org)
 
 This issue with the missing 'ofbiz' group should be fixed by David (the PMC 
 chair) by running 'modify_unix_group.pl ofbiz --add=jacopoc' (and all others 
 missing, see 'list_unix_group.pl ofbiz') on people.apache.org
 
 Christian
 
 Jacopo Cappellato schrieb:
 Hi Jacques,
 
 I don't know but maybe it is a group I am in because I am a member of the 
 ASF.
 
 Jacopo
 
 On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:
 
 Hi Christian, Jacopo,
 
 What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).
 
 Thanks
 
 Jacques
 PS: I vaguely remember a message on an ASF ML saying that with this LDPA 
 change it was now PMC chairs responsability to handle groups assignments, 
 not quite sure though...
 
 From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com
 On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:
 
 Jacopo Cappellato schrieb:
 To all OFBiz committers,
 today I got the following error when I was trying to update the OFBiz 
 website (svn up in the folder /www/ofbiz.apache.org/):
 svn: In directory '.'
 svn: Can't open 'tempfile.tmp': Permission denied
 Am I the only one that is experiencing this?
 It just worked for me (did first 'svn cleanup', then an successfull 'svn 
 up')
 I guess this is related to the recent changes regarding LDAP, you're 
 probably missing a unix group. Just run 'id' on people.apache.org to see
 of which groups you are a member.
 I think you should be at last a member of committers and ofbiz (and 
 maybe apsite)
 
 Christian
 Thank you Christian, this is of great help!
 Here is the output of the 'id' command:
 
 uid=2275(jacopoc) gid=2275(jacopoc) 
 groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)
 
 It seems that I am not in the ofbiz group (and I am not the only one).
 
 Ok, I think that this can be fixed at the PMC level.
 
 Kind regards,
 
 Jacopo
 
 
 
 
 
 



Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Adrian Crum

Thanks David!

-Adrian

David E Jones wrote:

Thanks for sending over those details Christian. Yes, they did indeed do the 
switch over to the LDAP-based authorization and the settings are there and not 
in the old file (some of them anyway, now they are split... I'm glad we don't 
have more granular authorizations for the ofbiz branch of SVN any more).

Anyway, I just took care of this and added all of the pmc members to the ofbiz 
group, and changed the new authorization file to not include the ofbiz-pmc 
group (not sure if that was working anyway).

For PMC members: please speak up if you run into any more permission errors as 
these should now all be fixed (or at least based on what I've read all the 
changes that need to be made are now done, but there's always a chance with 
such changes that something is missing).

-David


On Feb 12, 2010, at 5:01 AM, Jacques Le Roux wrote:


Thanks Christian,

I guess David will do it when he will get a chance

Jacques

From: Christian Geisert christian.geis...@isu-gmbh.de

Yes, I think 'apsite' is for the ASF main website (www.apache.org)

This issue with the missing 'ofbiz' group should be fixed by David (the PMC 
chair) by running 'modify_unix_group.pl ofbiz --add=jacopoc' (and all others 
missing, see 'list_unix_group.pl ofbiz') on people.apache.org

Christian

Jacopo Cappellato schrieb:

Hi Jacques,

I don't know but maybe it is a group I am in because I am a member of the ASF.

Jacopo

On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:


Hi Christian, Jacopo,

What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).

Thanks

Jacques
PS: I vaguely remember a message on an ASF ML saying that with this LDPA change 
it was now PMC chairs responsability to handle groups assignments, not quite 
sure though...

From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:


Jacopo Cappellato schrieb:

To all OFBiz committers,
today I got the following error when I was trying to update the OFBiz website (svn 
up in the folder /www/ofbiz.apache.org/):
svn: In directory '.'
svn: Can't open 'tempfile.tmp': Permission denied
Am I the only one that is experiencing this?

It just worked for me (did first 'svn cleanup', then an successfull 'svn up')
I guess this is related to the recent changes regarding LDAP, you're probably 
missing a unix group. Just run 'id' on people.apache.org to see
of which groups you are a member.
I think you should be at last a member of committers and ofbiz (and maybe 
apsite)

Christian

Thank you Christian, this is of great help!
Here is the output of the 'id' command:

uid=2275(jacopoc) gid=2275(jacopoc) 
groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)

It seems that I am not in the ofbiz group (and I am not the only one).

Ok, I think that this can be fixed at the PMC level.

Kind regards,

Jacopo










Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacopo Cappellato
Thank you, David.

Jacopo

On Feb 12, 2010, at 6:38 PM, Adrian Crum wrote:

 Thanks David!
 
 -Adrian
 
 David E Jones wrote:
 Thanks for sending over those details Christian. Yes, they did indeed do the 
 switch over to the LDAP-based authorization and the settings are there and 
 not in the old file (some of them anyway, now they are split... I'm glad we 
 don't have more granular authorizations for the ofbiz branch of SVN any 
 more).
 Anyway, I just took care of this and added all of the pmc members to the 
 ofbiz group, and changed the new authorization file to not include the 
 ofbiz-pmc group (not sure if that was working anyway).
 For PMC members: please speak up if you run into any more permission errors 
 as these should now all be fixed (or at least based on what I've read all 
 the changes that need to be made are now done, but there's always a chance 
 with such changes that something is missing).
 -David
 On Feb 12, 2010, at 5:01 AM, Jacques Le Roux wrote:
 Thanks Christian,
 
 I guess David will do it when he will get a chance
 
 Jacques
 
 From: Christian Geisert christian.geis...@isu-gmbh.de
 Yes, I think 'apsite' is for the ASF main website (www.apache.org)
 
 This issue with the missing 'ofbiz' group should be fixed by David (the 
 PMC chair) by running 'modify_unix_group.pl ofbiz --add=jacopoc' (and all 
 others missing, see 'list_unix_group.pl ofbiz') on people.apache.org
 
 Christian
 
 Jacopo Cappellato schrieb:
 Hi Jacques,
 
 I don't know but maybe it is a group I am in because I am a member of the 
 ASF.
 
 Jacopo
 
 On Feb 12, 2010, at 11:48 AM, Jacques Le Roux wrote:
 
 Hi Christian, Jacopo,
 
 What is exactly apsite ? (I'm not in this group, nor in ofbiz BTW).
 
 Thanks
 
 Jacques
 PS: I vaguely remember a message on an ASF ML saying that with this LDPA 
 change it was now PMC chairs responsability to handle groups 
 assignments, not quite sure though...
 
 From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com
 On Feb 12, 2010, at 11:07 AM, Christian Geisert wrote:
 
 Jacopo Cappellato schrieb:
 To all OFBiz committers,
 today I got the following error when I was trying to update the OFBiz 
 website (svn up in the folder /www/ofbiz.apache.org/):
 svn: In directory '.'
 svn: Can't open 'tempfile.tmp': Permission denied
 Am I the only one that is experiencing this?
 It just worked for me (did first 'svn cleanup', then an successfull 
 'svn up')
 I guess this is related to the recent changes regarding LDAP, you're 
 probably missing a unix group. Just run 'id' on people.apache.org to 
 see
 of which groups you are a member.
 I think you should be at last a member of committers and ofbiz (and 
 maybe apsite)
 
 Christian
 Thank you Christian, this is of great help!
 Here is the output of the 'id' command:
 
 uid=2275(jacopoc) gid=2275(jacopoc) 
 groups=2275(jacopoc),5000(committers),5008(member),5014(apsite)
 
 It seems that I am not in the ofbiz group (and I am not the only one).
 
 Ok, I think that this can be fixed at the PMC level.
 
 Kind regards,
 
 Jacopo
 
 
 



Re: Fixing license headers

2010-02-12 Thread Adam Heath
Jacopo Cappellato wrote:
 a quick update on this:
 
 1) all the files under applications/content/template/docbook should be fine 
 (they don't have a license header but they are under a compatible license)
 2) the license issue (if any) that Hans and I were discussing is only related 
 to the 3 files docbook.xsd, docbook.dtd, xlink.xsl and xml.xsl: they are 
 distributed under the GNU Free Documentation License
 GNU Free Documentation License but Hans got an ok message from one of the 
 authors as mentioned in our LICENSE file:
 
 It was allowed by the author to use the docbook files within the Apache 
 OFBiz system in an email to H.Bakker from N.Walsh dd Tue, 25 Aug 2009 
 07:27:51 -0400 (18:27 ICT)
 
 Even if I suspect that we may have to take further actions for #2, I have to 
 say that #1 is really a good news (since that group contains a big amount of 
 files).
 

Permission for ofbiz is not enough; what about others that distribute
ofbiz, oh, like, brainfood?  Ie, is this permission transitive.


Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Adam Heath
Jacques Le Roux wrote:
 I tried and got this
 
 [jler...@minotaur:~]$ cd /www/ofbiz.apache.org/
 [jler...@minotaur:/www/ofbiz.apache.org]$ svn up
 svn: Working copy '.' locked
 svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
 details)
 [jler...@minotaur:/www/ofbiz.apache.org]$
 [jler...@minotaur:/www/ofbiz.apache.org]$ svn cleanup
 svn: Can't open file 'bookimages/.svn/lock': Permission denied
 [jler...@minotaur:/www/ofbiz.apache.org]$
 
 I vaguely remember a such issue and Adam asked Ruppert to do some
 thing, it was some weeks ago. Not sure it's related though (as it's
 really vague in my mind)

Wasn't me.


Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adam Heath
Adrian Crum wrote:
 Actually, that error message was caused by rev 908700.

How?  That added an Enum converter; I didn't think ofbiz actually used
enums mutch.


Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adam Heath
Adam Heath wrote:
 Adrian Crum wrote:
 Actually, that error message was caused by rev 908700.
 
 How?  That added an Enum converter; I didn't think ofbiz actually used
 enums mutch.

Ok, I see it; Is this code trying to convert a String to an Enum?
That's not supported.  To make that work, you also need to pass in a
the target class.  Perhaps we should remove the single arg variant of
convert.


Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adrian Crum
--- On Fri, 2/12/10, Adam Heath doo...@brainfood.com wrote:
 From: Adam Heath doo...@brainfood.com
 Subject: Re: svn commit: r908676 - 
 /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java
 To: dev@ofbiz.apache.org
 Date: Friday, February 12, 2010, 10:16 AM
 Adam Heath wrote:
  Adrian Crum wrote:
  Actually, that error message was caused by rev
 908700.
  
  How?  That added an Enum converter; I didn't
 think ofbiz actually used
  enums mutch.
 
 Ok, I see it; Is this code trying to convert a String to an
 Enum?
 That's not supported.  To make that work, you also
 need to pass in a
 the target class.  Perhaps we should remove the single
 arg variant of
 convert.

Most likely the calling code defaulted to some other conversion.






Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adrian Crum
--- On Fri, 2/12/10, Adam Heath doo...@brainfood.com wrote:
 From: Adam Heath doo...@brainfood.com
 Subject: Re: svn commit: r908676 - 
 /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java
 To: dev@ofbiz.apache.org
 Date: Friday, February 12, 2010, 10:16 AM
 Adam Heath wrote:
  Adrian Crum wrote:
  Actually, that error message was caused by rev
 908700.
  
  How?  That added an Enum converter; I didn't
 think ofbiz actually used
  enums mutch.
 
 Ok, I see it; Is this code trying to convert a String to an
 Enum?
 That's not supported.  To make that work, you also
 need to pass in a
 the target class.  Perhaps we should remove the single
 arg variant of
 convert.

Why would we want to do that? Also, why not extend AbstractConverter like the 
other classes? The exception goes away if the converter is written like the 
rest. Also, StringToEnum.convert(String obj) should throw ConversionException.







Re: Permission errors doing svn up on people.apache.org

2010-02-12 Thread Jacques Le Roux

From: Adam Heath doo...@brainfood.com

Jacques Le Roux wrote:

I tried and got this

[jler...@minotaur:~]$ cd /www/ofbiz.apache.org/
[jler...@minotaur:/www/ofbiz.apache.org]$ svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)
[jler...@minotaur:/www/ofbiz.apache.org]$
[jler...@minotaur:/www/ofbiz.apache.org]$ svn cleanup
svn: Can't open file 'bookimages/.svn/lock': Permission denied
[jler...@minotaur:/www/ofbiz.apache.org]$

I vaguely remember a such issue and Adam asked Ruppert to do some
thing, it was some weeks ago. Not sure it's related though (as it's
really vague in my mind)


Wasn't me.


Anyway it was not related, David fixed it

Jacques



Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adam Heath
Matthieu Bollot wrote:
 Hi dev,
 I've got some problems since yesterday, may be it is related to this
 error :
 org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
 [component://common/widget/CommonScreens.xml#FindScreenDecorator]:
 java.lang.UnsupportedOperationException (null)
 
 that you can find here :
 https://ofbiz-vm.apache.org/sfa/control/FindLeads

Fixed in 909718.


Re: svn commit: r908676 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java

2010-02-12 Thread Adam Heath
Adrian Crum wrote:
 --- On Fri, 2/12/10, Adam Heath doo...@brainfood.com wrote:
 From: Adam Heath doo...@brainfood.com
 Subject: Re: svn commit: r908676 - 
 /ofbiz/trunk/framework/base/src/org/ofbiz/base/test/BaseUnitTests.java
 To: dev@ofbiz.apache.org
 Date: Friday, February 12, 2010, 10:16 AM
 Adam Heath wrote:
 Adrian Crum wrote:
 Actually, that error message was caused by rev
 908700.
 How?  That added an Enum converter; I didn't
 think ofbiz actually used
 enums mutch.
 Ok, I see it; Is this code trying to convert a String to an
 Enum?
 That's not supported.  To make that work, you also
 need to pass in a
 the target class.  Perhaps we should remove the single
 arg variant of
 convert.
 
 Why would we want to do that? Also, why not extend
 AbstractConverter like the other classes? The exception
 goes away if the converter is written like the rest. Also,
 StringToEnum.convert(String obj) should throw ConversionException.

I choose not to extend AbstractConverter, because StringToEnum
requires a concrete class, it can't just pick any random class that
happens to extend Enum.  That's why I added convert(targetClass, obj)
variants.

It's also why I throw UnsupportedOperationException, instead of
ConversionException, during convert(obj).  You shouldn't do doing
unknown conversions, when dealing with enums.  In those cases, you
should know that an enum is being requested, and use the other convert
method.

While tracking this one down, I discovered that the url in question
was eventually calling into ObjectType, and the conversion framework,
and was trying to do a String-Object conversion; that would never
work, and is stupid to do.  The bug that I fixed in 909718 made the
StringToEnum converter think it could handle that request.

Also, this commit allows me to possibly remove the
checkExtendsImplements method.


 
 
 
 
   



[jira] Created: (OFBIZ-3475) run multiple websites from a singel application or component.

2010-02-12 Thread Nikunj Surati (JIRA)
run multiple websites from a singel application or component.
-

 Key: OFBIZ-3475
 URL: https://issues.apache.org/jira/browse/OFBIZ-3475
 Project: OFBiz
  Issue Type: Wish
  Components: ALL APPLICATIONS
Reporter: Nikunj Surati


Hi I am new to apache ofbiz, I want to run multiple websites from a singel 
application or component.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-3476) what to do after creating a website

2010-02-12 Thread Nikunj Surati (JIRA)
what to do after creating a website
---

 Key: OFBIZ-3476
 URL: https://issues.apache.org/jira/browse/OFBIZ-3476
 Project: OFBiz
  Issue Type: Task
Reporter: Nikunj Surati


Hi I am new to apache ofbiz, I am using the trunk version. I want to know what 
is the next task that I need to do after creating a website through 
/ofbizsetup/control/main. Mean to say that once website is created then what to 
do for the hosting and how it will be available for the end user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (OFBIZ-3476) what to do after creating a website

2010-02-12 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-3476.
--

Resolution: Invalid

Please don't create jira issues if you have any questions regarding to any 
functionality exists in OFBiz.
Instead of it please subscribe on User Mailing list and send your question on 
that list.
Here is the email address where you can subscribe: 
user-subscr...@ofbiz.apache.org

For more details please refer: http://cwiki.apache.org/confluence/x/L4B2

--
Ashish Vijaywargiya

 what to do after creating a website
 ---

 Key: OFBIZ-3476
 URL: https://issues.apache.org/jira/browse/OFBIZ-3476
 Project: OFBiz
  Issue Type: Task
Reporter: Nikunj Surati
   Original Estimate: 48h
  Remaining Estimate: 48h

 Hi I am new to apache ofbiz, I am using the trunk version. I want to know 
 what is the next task that I need to do after creating a website through 
 /ofbizsetup/control/main. Mean to say that once website is created then what 
 to do for the hosting and how it will be available for the end user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (OFBIZ-3475) run multiple websites from a singel application or component.

2010-02-12 Thread Ashish Vijaywargiya (JIRA)

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

Ashish Vijaywargiya closed OFBIZ-3475.
--

Resolution: Invalid

Please don't create jira issues if you have any questions regarding to any 
functionality exists in OFBiz.
Instead of it please subscribe on User Mailing list and send your question on 
that list.
Here is the email address where you can subscribe: 
user-subscr...@ofbiz.apache.org

For more details please refer: http://cwiki.apache.org/confluence/x/L4B2

--
Ashish Vijaywargiya

 run multiple websites from a singel application or component.
 -

 Key: OFBIZ-3475
 URL: https://issues.apache.org/jira/browse/OFBIZ-3475
 Project: OFBiz
  Issue Type: Wish
  Components: ALL APPLICATIONS
Reporter: Nikunj Surati

 Hi I am new to apache ofbiz, I want to run multiple websites from a singel 
 application or component.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.