Re: Trunk demo error

2011-12-03 Thread Jacques Le Roux

Hi Hans,

It seems there is a problem for trunk. I guess it's related to what I explained many times already. I changed the scripts in order 
to handle the issue, did you revert those changes?
Also unfortunately the infra team has changed the login behaviour. I can no longer connect with a password, and my public key is 
refused though it's good (I checked with Gavin). So I can't help until this key issue is resolved...


Jacques

From: Hans Bakker mailingl...@antwebsystems.com

I upgraded Ubuntu and the linux kernel and restarted trunk and branch 10.

Jacques, can you see if t helped?

Regards,
Hans

On 12/02/2011 12:55 PM, Jacques Le Roux wrote:
This is not related to Hans's change below. It's a known problem but I only reproduced on trunk demo so far. So it can be due to 
your OS or/and JDK versions.
I wanted to show those information from trunk demo, but unfortunately, for unknow reason so far, I have no access to the demo 
server this morning :/


Coud you please send your OS and JDK information (very precise versions) ?

In the meantime you can revert r1202849

Jacques

From: Tolu Williams tolu.willi...@cultureshockmedia.com

It looks like this is still an issue, i am on r1209279, the trunk will not
build, it fails with the exact same error.

The issue is the following error during run-install-seed

classes:
 [javac16] Compiling 20 source files to
/opt/ofbiz/ofbiz/framework/testtools/build/classes
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101:
incompatible types
 [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
 [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
 [javac16] SchemeSocketFactory sf =
PlainSocketFactory.getSocketFactory();
 [javac16]
^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102:
cannot find symbol
 [javac16] symbol  : constructor
Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
 [javac16] location: class org.apache.http.conn.scheme.Scheme
 [javac16] supportedSchemes.register(new Scheme(http, 80, sf));
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165:
cannot find symbol
 [javac16] symbol  : constructor
ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
 [javac16] location: class
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
 [javac16] ClientConnectionManager ccm = new
ThreadSafeClientConnManager(supportedSchemes);
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245:
cannot find symbol
 [javac16] symbol  : method consume(org.apache.http.HttpEntity)
 [javac16] location: class org.apache.http.util.EntityUtils
 [javac16] EntityUtils.consume(entity); // release
connection gracefully
 [javac16]^
 [javac16] 4 errors

I am on JDK 1_6_29 which is the latest available

Thanks



Thanks Hans,

Works well now from here indeed :o)

The site is ok too. It takes 30 mins to updated once you have svn updated

people.a.o

Cheers

Jacques

From: Hans Bakker [hidden email]


Hi Jaques,

remove the '/login' from:

https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y


I already did that in the website index.html and updated the site,
however the change does not come through

Regards,
Hans



On 11/20/2011 01:23 AM, Jacques Le Roux wrote:

On demo trunk server, I updated to HEAD and reproduced the same
compilation error. I reverted r1202849 and got rid of the error (not
sure it's safe for Selenium did not analysis).
I don't know from where it comes since locally ant clean-all
run-install run works like a charm. I can see only the JDK version
used: jdk1.6.0_23, but that sounds weird. I certainly miss something
but have not enough time to even think about it...

For now I will continue to stay at r1201941 for trunk demo, until this
issue is resolved.

There are also issues with the catalago/categories tree that I can't
reproduce locally. This seems to only appear when you enter
using parameters for credential and js state:
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y

(then just try to click on  Gizmos [BEST-SELL-1] for instance)

It seems the tree problems are related to our demo instance since
nobody complains about them. So I think we can forget about them. On
the other hand, r1202849 is a blocker

HTH

Jacques


BTW I will make some tries on the trunk demo server right now. It
will be unavailable during them...

Jacques

From: Jacques Le Roux [hidden email]

HI Erwan,

I have just reviewed your recent changes and yes I can't see any
problems with them. I continue to investigate...


Re: Trunk demo error

2011-12-03 Thread Hans Bakker

send me your public key, i can add it to your login

Regards,
Hans

On 12/03/2011 04:01 PM, Jacques Le Roux wrote:

Hi Hans,

It seems there is a problem for trunk. I guess it's related to what I 
explained many times already. I changed the scripts in order to handle 
the issue, did you revert those changes?
Also unfortunately the infra team has changed the login behaviour. I 
can no longer connect with a password, and my public key is refused 
though it's good (I checked with Gavin). So I can't help until this 
key issue is resolved...


Jacques

From: Hans Bakker mailingl...@antwebsystems.com
I upgraded Ubuntu and the linux kernel and restarted trunk and branch 
10.


Jacques, can you see if t helped?

Regards,
Hans

On 12/02/2011 12:55 PM, Jacques Le Roux wrote:
This is not related to Hans's change below. It's a known problem but 
I only reproduced on trunk demo so far. So it can be due to your OS 
or/and JDK versions.
I wanted to show those information from trunk demo, but 
unfortunately, for unknow reason so far, I have no access to the 
demo server this morning :/


Coud you please send your OS and JDK information (very precise 
versions) ?


In the meantime you can revert r1202849

Jacques

From: Tolu Williams tolu.willi...@cultureshockmedia.com
It looks like this is still an issue, i am on r1209279, the trunk 
will not

build, it fails with the exact same error.

The issue is the following error during run-install-seed

classes:
 [javac16] Compiling 20 source files to
/opt/ofbiz/ofbiz/framework/testtools/build/classes
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: 


incompatible types
 [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
 [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
 [javac16] SchemeSocketFactory sf =
PlainSocketFactory.getSocketFactory();
 [javac16]
^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: 


cannot find symbol
 [javac16] symbol  : constructor
Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory) 


 [javac16] location: class org.apache.http.conn.scheme.Scheme
 [javac16] supportedSchemes.register(new Scheme(http, 80, 
sf));

 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: 


cannot find symbol
 [javac16] symbol  : constructor
ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry) 


 [javac16] location: class
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
 [javac16] ClientConnectionManager ccm = new
ThreadSafeClientConnManager(supportedSchemes);
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: 


cannot find symbol
 [javac16] symbol  : method consume(org.apache.http.HttpEntity)
 [javac16] location: class org.apache.http.util.EntityUtils
 [javac16] EntityUtils.consume(entity); // release
connection gracefully
 [javac16]^
 [javac16] 4 errors

I am on JDK 1_6_29 which is the latest available

Thanks



Thanks Hans,

Works well now from here indeed :o)

The site is ok too. It takes 30 mins to updated once you have svn 
updated

people.a.o

Cheers

Jacques

From: Hans Bakker [hidden email]


Hi Jaques,

remove the '/login' from:

https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 




I already did that in the website index.html and updated the site,
however the change does not come through

Regards,
Hans



On 11/20/2011 01:23 AM, Jacques Le Roux wrote:

On demo trunk server, I updated to HEAD and reproduced the same
compilation error. I reverted r1202849 and got rid of the error (not
sure it's safe for Selenium did not analysis).
I don't know from where it comes since locally ant clean-all
run-install run works like a charm. I can see only the JDK version
used: jdk1.6.0_23, but that sounds weird. I certainly miss something
but have not enough time to even think about it...

For now I will continue to stay at r1201941 for trunk demo, until 
this

issue is resolved.

There are also issues with the catalago/categories tree that I can't
reproduce locally. This seems to only appear when you enter
using parameters for credential and js state:
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 



(then just try to click on  Gizmos [BEST-SELL-1] for instance)

It seems the tree problems are related to our demo instance since
nobody complains about them. So I think we can forget about them. On
the other hand, r1202849 is a blocker

HTH

Jacques


BTW I will make some tries on the trunk demo server right now. It
will be unavailable during them...

Jacques

From: 

Re: Trunk demo error

2011-12-03 Thread Jacques Le Roux

Actually Gavin checked my public key is there, I don't know what goes wrong

I will ask him again

Jacques

From: Hans Bakker mailingl...@antwebsystems.com

send me your public key, i can add it to your login

Regards,
Hans

On 12/03/2011 04:01 PM, Jacques Le Roux wrote:

Hi Hans,

It seems there is a problem for trunk. I guess it's related to what I 
explained many times already. I changed the scripts in order to handle 
the issue, did you revert those changes?
Also unfortunately the infra team has changed the login behaviour. I 
can no longer connect with a password, and my public key is refused 
though it's good (I checked with Gavin). So I can't help until this 
key issue is resolved...


Jacques

From: Hans Bakker mailingl...@antwebsystems.com
I upgraded Ubuntu and the linux kernel and restarted trunk and branch 
10.


Jacques, can you see if t helped?

Regards,
Hans

On 12/02/2011 12:55 PM, Jacques Le Roux wrote:
This is not related to Hans's change below. It's a known problem but 
I only reproduced on trunk demo so far. So it can be due to your OS 
or/and JDK versions.
I wanted to show those information from trunk demo, but 
unfortunately, for unknow reason so far, I have no access to the 
demo server this morning :/


Coud you please send your OS and JDK information (very precise 
versions) ?


In the meantime you can revert r1202849

Jacques

From: Tolu Williams tolu.willi...@cultureshockmedia.com
It looks like this is still an issue, i am on r1209279, the trunk 
will not

build, it fails with the exact same error.

The issue is the following error during run-install-seed

classes:
 [javac16] Compiling 20 source files to
/opt/ofbiz/ofbiz/framework/testtools/build/classes
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: 


incompatible types
 [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
 [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
 [javac16] SchemeSocketFactory sf =
PlainSocketFactory.getSocketFactory();
 [javac16]
^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: 


cannot find symbol
 [javac16] symbol  : constructor
Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory) 


 [javac16] location: class org.apache.http.conn.scheme.Scheme
 [javac16] supportedSchemes.register(new Scheme(http, 80, 
sf));

 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: 


cannot find symbol
 [javac16] symbol  : constructor
ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry) 


 [javac16] location: class
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
 [javac16] ClientConnectionManager ccm = new
ThreadSafeClientConnManager(supportedSchemes);
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: 


cannot find symbol
 [javac16] symbol  : method consume(org.apache.http.HttpEntity)
 [javac16] location: class org.apache.http.util.EntityUtils
 [javac16] EntityUtils.consume(entity); // release
connection gracefully
 [javac16]^
 [javac16] 4 errors

I am on JDK 1_6_29 which is the latest available

Thanks



Thanks Hans,

Works well now from here indeed :o)

The site is ok too. It takes 30 mins to updated once you have svn 
updated

people.a.o

Cheers

Jacques

From: Hans Bakker [hidden email]


Hi Jaques,

remove the '/login' from:

https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 




I already did that in the website index.html and updated the site,
however the change does not come through

Regards,
Hans



On 11/20/2011 01:23 AM, Jacques Le Roux wrote:

On demo trunk server, I updated to HEAD and reproduced the same
compilation error. I reverted r1202849 and got rid of the error (not
sure it's safe for Selenium did not analysis).
I don't know from where it comes since locally ant clean-all
run-install run works like a charm. I can see only the JDK version
used: jdk1.6.0_23, but that sounds weird. I certainly miss something
but have not enough time to even think about it...

For now I will continue to stay at r1201941 for trunk demo, until 
this

issue is resolved.

There are also issues with the catalago/categories tree that I can't
reproduce locally. This seems to only appear when you enter
using parameters for credential and js state:
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 



(then just try to click on  Gizmos [BEST-SELL-1] for instance)

It seems the tree problems are related to our demo instance since
nobody complains about them. So I think we can forget about them. On
the other hand, 

Re: Trunk demo error

2011-12-03 Thread Jacques Le Roux

Actually Gavin checked my public key is there, I don't know what goes wrong 
with this. I will ask him again

Could you rather fix the trunk issue?

Jacques

From: Hans Bakker mailingl...@antwebsystems.com

send me your public key, i can add it to your login

Regards,
Hans

On 12/03/2011 04:01 PM, Jacques Le Roux wrote:

Hi Hans,

It seems there is a problem for trunk. I guess it's related to what I 
explained many times already. I changed the scripts in order to handle 
the issue, did you revert those changes?
Also unfortunately the infra team has changed the login behaviour. I 
can no longer connect with a password, and my public key is refused 
though it's good (I checked with Gavin). So I can't help until this 
key issue is resolved...


Jacques

From: Hans Bakker mailingl...@antwebsystems.com
I upgraded Ubuntu and the linux kernel and restarted trunk and branch 
10.


Jacques, can you see if t helped?

Regards,
Hans

On 12/02/2011 12:55 PM, Jacques Le Roux wrote:
This is not related to Hans's change below. It's a known problem but 
I only reproduced on trunk demo so far. So it can be due to your OS 
or/and JDK versions.
I wanted to show those information from trunk demo, but 
unfortunately, for unknow reason so far, I have no access to the 
demo server this morning :/


Coud you please send your OS and JDK information (very precise 
versions) ?


In the meantime you can revert r1202849

Jacques

From: Tolu Williams tolu.willi...@cultureshockmedia.com
It looks like this is still an issue, i am on r1209279, the trunk 
will not

build, it fails with the exact same error.

The issue is the following error during run-install-seed

classes:
 [javac16] Compiling 20 source files to
/opt/ofbiz/ofbiz/framework/testtools/build/classes
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101: 


incompatible types
 [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
 [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
 [javac16] SchemeSocketFactory sf =
PlainSocketFactory.getSocketFactory();
 [javac16]
^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102: 


cannot find symbol
 [javac16] symbol  : constructor
Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory) 


 [javac16] location: class org.apache.http.conn.scheme.Scheme
 [javac16] supportedSchemes.register(new Scheme(http, 80, 
sf));

 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165: 


cannot find symbol
 [javac16] symbol  : constructor
ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry) 


 [javac16] location: class
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
 [javac16] ClientConnectionManager ccm = new
ThreadSafeClientConnManager(supportedSchemes);
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245: 


cannot find symbol
 [javac16] symbol  : method consume(org.apache.http.HttpEntity)
 [javac16] location: class org.apache.http.util.EntityUtils
 [javac16] EntityUtils.consume(entity); // release
connection gracefully
 [javac16]^
 [javac16] 4 errors

I am on JDK 1_6_29 which is the latest available

Thanks



Thanks Hans,

Works well now from here indeed :o)

The site is ok too. It takes 30 mins to updated once you have svn 
updated

people.a.o

Cheers

Jacques

From: Hans Bakker [hidden email]


Hi Jaques,

remove the '/login' from:

https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 




I already did that in the website index.html and updated the site,
however the change does not come through

Regards,
Hans



On 11/20/2011 01:23 AM, Jacques Le Roux wrote:

On demo trunk server, I updated to HEAD and reproduced the same
compilation error. I reverted r1202849 and got rid of the error (not
sure it's safe for Selenium did not analysis).
I don't know from where it comes since locally ant clean-all
run-install run works like a charm. I can see only the JDK version
used: jdk1.6.0_23, but that sounds weird. I certainly miss something
but have not enough time to even think about it...

For now I will continue to stay at r1201941 for trunk demo, until 
this

issue is resolved.

There are also issues with the catalago/categories tree that I can't
reproduce locally. This seems to only appear when you enter
using parameters for credential and js state:
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y 



(then just try to click on  Gizmos [BEST-SELL-1] for instance)

It seems the tree problems are related to our demo instance since
nobody complains about them. So I think 

Re: Tax calculation for all order adjustments

2011-12-03 Thread biletnikov
In general, we manage tax calculation for products and adjustments (only for
shipping and promotions).
As we have TaxAuthorityRateProduct in OFBiz to manage the taxing of
products, so why not to have the same system for adjustments?
I propose the solution to have the TaxAuthorityRateAdjustment entity, who is
related in similar order to TaxAuthority.
TaxAuthorityRateAdjustment will have the following fields:

*Tax type*   (Sales Tax, etc)
*Store ID*
*Catetgory*  (empty category means all categories)
Title Transfer   ???  (I do not know, what can you suggest?)
Min Item Pirce  ??? (I do not know, what can you suggest?)
Min Purchase Price   (I do not know, what can you suggest?)
*Tax Percentage *
*From Date *
*Thru Date*
*Description*

The settings will be placed in the separate tab near to Product rates (Tax
Authority settings).
The UI is very similar!

RE: TaxAuthorityRateAdjustment 
we should retire 
*Tax Shipping*
*Tax Promotions*
because they look more like a hack.


The tax calculation service must be reworked,

service name=calcTax engine=java
location=org.ofbiz.accounting.tax.TaxAuthorityServices
invoke=rateProductTaxCalc
   descriptionTax Authority Rate Product Calc Service/description
   implements service=calcTaxInterface/
/service

   service name=calcTaxInterface engine=interface location=
invoke=
   descriptionTax Calc Service Interface/description
   attribute name=productStoreId type=String mode=IN
optional=true/attribute
   attribute name=facilityId type=String mode=IN
optional=true/attribute
   attribute name=payToPartyId type=String mode=IN
optional=true/
   attribute name=billToPartyId type=String mode=IN
optional=true/attribute
   attribute name=itemProductList type=java.util.List mode=IN
optional=false/attribute
   attribute name=itemAmountList type=java.util.List mode=IN
optional=false/attribute
   attribute name=itemPriceList type=java.util.List mode=IN
optional=false/attribute
   attribute name=itemQuantityList type=java.util.List mode=IN
optional=true/attribute
   attribute name=itemShippingList type=java.util.List mode=IN
optional=true/attribute
*   attribute name=orderShippingAmount type=BigDecimal mode=IN
optional=true/
   attribute name=orderPromotionsAmount type=BigDecimal mode=IN
optional=true/
*   attribute name=shippingAddress
type=org.ofbiz.entity.GenericValue mode=IN optional=true/
   attribute name=orderAdjustments type=java.util.List mode=OUT
optional=false/attribute
   attribute name=itemAdjustments type=java.util.List mode=OUT
optional=false/attribute
   /service

This interface must have /OrderAdjustment/ list as IN parameter. 

That is my draft solution.
What do you think about this?

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Tax-calculation-for-all-order-adjustments-tp4119597p4152813.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: OfBiz - Fixed Asset Question

2011-12-03 Thread Jacques Le Roux
It depends on what you want to do with fixed assets, but AFAIK basically no, 
you can use them without accounting

Jacques
  - Original Message - 
  From: Antonio Peña 
  To: user@ofbiz.apache.org 
  Sent: Thursday, December 01, 2011 3:14 PM
  Subject: OfBiz - Fixed Asset Question


  Hi,

   

  I am a consultant, researching various open source options for a customer 
looking into implement a Fixed Asset system.

  I am trying to obtain as much documentation or tutorials on how to implement 
Fixed Asset with OfBiz.

  · Does the client needs to configure the accounting functionality in 
order to implement fixed asset?

   

   

   

  Thanks,

   

  Antonio

   

   



  Intelligent Solutions 

 
   
   Antonio L. Peña Carrión

Senior Technical Consultant

O:787.782.7019

C: 787.319.3452
F: 787.782.2131

www.intelutions.net

 
   
   

   

   

   

   

   

  CONFIDENTIALITY NOTICE

  Privileged/Confidential Information may be contained in this message.

  If you are not the addressee indicated in this message (or responsible for 
delivery of the message to such person), you may not copy or deliver this 
message to anyone. In such case, you should destroy this message and kindly 
notify the sender by reply email. Please advise immediately if you or your 
employer does not consent to Internet email for messages of this kind. 
Opinions, conclusions and other information in this message that do not relate 
to the official business of the firm, shall be understood as neither given nor 
endorsed by it.

   


Re: Trunk demo error

2011-12-03 Thread Jacques Le Roux

Hi Hans,

So to answer your question, no it did not seem that it fixed the issue. I did not know exactly what happened though. I will have 
another look, when I will get a chance, now that I have access again.

Hopefully Erwan will see also why his commit has such a random issue

Cheers

Jacques

From: Hans Bakker mailingl...@antwebsystems.com

I upgraded Ubuntu and the linux kernel and restarted trunk and branch 10.

Jacques, can you see if t helped?

Regards,
Hans

On 12/02/2011 12:55 PM, Jacques Le Roux wrote:
This is not related to Hans's change below. It's a known problem but I only reproduced on trunk demo so far. So it can be due to 
your OS or/and JDK versions.
I wanted to show those information from trunk demo, but unfortunately, for unknow reason so far, I have no access to the demo 
server this morning :/


Coud you please send your OS and JDK information (very precise versions) ?

In the meantime you can revert r1202849

Jacques

From: Tolu Williams tolu.willi...@cultureshockmedia.com

It looks like this is still an issue, i am on r1209279, the trunk will not
build, it fails with the exact same error.

The issue is the following error during run-install-seed

classes:
 [javac16] Compiling 20 source files to
/opt/ofbiz/ofbiz/framework/testtools/build/classes
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:101:
incompatible types
 [javac16] found   : org.apache.http.conn.scheme.PlainSocketFactory
 [javac16] required: org.apache.http.conn.scheme.SchemeSocketFactory
 [javac16] SchemeSocketFactory sf =
PlainSocketFactory.getSocketFactory();
 [javac16]
^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:102:
cannot find symbol
 [javac16] symbol  : constructor
Scheme(java.lang.String,int,org.apache.http.conn.scheme.SchemeSocketFactory)
 [javac16] location: class org.apache.http.conn.scheme.Scheme
 [javac16] supportedSchemes.register(new Scheme(http, 80, sf));
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:165:
cannot find symbol
 [javac16] symbol  : constructor
ThreadSafeClientConnManager(org.apache.http.conn.scheme.SchemeRegistry)
 [javac16] location: class
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
 [javac16] ClientConnectionManager ccm = new
ThreadSafeClientConnManager(supportedSchemes);
 [javac16]   ^
 [javac16]
/opt/ofbiz/ofbiz/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java:245:
cannot find symbol
 [javac16] symbol  : method consume(org.apache.http.HttpEntity)
 [javac16] location: class org.apache.http.util.EntityUtils
 [javac16] EntityUtils.consume(entity); // release
connection gracefully
 [javac16]^
 [javac16] 4 errors

I am on JDK 1_6_29 which is the latest available

Thanks



Thanks Hans,

Works well now from here indeed :o)

The site is ok too. It takes 30 mins to updated once you have svn updated

people.a.o

Cheers

Jacques

From: Hans Bakker [hidden email]


Hi Jaques,

remove the '/login' from:

https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y


I already did that in the website index.html and updated the site,
however the change does not come through

Regards,
Hans



On 11/20/2011 01:23 AM, Jacques Le Roux wrote:

On demo trunk server, I updated to HEAD and reproduced the same
compilation error. I reverted r1202849 and got rid of the error (not
sure it's safe for Selenium did not analysis).
I don't know from where it comes since locally ant clean-all
run-install run works like a charm. I can see only the JDK version
used: jdk1.6.0_23, but that sounds weird. I certainly miss something
but have not enough time to even think about it...

For now I will continue to stay at r1201941 for trunk demo, until this
issue is resolved.

There are also issues with the catalago/categories tree that I can't
reproduce locally. This seems to only appear when you enter
using parameters for credential and js state:
https://demo-trunk.ofbiz.apache.org/catalog/control/login/main?USERNAME=adminPASSWORD=ofbizJavaScriptEnabled=Y

(then just try to click on  Gizmos [BEST-SELL-1] for instance)

It seems the tree problems are related to our demo instance since
nobody complains about them. So I think we can forget about them. On
the other hand, r1202849 is a blocker

HTH

Jacques


BTW I will make some tries on the trunk demo server right now. It
will be unavailable during them...

Jacques

From: Jacques Le Roux [hidden email]

HI Erwan,

I have just reviewed your recent changes and yes I can't see any
problems with them. I continue to investigate...

Jacques

From: Erwan de FERRIERES [hidden email]

Hi Jacques,

I've testing locally the modification, and there is no failed build
with it.

Re: OfBiz - Fixed Asset Question

2011-12-03 Thread Balasubramaniam Mohan
Hi,
I am also interested in this topic and would be of great help if you could
point me to the right resource (wiki) to gain more insight into this
option. Is it possible to do a complete CMMS / EAM ? (Computerised
Maintenance Management System / Enterprise Asset Management).
Regards

On Sat, Dec 3, 2011 at 6:49 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 It depends on what you want to do with fixed assets, but AFAIK basically
 no, you can use them without accounting

 Jacques
  - Original Message -
  From: Antonio Peña
  To: user@ofbiz.apache.org
  Sent: Thursday, December 01, 2011 3:14 PM
  Subject: OfBiz - Fixed Asset Question


  Hi,



  I am a consultant, researching various open source options for a customer
 looking into implement a Fixed Asset system.

  I am trying to obtain as much documentation or tutorials on how to
 implement Fixed Asset with OfBiz.

  · Does the client needs to configure the accounting functionality
 in order to implement fixed asset?







  Thanks,



  Antonio







  Intelligent Solutions



   Antonio L. Peña Carrión

Senior Technical Consultant

O:787.782.7019

C: 787.319.3452
F: 787.782.2131

www.intelutions.net















  CONFIDENTIALITY NOTICE

  Privileged/Confidential Information may be contained in this message.

  If you are not the addressee indicated in this message (or responsible
 for delivery of the message to such person), you may not copy or deliver
 this message to anyone. In such case, you should destroy this message and
 kindly notify the sender by reply email. Please advise immediately if you
 or your employer does not consent to Internet email for messages of this
 kind. Opinions, conclusions and other information in this message that do
 not relate to the official business of the firm, shall be understood as
 neither given nor endorsed by it.





Re: OfBiz - Fixed Asset Question

2011-12-03 Thread David E Jones

A quick note: the Fixed Asset functionality is part of the accounting
component of OFBiz, so in that way it is true that you must use the
accounting part of OFBiz.

However, this does not mean that you have to the OFBiz General Ledger or
for accounting transactions in general. Those can easily be turned off.

-David


Balasubramaniam Mohan wrote:
 Hi,
 I am also interested in this topic and would be of great help if you could
 point me to the right resource (wiki) to gain more insight into this
 option. Is it possible to do a complete CMMS / EAM ? (Computerised
 Maintenance Management System / Enterprise Asset Management).
 Regards
 
 On Sat, Dec 3, 2011 at 6:49 PM, Jacques Le Roux 
 jacques.le.r...@les7arts.com wrote:
 
 It depends on what you want to do with fixed assets, but AFAIK basically
 no, you can use them without accounting

 Jacques
  - Original Message -
  From: Antonio Peña
  To: user@ofbiz.apache.org
  Sent: Thursday, December 01, 2011 3:14 PM
  Subject: OfBiz - Fixed Asset Question


  Hi,



  I am a consultant, researching various open source options for a customer
 looking into implement a Fixed Asset system.

  I am trying to obtain as much documentation or tutorials on how to
 implement Fixed Asset with OfBiz.

  · Does the client needs to configure the accounting functionality
 in order to implement fixed asset?







  Thanks,



  Antonio







  Intelligent Solutions



   Antonio L. Peña Carrión

Senior Technical Consultant

O:787.782.7019

C: 787.319.3452
F: 787.782.2131

www.intelutions.net















  CONFIDENTIALITY NOTICE

  Privileged/Confidential Information may be contained in this message.

  If you are not the addressee indicated in this message (or responsible
 for delivery of the message to such person), you may not copy or deliver
 this message to anyone. In such case, you should destroy this message and
 kindly notify the sender by reply email. Please advise immediately if you
 or your employer does not consent to Internet email for messages of this
 kind. Opinions, conclusions and other information in this message that do
 not relate to the official business of the firm, shall be understood as
 neither given nor endorsed by it.



 


Re: Tax calculation for all order adjustments

2011-12-03 Thread BJ Freeman
how does this relate to
https://demo-trunk.ofbiz.apache.org/webtools/control/ViewRelations?entityName=TaxAuthorityRateProduct
Order Adustements
an
return Adjustments

biletnikov sent the following on 12/3/2011 1:26 AM:
 In general, we manage tax calculation for products and adjustments (only for
 shipping and promotions).
 As we have TaxAuthorityRateProduct in OFBiz to manage the taxing of
 products, so why not to have the same system for adjustments?
 I propose the solution to have the TaxAuthorityRateAdjustment entity, who is
 related in similar order to TaxAuthority.
 TaxAuthorityRateAdjustment will have the following fields:
 
 *Tax type*   (Sales Tax, etc)
 *Store ID*
 *Catetgory*  (empty category means all categories)
 Title Transfer   ???  (I do not know, what can you suggest?)
 Min Item Pirce  ??? (I do not know, what can you suggest?)
 Min Purchase Price   (I do not know, what can you suggest?)
 *Tax Percentage *
 *From Date *
 *Thru Date*
 *Description*
 
 The settings will be placed in the separate tab near to Product rates (Tax
 Authority settings).
 The UI is very similar!
 
 RE: TaxAuthorityRateAdjustment 
 we should retire 
 *Tax Shipping*
 *Tax Promotions*
 because they look more like a hack.
 
 
 The tax calculation service must be reworked,
 
 service name=calcTax engine=java
 location=org.ofbiz.accounting.tax.TaxAuthorityServices
 invoke=rateProductTaxCalc
descriptionTax Authority Rate Product Calc Service/description
implements service=calcTaxInterface/
 /service
 
service name=calcTaxInterface engine=interface location=
 invoke=
descriptionTax Calc Service Interface/description
attribute name=productStoreId type=String mode=IN
 optional=true/attribute
attribute name=facilityId type=String mode=IN
 optional=true/attribute
attribute name=payToPartyId type=String mode=IN
 optional=true/
attribute name=billToPartyId type=String mode=IN
 optional=true/attribute
attribute name=itemProductList type=java.util.List mode=IN
 optional=false/attribute
attribute name=itemAmountList type=java.util.List mode=IN
 optional=false/attribute
attribute name=itemPriceList type=java.util.List mode=IN
 optional=false/attribute
attribute name=itemQuantityList type=java.util.List mode=IN
 optional=true/attribute
attribute name=itemShippingList type=java.util.List mode=IN
 optional=true/attribute
 *   attribute name=orderShippingAmount type=BigDecimal mode=IN
 optional=true/
attribute name=orderPromotionsAmount type=BigDecimal mode=IN
 optional=true/
 *   attribute name=shippingAddress
 type=org.ofbiz.entity.GenericValue mode=IN optional=true/
attribute name=orderAdjustments type=java.util.List mode=OUT
 optional=false/attribute
attribute name=itemAdjustments type=java.util.List mode=OUT
 optional=false/attribute
/service
 
 This interface must have /OrderAdjustment/ list as IN parameter. 
 
 That is my draft solution.
 What do you think about this?
 
 --
 View this message in context: 
 http://ofbiz.135035.n4.nabble.com/Tax-calculation-for-all-order-adjustments-tp4119597p4152813.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.
 


Re: OfBiz - Fixed Asset Question

2011-12-03 Thread Jacques Le Roux

Yes that's what I meant, thanks for clarification David

Jacques

From: David E Jones d...@me.com

A quick note: the Fixed Asset functionality is part of the accounting
component of OFBiz, so in that way it is true that you must use the
accounting part of OFBiz.

However, this does not mean that you have to the OFBiz General Ledger or
for accounting transactions in general. Those can easily be turned off.

-David


Balasubramaniam Mohan wrote:

Hi,
I am also interested in this topic and would be of great help if you could
point me to the right resource (wiki) to gain more insight into this
option. Is it possible to do a complete CMMS / EAM ? (Computerised
Maintenance Management System / Enterprise Asset Management).
Regards

On Sat, Dec 3, 2011 at 6:49 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


It depends on what you want to do with fixed assets, but AFAIK basically
no, you can use them without accounting

Jacques
 - Original Message -
 From: Antonio Peña
 To: user@ofbiz.apache.org
 Sent: Thursday, December 01, 2011 3:14 PM
 Subject: OfBiz - Fixed Asset Question


 Hi,



 I am a consultant, researching various open source options for a customer
looking into implement a Fixed Asset system.

 I am trying to obtain as much documentation or tutorials on how to
implement Fixed Asset with OfBiz.

 · Does the client needs to configure the accounting functionality
in order to implement fixed asset?







 Thanks,



 Antonio







 Intelligent Solutions



  Antonio L. Peña Carrión

   Senior Technical Consultant

   O:787.782.7019

   C: 787.319.3452
   F: 787.782.2131

   www.intelutions.net















 CONFIDENTIALITY NOTICE

 Privileged/Confidential Information may be contained in this message.

 If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message and
kindly notify the sender by reply email. Please advise immediately if you
or your employer does not consent to Internet email for messages of this
kind. Opinions, conclusions and other information in this message that do
not relate to the official business of the firm, shall be understood as
neither given nor endorsed by it.







Do Intersection TemporalExpressions work?

2011-12-03 Thread Craig Ambrose
Hello,

I seem to be having problems getting TemporalExpressions to work. They seem to 
work fine for some expressions. But not for INTERSECTION types. I am using the 
TE definition from the sample data in ServiceDemoData.xml for INDEPENDENCE_DAY, 
specifically this:

TemporalExpression tempExprId=INDEPENDENCE_DAY 
tempExprTypeId=INTERSECTION/
TemporalExpressionAssoc fromTempExprId=INDEPENDENCE_DAY 
toTempExprId=MONTH_RANGE_07/
TemporalExpressionAssoc fromTempExprId=INDEPENDENCE_DAY 
toTempExprId=DAYOFMONTH_04/

And I'm using the following code to iterate over a number of days to see when 
the next Independence Day will occur:

com.ibm.icu.util.Calendar cal = new com.ibm.icu.util.GregorianCalendar();
java.util.Date start = UtilDateTime.toDate(06/01/2011 00:00:00);
cal.setTime(start);

GenericValue temporalExpression = delegator.findOne(TemporalExpression, 
UtilMisc.toMap(tempExprId, INDEPENDENCE_DAY), true);
TemporalExpression selectionDeadline = 
TemporalExpressionWorker.makeTemporalExpression(delegator, temporalExpression);

for (int index = 0; index  60; index++)
{
Date nextDate = new Date(selectionDeadline.next(cal).getTimeInMillis());
Debug.logInfo(String.format(%s - %s, new 
Date(cal.getTimeInMillis()), nextDate), Groovy);

cal.add(com.ibm.icu.util.Calendar.DATE, 1);
}

It doesn't do the right thing for the first 4 days of July. It says for 
7/1/2011 that the next occurrence is 7/4/2012. Here is the output:

2011-12-03 19:14:52,254 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Wed Jun 
01 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,256 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Thu Jun 
02 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,256 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Fri Jun 
03 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,256 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sat Jun 
04 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,257 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sun Jun 
05 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,257 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Mon Jun 
06 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,257 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Tue Jun 
07 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,258 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Wed Jun 
08 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,258 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Thu Jun 
09 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,259 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Fri Jun 
10 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,260 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sat Jun 
11 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,260 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sun Jun 
12 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,260 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Mon Jun 
13 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,260 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Tue Jun 
14 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,261 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Wed Jun 
15 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,261 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Thu Jun 
16 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,261 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Fri Jun 
17 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,262 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sat Jun 
18 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,262 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sun Jun 
19 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,262 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Mon Jun 
20 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,263 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Tue Jun 
21 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,263 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Wed Jun 
22 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,263 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Thu Jun 
23 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,264 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Fri Jun 
24 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,264 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sat Jun 
25 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,264 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Sun Jun 
26 00:00:00 PDT 2011 - Mon Jul 04 00:00:00 PDT 2011
2011-12-03 19:14:52,265 (http-0.0.0.0-8080-1) [Test.groovy:23 :INFO ] Mon Jun 
27 00:00:00 PDT 2011 - Mon Jul 04