[jira] [Closed] (OFBIZ-3073) Email function in SFA module - Account screen generates an error

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3073.


Resolution: Fixed

Fixed in rev. 1213590

 Email function in SFA module - Account screen generates an error
 

 Key: OFBIZ-3073
 URL: https://issues.apache.org/jira/browse/OFBIZ-3073
 Project: OFBiz
  Issue Type: Bug
  Components: marketing
Affects Versions: Release Branch 09.04, SVN trunk
Reporter: Pierre Smits
 Fix For: Release Branch 09.04, SVN trunk

 Attachments: screenshot-1.jpg


 When an account has an emailaddress as a contact mech and the user clicks on 
 the email button a new screen is opened.
 In stead of showing an entry screen for creating the email an error-screen is 
 shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-2640) Anonymous user should be able to verify and unsubscribe his email address from Contact List subscription

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-2640:
-

Affects Version/s: (was: Release Branch 09.04)
Fix Version/s: (was: Release Branch 09.04)

 Anonymous user should be able to verify and unsubscribe his email address 
 from Contact List subscription
 

 Key: OFBIZ-2640
 URL: https://issues.apache.org/jira/browse/OFBIZ-2640
 Project: OFBiz
  Issue Type: New Feature
  Components: specialpurpose/ecommerce
Affects Versions: SVN trunk
Reporter: Ashish Nagar
Assignee: Ashish Vijaywargiya
 Fix For: SVN trunk


 When anonymous user signs up for newsletter, no verification mail is sent to 
 the user. The partyId is set to _NA_ and the statusId is set to CLPT_ACCEPTED 
 in the ContactListParty entity. 
 A verification mail should be sent to the email address entered for sign up 
 by the anonymous user, so that he should be able to verify his email address 
 before getting it subscribed for Contact List. The mail will contain a link 
 following which an anonymous user should be able to subscribe and unsubscribe 
 for newsletter subscription.
 Any comments would be appreciated.
 Thanks  Regards,
 --
 Ashish Nagar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3513) CompanyHeader.groovy uses hardcoded Company to identify the company partyId instead of pulling from properties

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3513.


Resolution: Fixed

fixed in rev. 1213595

 CompanyHeader.groovy uses hardcoded Company to identify the company partyId 
 instead of pulling from properties
 

 Key: OFBIZ-3513
 URL: https://issues.apache.org/jira/browse/OFBIZ-3513
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release Branch 09.04, SVN trunk
Reporter: Ean Schuessler
 Fix For: Release Branch 09.04, SVN trunk

 Attachments: 
 0002-Fetch-the-default-organization-ID-from-general.prope.patch


 CompanyHeader should fetch the default organization ID from general 
 properties instead of hardcoding it to Company

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3514) When doing a vendor return we should use the fromPartyId instead of the toPartyId as the company in the company header

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3514.


Resolution: Fixed

fixed in rev. 1213596

 When doing a vendor return we should use the fromPartyId instead of the 
 toPartyId as the company in the company header
 --

 Key: OFBIZ-3514
 URL: https://issues.apache.org/jira/browse/OFBIZ-3514
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Release Branch 09.04, SVN trunk
Reporter: Ean Schuessler
 Fix For: Release Branch 09.04, SVN trunk

 Attachments: 
 0001-When-processing-a-vendor-return-the-from-party-rathe.patch




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-2605) the return error status in ShippingEvents keeps the check out process to continue.

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-2605.


Resolution: Invalid

 the return error status in ShippingEvents keeps the check out process to 
 continue.
 --

 Key: OFBIZ-2605
 URL: https://issues.apache.org/jira/browse/OFBIZ-2605
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Release Branch 09.04, SVN trunk
Reporter: BJ Freeman
 Fix For: Release Branch 09.04, SVN trunk

 Attachments: OFBIZ-2605_shippingevents_returnresults.patch


 there is a return the string
 String standardMessage = A problem occurred calculating shipping. 
 Fees will be calculated offline.;
 this is returned as an error which has the checkout process to loop back to 
 the options screen
 by changing the return code to sucess the check out process continues.
 there are a couple of consideration of how to mark this order so it does not 
 get approved but is put on hold.
 and it process the payment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-2870) Not possible to save a communicationevent for an activity

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-2870.


Resolution: Fixed

Fixed in trunk and in all the release branches: 1213609, 1213611, 1213612, 
1213613

 Not possible to save a communicationevent for an activity
 -

 Key: OFBIZ-2870
 URL: https://issues.apache.org/jira/browse/OFBIZ-2870
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Release Branch 09.04
 Environment: 
 https://demo.ofbiz.org/workeffort/control/ListWorkEffortCommEvents?workEffortId=1
Reporter: Torstein Hegbom
 Fix For: Release Branch 09.04


 Not possible to save a communicationevent for an activity
 To reproduce:
 1. Register a work-effort
 2. Press save
 3. Register a communicationevent
 4. Press save
 The following error-message is shown:
 org.ofbiz.webapp.control.RequestHandlerException: Unknown request 
 [createCommunicationEvent]; this request does not exist or cannot be called 
 directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3961) Unnamed events in controller processor maps silently override each other

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3961.


Resolution: Fixed

Scott fixed this in rev. 955882
I have back ported it to release09.04 in revision 1213627

 Unnamed events in controller processor maps silently override each other
 

 Key: OFBIZ-3961
 URL: https://issues.apache.org/jira/browse/OFBIZ-3961
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release Branch 09.04, Release Branch 10.04
Reporter: Wickersheimer Jeremy
 Fix For: Release Branch 09.04, Release Branch 10.04

 Attachments: OFBIZ-3961.patch


 I found this issue while debugging our preprocessor events.
 Looks like a feature was introduced at some point to allow those events to 
 override others with the same name (i guess in order to redefine the 
 inherited events for a parent controller), but a side effect is that the 
 previously defined events that worked without a name attribute are now 
 overriding each other (as they are all events with the name Null).
 Worst thing is this happens kind of silently, so this is really not obvious. 
 Instead i think the default should be to autogenerate a unique name if none 
 is specified in the controller since overriding and event is something that 
 should be done explicitly anyway.
 Attaching a patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-1868) Move Security-Related UI Artifacts to the Common Component

2011-12-13 Thread Adrian Crum (Closed) (JIRA)

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

Adrian Crum closed OFBIZ-1868.
--

   Resolution: Fixed
Fix Version/s: SVN trunk

Fixed in rev 1053259.


 Move Security-Related UI Artifacts to the Common Component
 --

 Key: OFBIZ-1868
 URL: https://issues.apache.org/jira/browse/OFBIZ-1868
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Adrian Crum
Priority: Minor
 Fix For: SVN trunk

 Attachments: SecurityUI.patch


 Move the Security-related UI artifacts from the Party Component to the Common 
 component. The Party component will still use the UI artifacts, so there 
 should be no functional change there. Have the Webtools component use the 
 same UI artifacts so that framework-only installations have a security UI.
 The end result is to have all of the Security-related UI artifacts contained 
 within the framework, and have a Security UI in Webtools.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4152) Tree does not build/show when the primary company doesn't have 'company' as the id

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4152.


Resolution: Fixed

This was fixed in rev. 1035121 by Hans Bakker.
I have back ported the fix to 10.04 and 09.04 in rev. 1213631 and 1213633

 Tree does not build/show when the primary company doesn't have 'company' as 
 the id
 --

 Key: OFBIZ-4152
 URL: https://issues.apache.org/jira/browse/OFBIZ-4152
 Project: OFBiz
  Issue Type: Bug
  Components: humanres
Affects Versions: Release Branch 09.04, Release Branch 10.04, SVN trunk
Reporter: Pierre Smits
 Fix For: Release Branch 09.04, Release Branch 10.04, SVN trunk


 In a multi-tenancy situation it is possible that the primary company of the 
 tenant doens't have the id 'company'. In that case the tree isn't built.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-2601) checkStoreCustomerRole support is incomplete.

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-2601.


Resolution: Fixed

You can use the Store-Roles screen for this.

 checkStoreCustomerRole support is incomplete.
 -

 Key: OFBIZ-2601
 URL: https://issues.apache.org/jira/browse/OFBIZ-2601
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Affects Versions: Release Branch 09.04, SVN trunk
Reporter: BJ Freeman
 Fix For: Release Branch 09.04, SVN trunk


 This goes back to Jria 503.
 there is no supporting CRUD tied into supporting this feature.
 so if the a customer signs up they are not associated wih the product store 
 thru the productstorerole.
 the Require Customer Role in product store is set to N

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-2398) BizznessTime Theme

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-2398:
-

 Priority: Trivial  (was: Major)
Affects Version/s: (was: Release Branch 09.04)
Fix Version/s: (was: Release Branch 09.04)

I have decreased the priority because this theme is no more enabled by default; 
for the same reason I have also removed the reference to the 09.04 release 
branch (I will do the same for all the subtasks).


 BizznessTime Theme
 --

 Key: OFBIZ-2398
 URL: https://issues.apache.org/jira/browse/OFBIZ-2398
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS
Affects Versions: SVN trunk
Reporter: Ryan Foster
Priority: Trivial
 Fix For: SVN trunk

 Attachments: BizznessTime.patch, bizznesstime.zip


 This new theme, codename: It's Bizzness Time, addresses most if not all major 
 identified issues with the new Smoothfeather theme.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-2308) BizznessTime theme : Business Area enhancement

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-2308:
-

 Priority: Trivial  (was: Major)
Affects Version/s: (was: Release Branch 09.04)
Fix Version/s: (was: Release Branch 09.04)

  BizznessTime theme :  Business Area enhancement
 

 Key: OFBIZ-2308
 URL: https://issues.apache.org/jira/browse/OFBIZ-2308
 Project: OFBiz
  Issue Type: Sub-task
  Components: ALL COMPONENTS
Affects Versions: SVN trunk
Reporter: Jacques Le Roux
Priority: Trivial
 Fix For: SVN trunk


 We could have a title for each column of Business Area. Something like Main 
 applications Secondary applications, maybe 2 colors also ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-2453) input field shown too long

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-2453:
-

 Priority: Trivial  (was: Major)
Affects Version/s: (was: Release Branch 09.04)

 input field shown too long
 --

 Key: OFBIZ-2453
 URL: https://issues.apache.org/jira/browse/OFBIZ-2453
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Hans Bakker
Priority: Trivial

 If in a widget form i define an input text field and as length 2 characters, 
 the field shown is much longer and is shown much more characters and taking 
 up too much screen space.
 The main problem is shown on the weekly timesheet where there are a lot of 
 input fields. (myportal - timesheet)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3364) Menu improvement

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3364:
-

Affects Version/s: (was: Release Branch 09.04)

 Menu improvement
 

 Key: OFBIZ-3364
 URL: https://issues.apache.org/jira/browse/OFBIZ-3364
 Project: OFBiz
  Issue Type: Sub-task
  Components: ALL APPLICATIONS
Affects Versions: SVN trunk
Reporter: Sam Hamilton
Priority: Trivial

 Feature request that the menu opens on mouse hover and not just a mouse click
 thanks
 Sam

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3042) Font and actually everythings too large

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3042:
-

 Priority: Trivial  (was: Major)
Affects Version/s: (was: Release Branch 09.04)
Fix Version/s: (was: Release Branch 09.04)

 Font and actually everythings too large
 ---

 Key: OFBIZ-3042
 URL: https://issues.apache.org/jira/browse/OFBIZ-3042
 Project: OFBiz
  Issue Type: Sub-task
Affects Versions: SVN trunk
Reporter: Jacques Le Roux
Priority: Trivial
 Fix For: SVN trunk


 Much people in [this thread|http://markmail.org/thread/iazokn4pwck3qlpj] 
 found the font and all around too large. You may zoom out, but have to do it 
 at any new load and it's not best for 1st impression. I think we could have a 
 preference for this!
 [The 1st thread on this subject|http://markmail.org/thread/kdolwrvg75h7salj]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3060) Even with the smallest size (zoom out at maxi) you can't see remove buttons in Catalog/Store/Payments

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3060:
-

Priority: Trivial  (was: Major)

 Even with the smallest size (zoom out at maxi) you can't see remove buttons 
 in Catalog/Store/Payments
 -

 Key: OFBIZ-3060
 URL: https://issues.apache.org/jira/browse/OFBIZ-3060
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Jacques Le Roux
Priority: Trivial
 Attachments: Catalog-Store-Payments.jpg




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3189) Popup is not displayed on product page for order entry.

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3189:
-

Affects Version/s: (was: Release Branch 09.04)

 Popup is not displayed on product page for order entry.
 ---

 Key: OFBIZ-3189
 URL: https://issues.apache.org/jira/browse/OFBIZ-3189
 Project: OFBiz
  Issue Type: Sub-task
  Components: order
Affects Versions: SVN trunk
Reporter: Jacques Le Roux
Priority: Trivial

 See OFBIZ-3188 for more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: svn commit: r1213183 - in /ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr: access/ access/jackrabbit/ api/ api/jackrabbit/ test/

2011-12-13 Thread Sascha Rodekamp
Bilgin, fixed!

Am 13.12.2011 um 03:11 schrieb Bilgin Ibryam bibr...@gmail.com:

 Sascha,
 
 Introducing this checked exception prevents JackrabbitFileHelper from 
 compiling
 
 Bilgin
 
 On 12 December 2011 10:48,  sascharodek...@apache.org wrote:
 Author: sascharodekamp
 Date: Mon Dec 12 10:48:04 2011
 New Revision: 1213183
 
 URL: http://svn.apache.org/viewvc?rev=1213183view=rev
 Log:
 Add a new test and change the exception handling when reading content from 
 the repository. A Path not found exception will now be thrown, when a path 
 not exist.
 
 Modified:

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/ContentReader.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/JcrRepositoryAccessor.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/jackrabbit/ContentReaderJackrabbit.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/jackrabbit/JackrabbitRepositoryAccessor.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/api/JcrDataHelper.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/api/jackrabbit/JackrabbitArticleHelper.java

 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/test/JackrabbitTests.java
 
 Modified: 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/ContentReader.java
 URL: 
 http://svn.apache.org/viewvc/ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/ContentReader.java?rev=1213183r1=1213182r2=1213183view=diff
 ==
 --- 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/ContentReader.java
  (original)
 +++ 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/ContentReader.java
  Mon Dec 12 10:48:04 2011
 @@ -1,5 +1,6 @@
  package org.ofbiz.jcr.access;
 
 +import javax.jcr.PathNotFoundException;
  import javax.jcr.RepositoryException;
  import javax.jcr.query.QueryResult;
 
 @@ -15,8 +16,9 @@ public interface ContentReader {
  *
  * @param nodePath
  * @return
 + * @throws PathNotFoundException
  */
 -OfbizRepositoryMapping getContentObject(String nodePath);
 +OfbizRepositoryMapping getContentObject(String nodePath) throws 
 PathNotFoundException;
 
 /**
  * Return an OfbizRepositoryMapping Object in the specified language and
 @@ -28,8 +30,9 @@ public interface ContentReader {
  * @param language
  * @param version
  * @return
 + * @throws PathNotFoundException
  */
 -OfbizRepositoryMapping getContentObject(String nodePath, String 
 version);
 +OfbizRepositoryMapping getContentObject(String nodePath, String 
 version) throws PathNotFoundException;
 
 /**
  * Returns a tree of all content nodes (except folders and files) in the
 
 Modified: 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/JcrRepositoryAccessor.java
 URL: 
 http://svn.apache.org/viewvc/ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/JcrRepositoryAccessor.java?rev=1213183r1=1213182r2=1213183view=diff
 ==
 --- 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/JcrRepositoryAccessor.java
  (original)
 +++ 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/JcrRepositoryAccessor.java
  Mon Dec 12 10:48:04 2011
 @@ -3,6 +3,7 @@ package org.ofbiz.jcr.access;
  import java.util.List;
 
  import javax.jcr.ItemExistsException;
 +import javax.jcr.PathNotFoundException;
  import javax.jcr.RepositoryException;
  import javax.jcr.Session;
  import javax.jcr.query.QueryResult;
 @@ -25,8 +26,9 @@ public interface JcrRepositoryAccessor {
  *
  * @param nodePath
  * @return
 + * @throws PathNotFoundException
  */
 -OfbizRepositoryMapping getContentObject(String nodePath);
 +OfbizRepositoryMapping getContentObject(String nodePath) throws 
 PathNotFoundException;
 
 /**
  * Return an OfbizRepositoryMapping Object in the specified version from 
 the
 @@ -36,8 +38,9 @@ public interface JcrRepositoryAccessor {
  * @param language
  * @param version
  * @return
 + * @throws PathNotFoundException
  */
 -OfbizRepositoryMapping getContentObject(String nodePath, String 
 version);
 +OfbizRepositoryMapping getContentObject(String nodePath, String 
 version) throws PathNotFoundException;
 
 /**
  * Stores the OfbizRepositoryMapping Class in the content repository.
 
 Modified: 
 ofbiz/branches/jackrabbit20100709/framework/jcr/src/org/ofbiz/jcr/access/jackrabbit/ContentReaderJackrabbit.java
 URL: 
 

[jira] [Closed] (OFBIZ-2453) input field shown too long

2011-12-13 Thread Hans Bakker (Closed) (JIRA)

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

Hans Bakker closed OFBIZ-2453.
--

Resolution: Won't Fix
  Assignee: Hans Bakker

we switched from business theme to tomahawk which does not has this problem.

 input field shown too long
 --

 Key: OFBIZ-2453
 URL: https://issues.apache.org/jira/browse/OFBIZ-2453
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Hans Bakker
Assignee: Hans Bakker
Priority: Trivial

 If in a widget form i define an input text field and as length 2 characters, 
 the field shown is much longer and is shown much more characters and taking 
 up too much screen space.
 The main problem is shown on the weekly timesheet where there are a lot of 
 input fields. (myportal - timesheet)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




buildbot success in ASF Buildbot on ofbiz-trunk

2011-12-13 Thread buildbot
The Buildbot has detected a restored build on builder ofbiz-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/ofbiz-trunk/builds/2399

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

Buildslave for this Build: isis_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch ofbiz/trunk] 1213623
Blamelist: hansbak

Build succeeded!

sincerely,
 -The Buildbot





[jira] [Updated] (OFBIZ-1745) gift card processer error

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-1745:
-

Affects Version/s: (was: Release Branch 4.0)
   Release 4.0

 gift card processer error
 -

 Key: OFBIZ-1745
 URL: https://issues.apache.org/jira/browse/OFBIZ-1745
 Project: OFBiz
  Issue Type: Bug
  Components: accounting
Affects Versions: Release 4.0
 Environment: windows
Reporter: bj_zhou
 Fix For: Release Branch 4.0


 2008-04-10 00:57:53,843 (http-0.0.0.0-8443-Processor3) [   
 ModelService.java:481:ERROR] [ModelService.validate] : {ofbGcProcessor} : 
 (IN) Required test error: org.ofbiz.service.ServiceValidationException: The 
 following required parameter is missing:: [IN] 
 [ofbGcProcessor.billToParty]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.giftCard]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.orderId]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.orderItems]
 2008-04-10 00:57:53,843 (http-0.0.0.0-8443-Processor3) [  
 ServiceDispatcher.java:333:ERROR] 
  exception report 
 --
 Incoming context (in runSync : ofbGcProcessor) does not match expected 
 requirements
 Exception: org.ofbiz.service.ServiceValidationException
 Message: The following required parameter is missing:: [IN] 
 [ofbGcProcessor.billToParty]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.giftCard]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.orderId]The following required parameter is missing:: 
 [IN] [ofbGcProcessor.orderItems]
  stack trace 
 ---
 org.ofbiz.service.ServiceValidationException: The following required 
 parameter is missing:: [IN] [ofbGcProcessor.billToParty]The following 
 required parameter is missing:: [IN] [ofbGcProcessor.giftCard]The following 
 required parameter is missing:: [IN] [ofbGcProcessor.orderId]The following 
 required parameter is missing:: [IN] [ofbGcProcessor.orderItems]
 org.ofbiz.service.ModelService.validate(ModelService.java:523)
 org.ofbiz.service.ModelService.validate(ModelService.java:478)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:331)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
 org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:166)
 org.ofbiz.accounting.payment.PaymentGatewayServices.capturePayment(PaymentGatewayServices.java:1541)
 org.ofbiz.accounting.payment.PaymentGatewayServices.capturePayment(PaymentGatewayServices.java:1447)
 org.ofbiz.accounting.payment.PaymentGatewayServices.captureOrderPayments(PaymentGatewayServices.java:1179)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:585)
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
 org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
 org.ofbiz.accounting.payment.PaymentGatewayServices.capturePaymentsByInvoice(PaymentGatewayServices.java:986)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 java.lang.reflect.Method.invoke(Method.java:585)
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
 org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
 org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
 org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:463)
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
 org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
 org.ofbiz.order.order.OrderServices.checkDigitalItemFulfillment(OrderServices.java:2739)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native 

[jira] [Updated] (OFBIZ-2486) Next button/link on Physical Inventory Screen does not work

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-2486:
-

Affects Version/s: (was: Release Branch 4.0)
   Release 4.0

 Next button/link on Physical Inventory Screen does not work
 ---

 Key: OFBIZ-2486
 URL: https://issues.apache.org/jira/browse/OFBIZ-2486
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Release 4.0
 Environment: Sql Server 2005
Reporter: Brian Sanders
 Fix For: Release Branch 4.0


 To reproduce (requires  100 inventory items, which should already be there):
 Goto Facility  WebStoreWarehouse  Physical Inventory
 Input % as the product id
 Scroll to the bottom and click Next
 The problem is that the facilityId is in the query string 2 times which 
 yields the following query on SQL Server 2005:
 SELECT 
 PR.FACILITY_ID, II.COMMENTS, PR.PRODUCT_ID, PR.PRODUCT_TYPE_ID, 
 PR.PRIMARY_PRODUCT_CATEGORY_ID, PR.MANUFACTURER_PARTY_ID, 
 PR.INTRODUCTION_DATE, PR.SUPPORT_DISCONTINUATION_DATE, 
 PR.SALES_DISCONTINUATION_DATE, PR.SALES_DISC_WHEN_NOT_AVAIL, 
 PR.INTERNAL_NAME, PR.BRAND_NAME, PR.COMMENTS, PR.PRODUCT_NAME, 
 PR.DESCRIPTION, PR.LONG_DESCRIPTION, PR.PRICE_DETAIL_TEXT, 
 PR.SMALL_IMAGE_URL, PR.MEDIUM_IMAGE_URL, PR.LARGE_IMAGE_URL, 
 PR.DETAIL_IMAGE_URL, PR.DETAIL_SCREEN, PR.INVENTORY_MESSAGE, 
 PR.REQUIRE_INVENTORY, PR.QUANTITY_UOM_ID, PR.QUANTITY_INCLUDED, 
 PR.PIECES_INCLUDED, PR.REQUIRE_AMOUNT, PR.FIXED_AMOUNT, 
 PR.AMOUNT_UOM_TYPE_ID, PR.WEIGHT_UOM_ID, PR.WEIGHT, PR.HEIGHT_UOM_ID, 
 PR.PRODUCT_HEIGHT, PR.SHIPPING_HEIGHT, PR.WIDTH_UOM_ID, PR.PRODUCT_WIDTH, 
 PR.SHIPPING_WIDTH, PR.DEPTH_UOM_ID, PR.PRODUCT_DEPTH, PR.SHIPPING_DEPTH, 
 PR.PRODUCT_RATING, PR.RATING_TYPE_ENUM, PR.RETURNABLE, PR.TAXABLE, 
 PR.TAX_CATEGORY, PR.TAX_VAT_CODE, PR.TAX_DUTY_CODE, PR.CHARGE_SHIPPING, 
 PR.AUTO_CREATE_KEYWORDS, PR.INCLUDE_IN_PROMOTIONS, PR.IS_VIRTUAL, 
 PR.IS_VARIANT, PR.ORIGIN_GEO_ID, PR.REQUIREMENT_METHOD_ENUM_ID, 
 PR.BILL_OF_MATERIAL_LEVEL, PR.RESERV_MAX_PERSONS, PR.RESERV2ND_P_P_PERC, 
 PR.RESERV_NTH_P_P_PERC, PR.CREATED_DATE, PR.CREATED_BY_USER_LOGIN, 
 PR.LAST_MODIFIED_DATE, PR.LAST_MODIFIED_BY_USER_LOGIN, PR.IN_SHIPPING_BOX, 
 II.INVENTORY_ITEM_ID, II.INVENTORY_ITEM_TYPE_ID, II.PARTY_ID, 
 II.OWNER_PARTY_ID, II.STATUS_ID, II.DATETIME_RECEIVED, 
 II.DATETIME_MANUFACTURED, II.EXPIRE_DATE, II.FACILITY_ID, II.CONTAINER_ID, 
 II.LOT_ID, II.UOM_ID, II.BIN_NUMBER, II.LOCATION_SEQ_ID, 
 II.QUANTITY_ON_HAND_TOTAL, II.AVAILABLE_TO_PROMISE_TOTAL, 
 II.QUANTITY_ON_HAND, II.AVAILABLE_TO_PROMISE, II.SERIAL_NUMBER, 
 II.SOFT_IDENTIFIER, II.ACTIVATION_NUMBER, II.ACTIVATION_VALID_THRU, 
 II.UNIT_COST, II.CURRENCY_UOM_ID 
 FROM dbo.PRODUCT PR 
 INNER JOIN dbo.INVENTORY_ITEM II ON PR.PRODUCT_ID = II.PRODUCT_ID 
 WHERE (II.FACILITY_ID = ( @P0, @P1 ) AND II.INVENTORY_ITEM_TYPE_ID = @P2 AND 
 PR.PRODUCT_ID LIKE @P3) 
 ORDER BY PR.PRODUCT_ID ASC
 II.FACILITY_ID = ( @P0, @P1 ) is not valid SQL syntax
 I tested for the bug in 9.04 and it is not there. If I modify the URL by 
 removing the redundant facilityId, it works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-1690) Set widget default url encode value to true

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-1690:
-

Affects Version/s: (was: Release Branch 4.0)
   Release 4.0

 Set widget default url encode value to true
 ---

 Key: OFBIZ-1690
 URL: https://issues.apache.org/jira/browse/OFBIZ-1690
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: Release 4.0, SVN trunk
Reporter: Bilgin Ibryam
Priority: Minor
 Fix For: Release Branch 4.0, SVN trunk

 Attachments: encode.patch, encode.patch


 The bug is explained here: 
 http://www.nabble.com/Question-about-ofbiz-url-encoding-to15638660.html#a15638660
 Can someone with framework access commit it please.
 Thanks,
 Bilgin

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3439) Split shipments no longer supported during ecommerce store checkout

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3439:
-

Affects Version/s: (was: Release 4.0)
   Release 09.04
Fix Version/s: (was: Release Branch 4.0)

 Split shipments no longer supported during ecommerce store checkout
 ---

 Key: OFBIZ-3439
 URL: https://issues.apache.org/jira/browse/OFBIZ-3439
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Release 09.04
 Environment: Release 9.04
Reporter: Ruth Hoffman

 During eCommerce store checkout, the option to allow a buyer to select 
 mutliple (2 or more) shiping destinations is no longer supported. This was 
 available and worked in Release 4.0. This is an important and distinguishing 
 feature of the OFBiz eCommerce store and should be put back into the demo.
 Ruth

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3439) Split shipments no longer supported during ecommerce store checkout

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3439:
-

Affects Version/s: (was: Release Branch 09.04)
   Release 4.0

 Split shipments no longer supported during ecommerce store checkout
 ---

 Key: OFBIZ-3439
 URL: https://issues.apache.org/jira/browse/OFBIZ-3439
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Release 09.04
 Environment: Release 9.04
Reporter: Ruth Hoffman

 During eCommerce store checkout, the option to allow a buyer to select 
 mutliple (2 or more) shiping destinations is no longer supported. This was 
 available and worked in Release 4.0. This is an important and distinguishing 
 feature of the OFBiz eCommerce store and should be put back into the demo.
 Ruth

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-3833) Payment capture is less than Order total

2011-12-13 Thread Jacopo Cappellato (Updated) (JIRA)

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

Jacopo Cappellato updated OFBIZ-3833:
-

Affects Version/s: SVN trunk
   Release 4.0
   Release 09.04.01
   Release 10.04
Fix Version/s: (was: Release Branch 10.04)
   (was: Release Branch 09.04)
   (was: Release Branch 4.0)
   (was: SVN trunk)

 Payment capture is less than Order total
 

 Key: OFBIZ-3833
 URL: https://issues.apache.org/jira/browse/OFBIZ-3833
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Release 4.0, Release 09.04.01, Release 10.04, SVN trunk
Reporter: Akash Jain
Priority: Minor
 Attachments: OFBIZ-3833.patch


 Following are the steps to regenerate issue:
 (1) Create an order for state for which Sales Tax applied on product.
 (2) Cancel order item (for which sales tax applied) during Edit Items from 
 order detail page.
 (3) Now depress Quick Ship Entire Orde button, order will be completed.
 (4) There will be diffrence between payment capture and order total (payment 
 catpture will be less than order total).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Erwan de FERRIERES
Hans,

could you create an associated Jira issue, so this won't be forgotten ?

Thanks,

2011/12/13  hans...@apache.org:
 Author: hansbak
 Date: Tue Dec 13 11:04:57 2011
 New Revision: 1213650

 URL: http://svn.apache.org/viewvc?rev=1213650view=rev
 Log:
 commented out accounting auto tests which did not work for a long time

 Modified:
    ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

 Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
 URL: 
 http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
 ==
 --- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml (original)
 +++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue Dec 
 13 11:04:57 2011
 @@ -29,7 +29,8 @@

     test-case case-name=accounting-testsjunit-test-suite 
 class-name=org.ofbiz.accounting.test.FinAccountTests//test-case

 -    test-case case-name=auto-accounting-transaction-tests
 +    !-- commented out for now...test data seems to be missing and i 
 wondered if theyu ever worked, went back to rev: 903431 and ever there the 
 same problem --
 +    !-- test-case case-name=auto-accounting-transaction-tests
         simple-method-test 
 location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
 -    /test-case
 +    /test-case--
  /test-suite





-- 
Erwan de FERRIERES


[jira] [Created] (OFBIZ-4624) some accounting tests have been disabled becuase they do not work at all

2011-12-13 Thread Hans Bakker (Created) (JIRA)
some accounting tests have been disabled becuase they do not work at all


 Key: OFBIZ-4624
 URL: https://issues.apache.org/jira/browse/OFBIZ-4624
 Project: OFBiz
  Issue Type: Bug
  Components: accounting
Affects Versions: SVN trunk
Reporter: Hans Bakker


please chack http://svn.apache.org/viewvc?rev=1213650view=rev
where the test have been disabled

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-4624) some accounting tests have been disabled because they do not work at all and perhaps never worked

2011-12-13 Thread Hans Bakker (Updated) (JIRA)

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

Hans Bakker updated OFBIZ-4624:
---

Summary: some accounting tests have been disabled because they do not work 
at all and perhaps never worked  (was: some accounting tests have been disabled 
becuase they do not work at all)

 some accounting tests have been disabled because they do not work at all and 
 perhaps never worked
 -

 Key: OFBIZ-4624
 URL: https://issues.apache.org/jira/browse/OFBIZ-4624
 Project: OFBiz
  Issue Type: Bug
  Components: accounting
Affects Versions: SVN trunk
Reporter: Hans Bakker

 please chack http://svn.apache.org/viewvc?rev=1213650view=rev
 where the test have been disabled

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Hans Bakker

Yes a good idea:

https://issues.apache.org/jira/browse/OFBIZ-4624

Regards,
Hans


On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:

Hans,

could you create an associated Jira issue, so this won't be forgotten ?

Thanks,

2011/12/13hans...@apache.org:

Author: hansbak
Date: Tue Dec 13 11:04:57 2011
New Revision: 1213650

URL: http://svn.apache.org/viewvc?rev=1213650view=rev
Log:
commented out accounting auto tests which did not work for a long time

Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
==
--- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml (original)
+++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue Dec 13 
11:04:57 2011
@@ -29,7 +29,8 @@

 test-case case-name=accounting-testsjunit-test-suite 
class-name=org.ofbiz.accounting.test.FinAccountTests//test-case

-test-case case-name=auto-accounting-transaction-tests
+!-- commented out for now...test data seems to be missing and i wondered if 
theyu ever worked, went back to rev: 903431 and ever there the same problem --
+!-- test-case case-name=auto-accounting-transaction-tests
 simple-method-test 
location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
-/test-case
+/test-case--
  /test-suite









[jira] [Closed] (OFBIZ-4563) Upgrade Tomcat Version to 7

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4563.



 Upgrade Tomcat Version to 7
 ---

 Key: OFBIZ-4563
 URL: https://issues.apache.org/jira/browse/OFBIZ-4563
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: SVN trunk
 Environment: Ubuntu
Reporter: Chatree Srichart
Assignee: Hans Bakker
Priority: Critical
  Labels: 7, ofbiz, tomcat
 Fix For: SVN trunk

 Attachments: lib.zip, test-results.tar.gz, tomcat7.patch

   Original Estimate: 48h
  Remaining Estimate: 48h

 Hi community.
 I need to upgrade Tomcat version in OFBiz up to 7, currently is 7.0.22.
 I see some changes in API, especially the Embedded class is deprecated and 
 the Tomcat class has been suggested. But the Tomcat class does not have 
 functions like the Embedded class.
 It also use mbean descriptors which provide a number of beans and their 
 attributes.
 Furthermore, The JSSEFactory class has been removed. I have tried to use a 
 new class called JSSEImplementation I hope it will work in the same way.
 Lastly, I am stuck in a ofbizssl.jks path problem when I start the Tomcat 
 instance.
 Could you please give me your hand to get OFBiz work with Tomcat version 7 ?
 Regards,
 Chatree Srichart

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4343) Promotion of inputParamEnumId as PPIP_ORST_YEAR is not working

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4343.



 Promotion of inputParamEnumId as PPIP_ORST_YEAR is not working
 --

 Key: OFBIZ-4343
 URL: https://issues.apache.org/jira/browse/OFBIZ-4343
 Project: OFBiz
  Issue Type: Bug
  Components: order
Reporter: Rishi Solanki
Assignee: Ashish Vijaywargiya
 Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk

 Attachments: Promotion_for_year_total.patch


 When user tries to apply the specified promotion then following problem 
 occurs;
 1) Promotion is not applying for the customer, that means customer do not get 
 the discount even if any promotion of such kind exists for the user.
 1.1) To fix the above will need to add group-by clause to 2 more fields 
 orderTypeId and statusId of view entity OrderHeaderAndRoleSummary as these 
 fields do not have any values to check the condition, as group-by clause do 
 not allow to show them if values are different.
 2) After fixing the issue explained in #1, if user pass the other_value as 12 
 (month) and condVlaue as $ 1000.00, then after $ 1000 if user order history 
 is of $ 900. Then it will pass the check and then user is allow to get 
 discount on any number on the last order.
 3) That means even if the limit is 1000 user is able to purchase in discount 
 of 900 + 300  1200 amount with complete discount. So before checking for 
 the total amount on order history now system will check for order history + 
 cart sub total.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3595) specialpurpose - ebaystore

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3595.



 specialpurpose - ebaystore
 --

 Key: OFBIZ-3595
 URL: https://issues.apache.org/jira/browse/OFBIZ-3595
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Bob Morley
Assignee: Marco Risaliti
 Fix For: SVN trunk

 Attachments: OFBIZ-3595_ResolveJavaWarningsEbaystore.patch




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-2488) Support percentage discount on shipping for a specific shipping method

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-2488.



 Support percentage discount on shipping for a specific shipping method
 --

 Key: OFBIZ-2488
 URL: https://issues.apache.org/jira/browse/OFBIZ-2488
 Project: OFBiz
  Issue Type: New Feature
  Components: product
Affects Versions: SVN trunk
Reporter: Divesh Dutta
Assignee: Hans Bakker
 Fix For: SVN trunk

 Attachments: Shipping_Promotion-OFBIZ-2488.patch, shippingPromo.diff


 Support percentage discount on shipping for a specific shipping method. Also 
 associate this with promotion code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4560) Simplify createReturnStatus SECA

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4560.



 Simplify createReturnStatus SECA
 

 Key: OFBIZ-4560
 URL: https://issues.apache.org/jira/browse/OFBIZ-4560
 Project: OFBiz
  Issue Type: Improvement
  Components: order
Reporter: Joe Eckard
Assignee: Joe Eckard
Priority: Trivial
 Attachments: createReturnStatus.patch


 To simplify logic, createReturnStatus can be called whenever the 
 returnHeader's status is changed. As a side effect, all header status changes 
 will be recorded. This is different than the current logic, which does not 
 record a status change when a return header's status is changed to Received.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3100) Resolve java warnings exposed in Eclipse

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3100.



 Resolve java warnings exposed in Eclipse
 

 Key: OFBIZ-3100
 URL: https://issues.apache.org/jira/browse/OFBIZ-3100
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: SVN trunk
Reporter: Bob Morley
Assignee: Marco Risaliti
 Fix For: SVN trunk


 There are over 9000 warnings reported when you do a build in Eclipse.  Let's 
 clean them up!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4045) Small XML handling issues

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4045.



 Small XML handling issues
 -

 Key: OFBIZ-4045
 URL: https://issues.apache.org/jira/browse/OFBIZ-4045
 Project: OFBiz
  Issue Type: Bug
  Components: commonext/setup, framework
Affects Versions: Release Branch 10.04
 Environment: Windows XP, Java 1.6.0_22
Reporter: Georg Koester
Assignee: Christian Geisert
Priority: Minor
 Fix For: Release Branch 10.04, SVN trunk

 Attachments: better_xml_props_handling.patch, xml_props_problem.PNG

   Original Estimate: 0.5h
  Remaining Estimate: 0.5h

 Create component does not presever encoding during copy and 
 UtilProperties.xmlToProperties does not help in discovering the problem - 
 nothing logged.
 This is quite nasty, it cost me a lot of time to track it down.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4333) Refactoring send email engine

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4333.



 Refactoring send email engine
 -

 Key: OFBIZ-4333
 URL: https://issues.apache.org/jira/browse/OFBIZ-4333
 Project: OFBiz
  Issue Type: Improvement
  Components: ALL COMPONENTS, content, framework
Affects Versions: SVN trunk
Reporter: Nicolas Malin
  Labels: content, mail, notification
 Fix For: SVN trunk

 Attachments: OFBIZ-4333.patch

   Original Estimate: 48h
  Remaining Estimate: 48h

 In OFBiz history, the first entity used was ProductStoreEmailSetting, for 
 automatic email during ecommerce process and in last time the 
 EmailTemplateSetting for specific notification.
 Both entities have the same field : bodyScreenLocation, 
 xslfoAttachScreenLocation, fromAddress, ccAddress, bccAddress, subject, 
 contentType. Just primary key are differents.
 To simplify the notification system, I will suggest :
 * use only EmailTemplateSetting to edit email configuration
 * associate ProductStoreEmailSetting to EmailTemplateSetting
 * convert all service and screen that use ProductStoreEmailSetting
 * create convert service.
 * add contentId on EmailTemplateSetting (or templaceContentId) to use a 
 content for rendering email 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-3648) german WorkeffortUiLabels translations

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-3648.



 german WorkeffortUiLabels translations
 --

 Key: OFBIZ-3648
 URL: https://issues.apache.org/jira/browse/OFBIZ-3648
 Project: OFBiz
  Issue Type: Improvement
  Components: workeffort
Affects Versions: SVN trunk
Reporter: Mirko Vogelsmeier
Assignee: Christian Geisert
Priority: Minor
 Fix For: SVN trunk

 Attachments: WorkEffortUiLabels.xml.patch


 Some german translation for WorkEffortUiLabels.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4338) Can not load only seed datas

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4338.



 Can  not load only seed datas
 -

 Key: OFBIZ-4338
 URL: https://issues.apache.org/jira/browse/OFBIZ-4338
 Project: OFBiz
  Issue Type: Bug
  Components: ALL COMPONENTS
Affects Versions: SVN trunk
Reporter: Stéphane DUCAS
Priority: Minor

 When trying to load only seed datas the full demo datas are loaded

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4564) Refactoring WebAnalytics Screens

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4564.



 Refactoring WebAnalytics Screens
 

 Key: OFBIZ-4564
 URL: https://issues.apache.org/jira/browse/OFBIZ-4564
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: Dimitri Unruh
Assignee: Hans Bakker
Priority: Minor
 Fix For: SVN trunk

 Attachments: OFBIZ-4564.patch


 I did some refactoring for the webAnalytics screens and forms.
 Not such a big deal, some UI issues and uiLabel definitions

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4046) Adding chapter on Datafiles to docbooks.

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4046.



 Adding chapter on Datafiles to docbooks.
 

 Key: OFBIZ-4046
 URL: https://issues.apache.org/jira/browse/OFBIZ-4046
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Release Branch 10.04, SVN trunk
Reporter: BJ Freeman
Assignee: Hans Bakker
Priority: Minor
 Fix For: SVN trunk

 Attachments: OFBIZ-4046ApacheOfbizTechnical.patch, 
 OFBIZ-4046datafile.patch


 this add the datafle chapter to the techbook

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4164) ajaxUpdateAreas not working

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4164.



 ajaxUpdateAreas not working
 ---

 Key: OFBIZ-4164
 URL: https://issues.apache.org/jira/browse/OFBIZ-4164
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
 Environment: ubuntu 10.04,  FF 3.16.13
Reporter: youssef khaye
Assignee: Jacques Le Roux
  Labels: jQuery
 Fix For: SVN trunk

 Attachments: selectall.js.patch


 When using multiple on-event-update-area for a form submit, it yields in an 
 ajaxSubmitFormUpdateAreas and that does not work currently.
 Without being a javascript expert, i can propose a patch to fix this issue.
 I think it is a problem of variable visibility scope  inside the loop. 
 Setting the jQueyr.ajax async option to false resolved the issue.
 In the following patch, i used a name-spacing technique to ensure the 
 parameters visibility inside callback function.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Closed] (OFBIZ-4057) Birt Reports of latest version is not compatible with current BIrt integration

2011-12-13 Thread Jacopo Cappellato (Closed) (JIRA)

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

Jacopo Cappellato closed OFBIZ-4057.



 Birt Reports of latest version is not compatible with current BIrt integration
 --

 Key: OFBIZ-4057
 URL: https://issues.apache.org/jira/browse/OFBIZ-4057
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
Reporter: Chirag Manocha
Assignee: Erwan de FERRIERES
Priority: Blocker
 Fix For: SVN trunk

 Attachments: OFBIZ-4057_BirtJarUpdate.patch, OFBIZ-4057_jars1.zip, 
 OFBIZ-4057_jars2.zip


 I designed the birt report with Birt Report Designer 2.6
 The .rptdesign file is created with the version 3.2.22. When running it with 
 current jars it is giving following error :-
 Exception: org.eclipse.birt.report.model.util.XMLParserException
 Message: Line Number:0 Error Code:Error.XMLParserException.EXCEPTION 
 Exception:org.eclipse.birt.report.model.parser.DesignParserException: The 
 report file of version 3.2.22 is invalid for it is greater than the latest 
 supported one. Message:A generic exception occurred. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Jacopo Cappellato
Hans,

could you please be more specific on the errors/failures you are getting?
It seems I was able to run successfully all the tests.

Jacopo

On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:

 Yes a good idea:
 
 https://issues.apache.org/jira/browse/OFBIZ-4624
 
 Regards,
 Hans
 
 
 On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:
 Hans,
 
 could you create an associated Jira issue, so this won't be forgotten ?
 
 Thanks,
 
 2011/12/13hans...@apache.org:
 Author: hansbak
 Date: Tue Dec 13 11:04:57 2011
 New Revision: 1213650
 
 URL: http://svn.apache.org/viewvc?rev=1213650view=rev
 Log:
 commented out accounting auto tests which did not work for a long time
 
 Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
 
 Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
 URL: 
 http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
 ==
 --- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml 
 (original)
 +++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue Dec 
 13 11:04:57 2011
 @@ -29,7 +29,8 @@
 
 test-case case-name=accounting-testsjunit-test-suite 
 class-name=org.ofbiz.accounting.test.FinAccountTests//test-case
 
 -test-case case-name=auto-accounting-transaction-tests
 +!-- commented out for now...test data seems to be missing and i wondered 
 if theyu ever worked, went back to rev: 903431 and ever there the same 
 problem --
 +!-- test-case case-name=auto-accounting-transaction-tests
 simple-method-test 
 location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
 -/test-case
 +/test-case--
  /test-suite
 
 
 
 
 



Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Adrian Crum
I agree with Jacopo. If this test  did not work for a long time then 
buildbot would let us know.


-Adrian

On 12/13/2011 3:52 PM, Jacopo Cappellato wrote:

Hans,

could you please be more specific on the errors/failures you are getting?
It seems I was able to run successfully all the tests.

Jacopo

On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:


Yes a good idea:

https://issues.apache.org/jira/browse/OFBIZ-4624

Regards,
Hans


On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:

Hans,

could you create an associated Jira issue, so this won't be forgotten ?

Thanks,

2011/12/13hans...@apache.org:

Author: hansbak
Date: Tue Dec 13 11:04:57 2011
New Revision: 1213650

URL: http://svn.apache.org/viewvc?rev=1213650view=rev
Log:
commented out accounting auto tests which did not work for a long time

Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
==
--- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml (original)
+++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue Dec 13 
11:04:57 2011
@@ -29,7 +29,8 @@

 test-case case-name=accounting-testsjunit-test-suite 
class-name=org.ofbiz.accounting.test.FinAccountTests//test-case

-test-case case-name=auto-accounting-transaction-tests
+!-- commented out for now...test data seems to be missing and i wondered if 
theyu ever worked, went back to rev: 903431 and ever there the same problem --
+!-- test-case case-name=auto-accounting-transaction-tests
 simple-method-test 
location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
-/test-case
+/test-case--
  /test-suite






Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Hans Bakker

Hi Jacopo,

this is what is reported:


 Error Message

ERROR: Could not complete the Test case for Purchase Invoices: editing, adding 
taxes and shipping charges and posting to GL 
[file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice]
 process [problem invoking the [setInvoiceStatus] service with the map named 
[serviceCtx] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
 00:11:52.971(java.sql.Timestamp)][lastUpdatedTxStamp,2011-12-13 
00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
 statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
missing: [IN] [setInvoiceStatus.invoiceId]]


 Stacktrace

junit.framework.AssertionFailedError: ERROR: Could not complete the Test case 
for Purchase Invoices: editing, adding taxes and shipping charges and posting 
to GL 
[file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice]
 process [problem invoking the [setInvoiceStatus] service with the map named 
[serviceCtx] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
 00:11:52.971(java.sql.Timestamp)][lastUpdatedTxStamp,2011-12-13 
00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
 statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
missing: [IN] [setInvoiceStatus.invoiceId]]
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:93)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at 
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)


Regards,
Hans


On 12/13/2011 10:52 PM, Jacopo Cappellato wrote:

Hans,

could you please be more specific on the errors/failures you are getting?
It seems I was able to run successfully all the tests.

Jacopo

On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:


Yes a good idea:

https://issues.apache.org/jira/browse/OFBIZ-4624

Regards,
Hans


On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:

Hans,

could you create an associated Jira issue, so this won't be forgotten ?

Thanks,

2011/12/13hans...@apache.org:

Author: hansbak
Date: Tue Dec 13 11:04:57 2011
New Revision: 1213650

URL: http://svn.apache.org/viewvc?rev=1213650view=rev
Log:
commented out accounting auto tests which did not work for a long time

Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
==
--- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml (original)
+++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue Dec 13 
11:04:57 2011
@@ -29,7 +29,8 @@

 test-case case-name=accounting-testsjunit-test-suite 
class-name=org.ofbiz.accounting.test.FinAccountTests//test-case

-test-case case-name=auto-accounting-transaction-tests
+!-- commented out for now...test data seems to be missing and i wondered if 
theyu ever worked, went back to rev: 903431 and ever there the same problem --
+!-- test-case case-name=auto-accounting-transaction-tests
 simple-method-test 
location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
-/test-case
+/test-case--
  /test-suite








[jira] [Created] (OFBIZ-4625) Project, Phase, Task actualsHours, plannedHours is wrong in some case after last modification done on ProjectServices.xml

2011-12-13 Thread Olivier Heintz (Created) (JIRA)
Project, Phase, Task actualsHours, plannedHours is wrong in some case after 
last modification done on ProjectServices.xml
-

 Key: OFBIZ-4625
 URL: https://issues.apache.org/jira/browse/OFBIZ-4625
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: SVN trunk
Reporter: Olivier Heintz
 Fix For: SVN trunk


Last modification on ProjectServices.xml has been done by JIRA-4573, it was 
script optimization done by replacing multiple database request and iterate by 
request on view to obtain directly the result.

These optimizations are very efficient, but in some case result are wrong.

Correction are on 
1)view definition, 
2)plannedHours retreiving separation from  start and end date retreiving 
3)clear-field at the beginning of process.

these corrections have been tested on production sites with large project. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-4625) Project, Phase, Task actualsHours, plannedHours is wrong in some case after last modification done on ProjectServices.xml

2011-12-13 Thread Olivier Heintz (Updated) (JIRA)

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

Olivier Heintz updated OFBIZ-4625:
--

Description: 
Last modification on ProjectServices.xml has been done by JIRA-4584, it was 
script optimization done by replacing multiple database request and iterate by 
request on view to obtain directly the result.

These optimizations are very efficient, but in some case result are wrong.

Correction are on 
1)view definition, 
2)plannedHours retreiving separation from  start and end date retreiving 
3)clear-field at the beginning of process.

these corrections have been tested on production sites with large project. 

  was:
Last modification on ProjectServices.xml has been done by JIRA-4573, it was 
script optimization done by replacing multiple database request and iterate by 
request on view to obtain directly the result.

These optimizations are very efficient, but in some case result are wrong.

Correction are on 
1)view definition, 
2)plannedHours retreiving separation from  start and end date retreiving 
3)clear-field at the beginning of process.

these corrections have been tested on production sites with large project. 


 Project, Phase, Task actualsHours, plannedHours is wrong in some case after 
 last modification done on ProjectServices.xml
 -

 Key: OFBIZ-4625
 URL: https://issues.apache.org/jira/browse/OFBIZ-4625
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: SVN trunk
Reporter: Olivier Heintz
 Fix For: SVN trunk


 Last modification on ProjectServices.xml has been done by JIRA-4584, it was 
 script optimization done by replacing multiple database request and iterate 
 by request on view to obtain directly the result.
 These optimizations are very efficient, but in some case result are wrong.
 Correction are on 
 1)view definition, 
 2)plannedHours retreiving separation from  start and end date retreiving 
 3)clear-field at the beginning of process.
 these corrections have been tested on production sites with large project. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-4625) Project, Phase, Task actualsHours, plannedHours is wrong in some case after last modification done on ProjectServices.xml

2011-12-13 Thread Olivier Heintz (Updated) (JIRA)

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

Olivier Heintz updated OFBIZ-4625:
--

Comment: was deleted

(was: correction on it)

 Project, Phase, Task actualsHours, plannedHours is wrong in some case after 
 last modification done on ProjectServices.xml
 -

 Key: OFBIZ-4625
 URL: https://issues.apache.org/jira/browse/OFBIZ-4625
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: SVN trunk
Reporter: Olivier Heintz
 Fix For: SVN trunk

 Attachments: OFBIZ-4625.patch


 Last modification on ProjectServices.xml has been done by JIRA-4584, it was 
 script optimization done by replacing multiple database request and iterate 
 by request on view to obtain directly the result.
 These optimizations are very efficient, but in some case result are wrong.
 Correction are on 
 1)view definition, 
 2)plannedHours retreiving separation from  start and end date retreiving 
 3)clear-field at the beginning of process.
 these corrections have been tested on production sites with large project. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-4625) Project, Phase, Task actualsHours, plannedHours is wrong in some case after last modification done on ProjectServices.xml

2011-12-13 Thread Olivier Heintz (Updated) (JIRA)

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

Olivier Heintz updated OFBIZ-4625:
--

Attachment: OFBIZ-4625.patch

the corrective patch

 Project, Phase, Task actualsHours, plannedHours is wrong in some case after 
 last modification done on ProjectServices.xml
 -

 Key: OFBIZ-4625
 URL: https://issues.apache.org/jira/browse/OFBIZ-4625
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/projectmgr
Affects Versions: SVN trunk
Reporter: Olivier Heintz
 Fix For: SVN trunk

 Attachments: OFBIZ-4625.patch


 Last modification on ProjectServices.xml has been done by JIRA-4584, it was 
 script optimization done by replacing multiple database request and iterate 
 by request on view to obtain directly the result.
 These optimizations are very efficient, but in some case result are wrong.
 Correction are on 
 1)view definition, 
 2)plannedHours retreiving separation from  start and end date retreiving 
 3)clear-field at the beginning of process.
 these corrections have been tested on production sites with large project. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (OFBIZ-4614) property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used

2011-12-13 Thread Olivier Heintz (Updated) (JIRA)

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

Olivier Heintz updated OFBIZ-4614:
--

Attachment: Test-OFBIZ-4614.patch

With tes-OFBIZ-4614.patch you can test my correction.

This test add a action section in FindExample Form, in this action there is 
only service service-name=testAutofield auto-field-map=parameters/

The service testAutofield just do : put exampleId and + and exampleName in 
exampleName

So, without OFBiz-4614, if you enter Bla in exampleId field and Blas in 
exampleName field and press enter, in the return find screen you have Bla inn 
exampleId field but only + in exampleName field.

With OFBiz-4614 patch apply with the same test, on the return find screen you 
have Bla + Blas in the exampleName field.

 property auto-field-map in services in actions in forms, not working as 
 describe in xsd description, name of map is not used
 

 Key: OFBIZ-4614
 URL: https://issues.apache.org/jira/browse/OFBIZ-4614
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Reporter: Olivier Heintz
Assignee: Erwan de FERRIERES
 Attachments: OFBIZ-4614, Test-OFBIZ-4614.patch


 When using tag service in action in a form
 in xsd description there is This can be true, false or the name of a 
 Map in the context to use as the source Map for the service context
 Currently only true works. With this patch it's possible to give a map name 
 as parameters for example to create the service context

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (OFBIZ-4614) property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used

2011-12-13 Thread Olivier Heintz (Issue Comment Edited) (JIRA)

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

Olivier Heintz edited comment on OFBIZ-4614 at 12/13/11 5:27 PM:
-

With test-OFBIZ-4614.patch you can test my correction.

This test add a action section in FindExample Form, in this action there is 
only service service-name=testAutofield auto-field-map=parameters/

The service testAutofield just do : put exampleId and + and exampleName in 
exampleName

So, without OFBiz-4614, if you enter Bla in exampleId field and Blas in 
exampleName field and press enter, in the return find screen you have Bla in 
exampleId field but only + in exampleName field.

With OFBiz-4614 patch applied with the same test, on the return find screen you 
have Bla + Blas in the exampleName field.

  was (Author: holivier):
With tes-OFBIZ-4614.patch you can test my correction.

This test add a action section in FindExample Form, in this action there is 
only service service-name=testAutofield auto-field-map=parameters/

The service testAutofield just do : put exampleId and + and exampleName in 
exampleName

So, without OFBiz-4614, if you enter Bla in exampleId field and Blas in 
exampleName field and press enter, in the return find screen you have Bla inn 
exampleId field but only + in exampleName field.

With OFBiz-4614 patch apply with the same test, on the return find screen you 
have Bla + Blas in the exampleName field.
  
 property auto-field-map in services in actions in forms, not working as 
 describe in xsd description, name of map is not used
 

 Key: OFBIZ-4614
 URL: https://issues.apache.org/jira/browse/OFBIZ-4614
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Reporter: Olivier Heintz
Assignee: Erwan de FERRIERES
 Attachments: OFBIZ-4614, Test-OFBIZ-4614.patch


 When using tag service in action in a form
 in xsd description there is This can be true, false or the name of a 
 Map in the context to use as the source Map for the service context
 Currently only true works. With this patch it's possible to give a map name 
 as parameters for example to create the service context

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (OFBIZ-4487) enable definition for position on sortfield

2011-12-13 Thread Olivier Heintz (Issue Comment Edited) (JIRA)

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

Olivier Heintz edited comment on OFBIZ-4487 at 12/13/11 5:33 PM:
-

Erwan,

It's correct that it's not the same ouput.
in case one there is no field with position=1 so it's put in first column

It's exactly the same without the patch without extend
if you test with
form name=FindExamples type=single target=FindExample 
default-entity-name=Example
field name=noConditionFindhidden value=Y/!-- if this isn't 
there then with all fields empty no query will be done --/field
field name=exampleId 
title=${uiLabelMap.ExampleExampleId}text-find//field
field name=exampleName 
title=${uiLabelMap.CommonName}text-find//field
field name=exampleTypeId title=${uiLabelMap.CommonType}
drop-down allow-empty=true current-description=
entity-options description=${description} 
key-field-name=exampleTypeId entity-name=ExampleType
entity-order-by field-name=description/
/entity-options
/drop-down
/field
field name=statusId title=${uiLabelMap.CommonStatus} position=2
drop-down allow-empty=true current-description=
entity-options description=${description} 
key-field-name=statusId entity-name=ExampleStatusItem/
/drop-down
/field
field name=searchButton title=${uiLabelMap.CommonFind} 
widget-style=smallSubmitsubmit button-type=button 
image-location=/images/icons/magnifier.png//field
sort-order
field-group
sort-field name=exampleId/
sort-field name=exampleName/
/field-group
field-group
sort-field name=exampleTypeId/
sort-field name=statusId/
/field-group
sort-field name=searchButton/
/sort-order
/form

you will see.

But there is still a other problem with the proposed patch
the defaut position in sort field (if there is nothing, it's 1) override the 
position which is given in field.
It's not correct, it should override only if value is given for position in 
sortfield.

I have corrected this problem and created a new patch sortFieldPosition2.patch.
so, now, with this new patch 
all seem correct for me.


  was (Author: holivier):
Erwan,

It's correct that it's not the same ouput.
in case one there is no field with position=1 so it's put in first column

It's exactly the same without the patch without extend
if you test with
form name=FindExamples type=single target=FindExample 
default-entity-name=Example
field name=noConditionFindhidden value=Y/!-- if this isn't 
there then with all fields empty no query will be done --/field
field name=exampleId 
title=${uiLabelMap.ExampleExampleId}text-find//field
field name=exampleName 
title=${uiLabelMap.CommonName}text-find//field
field name=exampleTypeId title=${uiLabelMap.CommonType}
drop-down allow-empty=true current-description=
entity-options description=${description} 
key-field-name=exampleTypeId entity-name=ExampleType
entity-order-by field-name=description/
/entity-options
/drop-down
/field
field name=statusId title=${uiLabelMap.CommonStatus} position=2
drop-down allow-empty=true current-description=
entity-options description=${description} 
key-field-name=statusId entity-name=ExampleStatusItem/
/drop-down
/field
field name=searchButton title=${uiLabelMap.CommonFind} 
widget-style=smallSubmitsubmit button-type=button 
image-location=/images/icons/magnifier.png//field
sort-order
field-group
sort-field name=exampleId/
sort-field name=exampleName/
/field-group
field-group
sort-field name=exampleTypeId/
sort-field name=statusId/
/field-group
sort-field name=searchButton/
/sort-order
/form

you will see.

But there is still a other problem with the proposed patch
the defaut position in sort field (if there is nothing, it's 1) override the 
position which is given in field.
It's not correct, it should override only if value is given for position in 
sortfield.

so, with the new patch all seem correct for me.
  
 enable definition for position on sortfield
 ---

 Key: OFBIZ-4487
 URL: https://issues.apache.org/jira/browse/OFBIZ-4487
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: SVN trunk
Reporter: youssef khaye
 

[jira] [Resolved] (OFBIZ-4612) apache tika jars are out of date.

2011-12-13 Thread Wai (Resolved) (JIRA)

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

Wai resolved OFBIZ-4612.


Resolution: Not A Problem

 apache tika jars are out of date.
 -

 Key: OFBIZ-4612
 URL: https://issues.apache.org/jira/browse/OFBIZ-4612
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Affects Versions: SVN trunk
Reporter: Wai
Priority: Minor

 http://tika.apache.org
 latest jar is 1.0, trunk ofbiz uses 0.9
 Note: ofbiz uses 2 tika related jars 
 (ie../applications/content/lib/tika-core-0.9.jar
 ./applications/content/lib/tika-parsers-0.9.jar)
 but latest version contains only one jar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (OFBIZ-4620) fail uploading audio/video files to database

2011-12-13 Thread Wai (Commented) (JIRA)

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

Wai commented on OFBIZ-4620:


Hi,
Anybody interested in committing this patch?
Thanks

 fail uploading audio/video files to database
 

 Key: OFBIZ-4620
 URL: https://issues.apache.org/jira/browse/OFBIZ-4620
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
Reporter: Wai
 Attachments: OFBIZ-4620.patch


 When uploading binary files (eg. image/audio/video) to the database, ofbiz 
 throws a type casting exception because it is trying to type cast 
 HeapByteBuffer to byte[].
 I think the problem stems from configuring ofbiz to use java.nio.ByteBuffer 
 and its subclass java.nio.HeapByteBuffer to contain uploaded binary data but 
 no accommodation is made in the code to work with this type of object.
 To test this, you need to set 
 content.properties/content.upload.always.local.file=false
 use 
 https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company
  and upload an image file.
 java.nio.HeapByteBuffer comes from java's rt.jar (make sure your classpath 
 includes this)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (OFBIZ-4620) fail uploading audio/video files to database

2011-12-13 Thread Jacques Le Roux (Assigned) (JIRA)

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

Jacques Le Roux reassigned OFBIZ-4620:
--

Assignee: Jacques Le Roux

 fail uploading audio/video files to database
 

 Key: OFBIZ-4620
 URL: https://issues.apache.org/jira/browse/OFBIZ-4620
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Affects Versions: SVN trunk
Reporter: Wai
Assignee: Jacques Le Roux
 Attachments: OFBIZ-4620.patch


 When uploading binary files (eg. image/audio/video) to the database, ofbiz 
 throws a type casting exception because it is trying to type cast 
 HeapByteBuffer to byte[].
 I think the problem stems from configuring ofbiz to use java.nio.ByteBuffer 
 and its subclass java.nio.HeapByteBuffer to contain uploaded binary data but 
 no accommodation is made in the code to work with this type of object.
 To test this, you need to set 
 content.properties/content.upload.always.local.file=false
 use 
 https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company
  and upload an image file.
 java.nio.HeapByteBuffer comes from java's rt.jar (make sure your classpath 
 includes this)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Jacopo Cappellato
Hans,

did you run ant run-install before ant run-tests?

I suspect that you are getting this error because in your db the order 
DEMO10091 is not found.

Jacopo

On Dec 13, 2011, at 4:56 PM, Hans Bakker wrote:

 Hi Jacopo,
 
 this is what is reported:
 
 Error Message
 
 ERROR: Could not complete the Test case for Purchase Invoices: editing, 
 adding taxes and shipping charges and posting to GL 
 [file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
 ] process [problem invoking the [setInvoiceStatus] service with the map named 
 [serviceCtx] containing 
 [{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
 00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
 00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
  00:11:52.971(java.sql.Timestamp)][lastU
 pdatedTxStamp,2011-12-13 
 00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
  statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
 missing: [IN] [setInvoiceStatus.invoiceId]]
 
 Stacktrace
 
 junit.framework.AssertionFailedError: ERROR: Could not complete the Test case 
 for Purchase Invoices: editing, adding taxes and shipping charges and posting 
 to GL 
 [file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
 ] process [problem invoking the [setInvoiceStatus] service with the map named 
 [serviceCtx] containing 
 [{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
 00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
 00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
  0
 0:11:52.971(java.sql.Timestamp)][lastUpdatedTxStamp,2011-12-13 
 00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
  statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
 missing: [IN] [setInvoiceStatus.invoiceId]]
   at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:93)
   at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
   at 
 org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
   at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
   at org.ofbiz.base.start.Start.start(Start.java:289)
   at org.ofbiz.base.start.Start.main(Start.java:119)
 
 
 Regards,
 Hans
 
 
 On 12/13/2011 10:52 PM, Jacopo Cappellato wrote:
 Hans,
 
 could you please be more specific on the errors/failures you are getting?
 It seems I was able to run successfully all the tests.
 
 Jacopo
 
 On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:
 
 
 Yes a good idea:
 
 
 https://issues.apache.org/jira/browse/OFBIZ-4624
 
 
 Regards,
 Hans
 
 
 On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:
 
 Hans,
 
 could you create an associated Jira issue, so this won't be forgotten ?
 
 Thanks,
 
 2011/12/13
 hans...@apache.org
 :
 
 Author: hansbak
 Date: Tue Dec 13 11:04:57 2011
 New Revision: 1213650
 
 URL: 
 http://svn.apache.org/viewvc?rev=1213650view=rev
 
 Log:
 commented out accounting auto tests which did not work for a long time
 
 Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
 
 Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
 URL: 
 http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff
 
 ==
 --- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml 
 (original)
 +++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue 
 Dec 13 11:04:57 2011
 @@ -29,7 +29,8 @@
 
 test-case case-name=accounting-testsjunit-test-suite 
 class-name=org.ofbiz.accounting.test.FinAccountTests//test-case
 
 -test-case case-name=auto-accounting-transaction-tests
 +!-- commented out for now...test data seems to be missing and i 
 wondered if theyu ever worked, went back to rev: 903431 and ever there 
 the same problem --
 +!-- test-case case-name=auto-accounting-transaction-tests
 simple-method-test 
 location=component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml/
 

Re: svn commit: r1213650 - /ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

2011-12-13 Thread Hans Bakker

Hi Jacopo,

thank you for looking into this.

yes sure i did run ./ant run-install

The test below needs some OrderItemBilling records for order DEMO10091 
which specifies an invoiceId.

these records are however not there and therefore the invoiceId is missing.
I can also not find them anywhere in demo or test data

Then i disabled only the test below, and then all following tests in the 
same file are failing. Then I went back to a much earlier revision where 
the tests are failing tooA revision where i found them working is 
892749 from 2009-12-21 . So they seem to be working before...


did you try to run the ./ant run-tests locally ? It looks like buildbot 
is missing these tests


Regards,
Hans

On 12/14/2011 01:56 PM, Jacopo Cappellato wrote:

Hans,

did you run ant run-install before ant run-tests?

I suspect that you are getting this error because in your db the order 
DEMO10091 is not found.

Jacopo

On Dec 13, 2011, at 4:56 PM, Hans Bakker wrote:


Hi Jacopo,

this is what is reported:

Error Message

ERROR: Could not complete the Test case for Purchase Invoices: editing, adding 
taxes and shipping charges and posting to GL 
[file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
] process [problem invoking the [setInvoiceStatus] service with the map named 
[serviceCtx] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
 00:11:52.971(java.sql.Timestamp)][lastU
pdatedTxStamp,2011-12-13 
00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
 statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
missing: [IN] [setInvoiceStatus.invoiceId]]

Stacktrace

junit.framework.AssertionFailedError: ERROR: Could not complete the Test case 
for Purchase Invoices: editing, adding taxes and shipping charges and posting 
to GL 
[file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
] process [problem invoking the [setInvoiceStatus] service with the map named 
[serviceCtx] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13 
00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13 
00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
 0
0:11:52.971(java.sql.Timestamp)][lastUpdatedTxStamp,2011-12-13 
00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
 statusId=INVOICE_READY, locale=en_US}]: The following required parameter is 
missing: [IN] [setInvoiceStatus.invoiceId]]
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:93)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at 
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)


Regards,
Hans


On 12/13/2011 10:52 PM, Jacopo Cappellato wrote:

Hans,

could you please be more specific on the errors/failures you are getting?
It seems I was able to run successfully all the tests.

Jacopo

On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:



Yes a good idea:


https://issues.apache.org/jira/browse/OFBIZ-4624


Regards,
Hans


On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:


Hans,

could you create an associated Jira issue, so this won't be forgotten ?

Thanks,

2011/12/13
hans...@apache.org
:


Author: hansbak
Date: Tue Dec 13 11:04:57 2011
New Revision: 1213650

URL:
http://svn.apache.org/viewvc?rev=1213650view=rev

Log:
commented out accounting auto tests which did not work for a long time

Modified:
ofbiz/trunk/applications/accounting/testdef/accountingtests.xml

Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650r1=1213649r2=1213650view=diff

==
---