Commit Graph
17223 Commits
Author SHA1 Message Date
Bruno Busco 1af866f4b7 No functional change.
Only changed attributes order in a couple of performFind service calls.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098050 13f79535-47bb-0310-9956-ffa450edef68
2011-04-30 07:06:13 +00:00
Erwan de Ferrieres ee08fe25a2 Removing old and not used lib in birt, 2.6.0 is used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097841 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 15:30:54 +00:00
Adrian Crum 891bc676f7 Updated HttpClient library to version 4.1. The newer version has a number of bug fixes and security fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097827 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:54:50 +00:00
Adrian Crum f635a84fcb Small code cleanup in Base64.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097824 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:46:18 +00:00
Jacques Le Roux db9a495a9b A patch from Pierre Gaudin "Add a parameter to forbid order decimal quantity" https://issues.apache.org/jira/browse/OFBIZ-4257
Fixing patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097799 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 12:53:22 +00:00
Jacques Le Roux 0f99d5d983 I did it wrong in r1094600 and just noticed
<<Slight improvement to prevent false error messages when putting spaces in readers names, eg after commas for instance>>




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097712 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 07:43:56 +00:00
Erwan de Ferrieres 0b3369ddd5 adding tutorial's link to ofbizwebsite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097691 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 05:46:01 +00:00
Hans Bakker bc6503960a Update imagemanagement:
- move remove and rename function to manage page
- create UI label and error UI label
- improve remove function
- improve rejected function
- improve share image function

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097674 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 03:08:59 +00:00
Ashish Vijaywargiya 31f9400063 Applied patch from jira issue OFBIZ-4264 - Implement product price history screen.
Steps for testing.
Goto https://localhost:8443/catalog/control/EditProductPrices?productId=WG-9943
Update product price one or more times.
Hit the History button on "Edit Product Prices" section.
Now "Product Price History" will be displayed.
Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097431 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 12:15:22 +00:00
Ashish Vijaywargiya db22e99525 Applied patch from jira issue - OFBIZ-4265. Improve readability of Edit Promo Rules page. Added new uiLabel map entries, did logical grouping of screen. Thanks Akash for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097428 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 12:03:11 +00:00
Jacques Le Roux e3dbe00801 Fixes some typos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097389 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:56:00 +00:00
Jacques Le Roux 2b97e68c4f Put a doc about this unimplemented tag. A guy in the team thought it could rely on it for data loading order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097382 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:40:43 +00:00
Erwan de Ferrieres bfc158dc67 A patch from Pierre Gaudin - error in pagination target with on-event-update-area parameters - OFBIZ-4249
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096871 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:43:01 +00:00
Jacques Le Roux 18fcf5b74a A patch from Nicolas Malin "Add famfamfam icons has generic and add possibility to surchage" https://issues.apache.org/jira/browse/OFBIZ-4259
JLR: Reopened because it should follow https://cwiki.apache.org/OFBADMIN/html-and-css-best-practices.html or provide another solution

Nicolas: First quick step, I remove img on menu. Second step, I begin a reflexion to improve my enchancement (see msg in dev ML)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096457 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 11:08:32 +00:00
Ashish Vijaywargiya 70cc71aebf Applied patch from jira issue OFBIZ-4263.
When we link party from https://localhost:8443/partymgr/control/linkparty?partyId=10000 screen.
It is showing error on console. For console error please refer jira issue.
Thanks Amit for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096441 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 09:29:04 +00:00
Sascha Rodekamp 6a0bbb1040 Bug - Next, Last, Previous and First functions are broken in lookup dialog (https://issues.apache.org/jira/browse/OFBIZ-4261) There was a bug in the interpretation of the next, last, prev link.
Orig. Msg.
When I open an layer mode lookup window and click the 'Next' button above the search result list, nothing happend but exception occures in backend. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096344 13f79535-47bb-0310-9956-ffa450edef68
2011-04-24 16:32:16 +00:00
Jacques Le Roux 13e570bcbf A patch from Nicolas Malin "Enhanced way of displaying "missing/incorrect fields"" https://issues.apache.org/jira/browse/OFBIZ-2132
Initial demand by Michael Pätzold
At the moment we concentrate on increasing the usability of the backend application. One thing we recognized is the way form errors are reported to the users. Now it's done by showing a list of entity fields, that are required. A more common approach would be to highlight the form controls, that were not/wrongly filled. Was/Is there any task related to that or something similar?

Nicolas's solution
With integration of JQuery and validate function integrate by Sascha, I extend the Form renderer to apply required class and alert the form when she submitted to pass by JQuery validate function.

JLR: I have added a required field to InternalName field in Edit Product Form. There are maybe other cases like that which should be improved...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096293 13f79535-47bb-0310-9956-ffa450edef68
2011-04-24 09:48:59 +00:00
Jacques Le Roux 849f4016e5 A patch from Nicolas Malin "Add LookupPortalPage on common components" https://issues.apache.org/jira/browse/OFBIZ-4260
To test :

    * apply patch
    * apply patch from OFBiz-4262
    * load seed
    * Go to example and add examplePortlet2 to an example pagePortal
    * Edit examplePortlet2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096290 13f79535-47bb-0310-9956-ffa450edef68
2011-04-24 09:35:28 +00:00
Jacques Le Roux 5bb2f3a420 A patch from Nicolas Malin "getImageLocation generates NullPointer" https://issues.apache.org/jira/browse/OFBIZ-4262
When you use auto-field-entity on a form , you get a nullPointer :

java.lang.NullPointerException
org.ofbiz.widget.form.ModelFormField$DisplayField.getImageLocation(ModelFormField.java:2122)
org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:193)
org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2104)
org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:600)
org.ofbiz.widget.form.ModelForm.renderItemRow(ModelForm.java:1707)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096140 13f79535-47bb-0310-9956-ffa450edef68
2011-04-23 13:07:21 +00:00
Jacques Le Roux 3210eea160 Nicolas forgot this in his patch and it did not showed unless you made a clean up before building. Complete r1095984, related to https://issues.apache.org/jira/browse/OFBIZ-4259
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1096083 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 23:19:38 +00:00
Jacques Le Roux 48c6114143 A patch from Nicolas Malin "Add famfamfam icons has generic and add possibility to surchage" https://issues.apache.org/jira/browse/OFBIZ-4259
Adds the possibility to use famfamfam icons contained in framework/images/webapp/images/famfamfam/icons.
If you want use a specific icon, it's possible to define an attribute VT_ICONS_LOC that contains the location to themes icons directory to use
It improves form rendering to pass a flexible string on image-location attribute and screen and form renderer to display an image with a text.

JLR: I just added à &nbsp; before menus texts

After Erwan's remark I wondered If I should remove the CSS on buttons. But I finally found that it was complementary. Because when no image is used on a specific button you still have the default CSS style applied (typical for Add buttons as Erwan outlined). And when no default CSS style is applied you can have an image like now shown OTTB on print button when editing an Example. So I see these 2 features as complementary for now. Maybe one day, one will replace the other, but at this stage both are welcome IMO.

BTW the famfamfam (strange name ;o) icons lib is well done and really full of possibilities...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095984 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 18:51:10 +00:00
Hans Bakker c136195d23 Using Amazon EC2 loadbalancer which already decrypted to http, content should still be served https so checking for X-Forwarded-Proto request variable too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095859 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 02:40:37 +00:00
Andrew Zeneski 8767ee5911 make sure orderItemSeqId is never null when creating OrderTerm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 16:10:36 +00:00
Adrian Crum edbcc68dcd New feature: i18n entity descriptions in Web Tools. New feature demonstrated in Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095037 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:23:07 +00:00
Adrian Crum b722da2a04 Small fixup for ServiceDispatcher.java - truncate log messages longer than 10K. Some service results can be multiple MB in size, resulting in huge log entries (4 MB in entity reference page).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095032 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:20:39 +00:00
Adrian Crum 79a144483d Bug fix: Entity ModelInfo default info was not working.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095029 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 11:17:01 +00:00
Jacques Le Roux f5e1d69c09 A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
Fixes issue of getting store categories in ebay store component during product export functionality. Added a new method to get store categories and made fixes in existing code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1095024 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 10:54:01 +00:00
Jacques Le Roux 9aae03cbce A patch from Ankit Jain "Some misc issues in ebay and ebayStore component."(https://issues.apache.org/jira/browse/OFBIZ-4118
Improvement in ebay store.

In the ebay account adds a screen to add catalog to store , so one can add the catalogs to ebay store.

After selecting an account, it redirect to ebay account page, and here is the screen https://localhost:8443/ebaystore/control/AssociateCatalog?productStoreId=90101
so one can add the catalog to ebay store.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094868 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 06:17:44 +00:00
Jacques Le Roux 4ba28611c0 Slight improvement to prevent false error messages when putting spaces in readers names, eg after commas for instance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094600 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 14:40:15 +00:00
Jacques Le Roux 44c9cbd00a A patch from Leon "Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list" https://issues.apache.org/jira/browse/OFBIZ-4258
In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

Fixes some problem in current GeoData_CN.xml

Also changes the geoTypeId from "REGIONS" to "MUNICIPALITY" for some "Autonomous regions" and "Special administrative Regions" and add some missing country-state associations.
It's better to add new geo types for "Autonomous regions" or "Special Administrative Regions", but I don't want to make the thing complex if there's no such strong demand.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094505 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 12:02:47 +00:00
Erwan de Ferrieres 025ca68ca9 Correcting French mistakes for ProductOrderDecimalQuantityExistsToOverride
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094439 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 10:00:50 +00:00
Erwan de Ferrieres 3102040b90 Better consistency in EbayForms, all websiteId are now displayed like ' []'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094438 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 09:58:27 +00:00
Jacques Le Roux f66e23a03a A patch from Ankit Jain "Some misc issues in ebay and ebayStore component."(https://issues.apache.org/jira/browse/OFBIZ-4118
On the Ebay Configuration search page (https://localhost:8443/ebaystore/control/FindEbayConfigurations) a default value "EBAY_STORE" is shown selected and after search the same value is shown instead of the value we selected before clicking on find and same case on on Edit Ebay Configuration page (https://localhost:8443/ebaystore/control/EditEbayConfiguration?productStoreId=9000).

The attached patch fixed this problem also fixed the website data.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094281 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 06:55:29 +00:00
Sascha Rodekamp 4598d690fa Improvement: Enables the jQuery validation plugin for all macro generted forms if min one field has the widget-style required.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094138 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 12:52:54 +00:00
Jacques Le Roux d08bd66ac6 A patch from Pierre Gaudin "Error in stock reception on same inventory item with same unit price" https://issues.apache.org/jira/browse/OFBIZ-4250
During the reception of stock, if the reception is made on a line of stock which already exists with the same unit price, an accounting transaction due to the stock price value change is created with an amount of debit and credit of 0.

This is not normal and generate an error in the service postAcctgTrans.

This aim of this patch is to avoid creation of accounting transaction linked to the stock price value change if the unit price does not change.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094126 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 10:15:23 +00:00
Jacques Le Roux e609f74879 A patch from Pierre Gaudin "Add a parameter to forbid order decimal quantity" https://issues.apache.org/jira/browse/OFBIZ-4257
Behavior before the patch :

    * you can add decimal quantity on shopping cart item (front office and back office) even if the product is a unit
    * there is no rounding on quantity on shopping cart item thus you get amount with a large number of decimal
    * reorder widget display quantity to reorder with a large number of decimal

What does this patch :

    * a new field "orderDecimalQuantity" is added into ProducStore entity. The value of this field can be set from EditProducStore form (into shopping cart section). Value can be "Y", "N" or empty.
    * a new field "orderDecimalQuantity" is added into Product entity. The value of this field can be set from EditProduc form (into shopping cart section). Value can be "Y", "N" or empty.
    * a new method "isDecimalQuantityOrderAllowed" have been add into productWorker class. This method test if order decimal quantity is allow for a product and a productStore. Product is superior on producStore. Here is the table of value :
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = "Y" => return True
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = "N" => return False
    * ProductStore.orderDecimalQuantity = "Y" && Product.orderDecimalQuantity = empty => return True
    * ProductStore.orderDecimalQuantity = "N" && Product.orderDecimalQuantity = empty => return False
    * ProductStore.orderDecimalQuantity = empty && Product.orderDecimalQuantity = empty => return True
    * addToCat and modifyCart car method have been modify to call isDecimalQuantityOrderAllowed. If result is true then quantity is rounding with order config value. If result is false then quantity is rounding to 0. No message is return.
    * to fix reorder quantity, then getQuickReorderProducts method have been modify to call isDecimalQuantityOrderAllowed. If result is true then quantity is rounding with order config value. If result is false then quantity is rounding to 0.

What the result :

    * You can forbid or accept to manage order decimal quantity for all product
    * You can forbid or accept to manage order decimal quantity for one product
    * Decimal quantity are now rounded with order config value.
    * reorder quantity is rounded with order config value or rounding to 0


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094121 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 09:17:21 +00:00
Sascha Rodekamp e59cbc4930 Bug - Fixed a bug reported by Ravindra Mandre. When creating a party the first and last name were decalred as mandatory field but this was not checked in the service definition.
I extended the service definition, now first name and last name are not optional anymore.

Orig Msg:


> Hi list,
>
> In partymgr when I am creating a person then on the form first name and
> last
> name are required fields but If I submit the form without passing the first
> name and last name , form gets submitted , it means required validations
> are
> not working. so I am curious to know Is there any problem with Validations
> ?
> I tried for the following url
>
>
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editperson?create_new=Y


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094007 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 15:15:27 +00:00
Erwan de Ferrieres 20eb38ee17 missing link in French help to the documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1094006 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 15:07:09 +00:00
Erwan de Ferrieres ef9cf5e8ce Correcting properties and using the https start url for selenium tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092796 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:58:48 +00:00
Erwan de Ferrieres 88f43e56ba Adding a new property for the https start url
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092793 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:32:05 +00:00
Erwan de Ferrieres c75733c167 using the firefox profile by default when running selenium tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:30:12 +00:00
Erwan de Ferrieres 7d3833005f Adding a simple firefox profile which has accepted the OFBiz HTTPS certificate. It will be no more necessary to change the port.https.enabled to N in url.properties. Still some changes to come.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092773 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 17:38:57 +00:00
Jacques Le Roux 21cee33617 Keeps firefoxDefaultPath as a reminder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092713 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:15:42 +00:00
Erwan de Ferrieres 1ad6652d24 should be using the role attribute and not looking for a child element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092711 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:11:56 +00:00
Erwan de Ferrieres 2e635a5a55 Automatic imports reorganization in SeleniumXml.java -- no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092710 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:04:58 +00:00
Erwan de Ferrieres cc247e81e2 Now OFBiz is able to run HTML selenium testsuites. Non specific java code is coming from SeleniumHtmlClient (https://github.com/takamori/selenium-html-client-driver) which is under the Apache2 license.
A testsuite is provided with the commit, just go to the selenium webtools' page, and execute it. For now, you still need to change the url.properties file, and start the selenium server.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092706 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 13:55:38 +00:00
Erwan de Ferrieres f865611683 Using default firefox installed in the system for selenium tests, if another one is to be used then the config should be modified
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092652 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 10:11:11 +00:00
Erwan de Ferrieres 5792b9aba4 Using <span/> for anchor instead of <a/>, resolving errors with firefox or chrome when using help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092503 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 20:31:14 +00:00
Jacques Le Roux 4b9953049b A patch from Stephen Rufle "Missing partyId on "Geo Location" link on viewprofile screen" https://issues.apache.org/jira/browse/OFBIZ-4255
On the view profile screen in the "Party Manager" app. The "Geo Location" link in the "Contact Information" box is not passing the partyId so when you get to the map page the profile id for "null" when it should be for "DemoCustomer"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092479 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 19:49:59 +00:00
Christian Geisert e9f7f30441 Improvement of german Labels
See OFBIZ-4195
Submitted by Konstantin N.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092353 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:49:13 +00:00