Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 3e925d6a06 Moves getCountryList and getAssociatedStateList from Party component to Framework to avoid dependencies on Party component (countries and states are not parties, but Geo, ie should be in the framework)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986325 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 14:31:25 +00:00
Jacques Le Roux 04d4634019 Removes deprecated and useless framework/common/webcommon/WEB-INF/geolocation.ftl, it has been replaced by framework/common/webcommon/includes/geolocation.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986266 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 11:25:24 +00:00
Erwan de Ferrieres 70767d45b9 removing trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986096 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:58:02 +00:00
Erwan de Ferrieres 0ae7083542 Adding geolocation using openstreetmap, examples are taken from the google existing ones
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986095 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:56:25 +00:00
Jacques Le Roux 89dec0b0bf Completes r985856 "Cost calculation is still broken and no shipping costs are returned"
I forgot to commit the change in ShipmentCostEstimate: add productStoreShipMethId to ShipmentCostEstimate when created by createShipmentEstimate. Else new created ShipmentCostEstimate would be inconsistent, see http://markmail.org/message/2f6ryfm6fvvrvx74  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985902 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 12:41:00 +00:00
Jacques Le Roux 4cf1de3119 Fix a bug reported in this thread http://markmail.org/message/2f6ryfm6fvvrvx74
"Cost calculation is still broken and no shipping costs are returned."

Note that nothing still is calculated for Fedex. I'm not quite sure if it's related, but Fedex has changed/is changing how things work. The API is deprecated, replaced by web services and will be totally unusable in May 2012

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985856 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 10:14:45 +00:00
Jacques Le Roux 8b9e3c3f66 Uses a better syntax w/out any fixed naming conventions. Thanks to Andrew. More to come soon in Example component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985745 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 20:25:01 +00:00
Jacques Le Roux 33d9854c6f Fix "Attach Features to Category from Products" (https://issues.apache.org/jira/browse/OFBIZ-3890) - OFBIZ-3890 reported by Michał Cukierman
Steps:
1) Go to Catalog Manager
3) Select Large Gizmos cateogry
4) Go to the features second lvl tab
5) Click "Attach Features to Category from Products" option

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985718 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 17:52:25 +00:00
Erwan de Ferrieres 926d4ea1dd Upgrading to Commons FileUpload 1.2.2, bug fix release from August 2010
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985714 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 17:09:49 +00:00
Jacques Le Roux c04f9410df Resolve issues from r985624 (only ReadCommitted for HSQL should have been changed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985639 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 09:30:38 +00:00
Jacques Le Roux 9315590611 Checking entityengine.xml I found that, by default, only HSQL uses isolation-level="ReadUncommitted" while all others use
isolation-level="ReadCommitted". Since its version 2.0, HSQL now supports ReadCommitted. 

http://en.wikipedia.org/wiki/HSQLDB


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985624 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 07:59:16 +00:00
Bruno Busco ef82b88d15 Better Italian labels.
Removed a duplication of a FormField label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985547 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:44:42 +00:00
Bruno Busco d17613645b Added "Description" label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985546 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:43:34 +00:00
Bruno Busco b147ea3c5e Adding the "create" class on appropriate buttons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985545 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:42:25 +00:00
Bruno Busco 0d4faa902a No necessity to specify the field title. Using the formfield_** label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985544 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:40:11 +00:00
Bruno Busco 5e5b6a9309 Slightly improved Party Manager help screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985539 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 17:36:00 +00:00
Bruno Busco 7a5b18ef65 Allows the current party name be visible again on the header bar. It was not visible any more after the addition of the waiting icon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985516 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 15:55:37 +00:00
Jacques Le Roux 008c6f660b Fix a bug reported by rrhati on user ML: Error message while adding to cart from ecommerce's promotion detail page
I get a error that "ERROR: No promotion found with ID [] " when I click on "add to cart" on the promotional items from the promotiondetail page. Have a look at the screenshots at 
http://ofbiz.135035.n4.nabble.com/Error-message-while-adding-to-cart-from-ecommerce-s-promotion-detail-page-td2320794.html#a2321147

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985473 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 12:06:48 +00:00
Jacques Le Roux 40f66b1ac0 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985434 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 06:14:00 +00:00
Adam Heath 8a23b9998c Missed some files in the tomcat 6.0.29 upgrade, and also updated LICENSE
and .classpath.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985309 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 18:00:36 +00:00
Adam Heath 3a11099f63 Upgrade tomcat; this is a security upgrade.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985299 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 17:43:06 +00:00
Adam Heath a633201428 Different entity groups can point to the same helper. However, since
the entities defined in the group are what is passed to the helper for
checking, it makes no sense to have protection against a helper from
being checked multiple times.

Ideally, the proper fix would be to find all groups by helper, combine
all the entities together, then pass them to the helper in one shot.
However, with the new tenant system, this grouping needs to be done by
target database uri(and other parameters), not by helper name.  This
might get done later.

Before this commit, any ofbiz installation that put multiple entity
groups into the same helper would only have the entities from the first
group get created.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985298 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 17:42:51 +00:00
Jacques Le Roux 4ced84dd08 A patch from Karl Pitrich "When editing Portal Pages, Drag & Drop for Portlets does not work" (https://issues.apache.org/jira/browse/OFBIZ-3889) - OFBIZ-3889
When editing Portlet Pages, either in MyPortal or PortalAdm, Drag & Drop of Portlets does not work.
Where are several Issues in the MyPortal, some have fixes, none is commited to trunk.

Problems:

    * in myportal.js, function getDestinationInformationPortlets(): DOM ID's are not handled correctly
    * in framework/webtools/widget/PortalAdmScreens.xml: required javascript + css files are not included


JLR: 
While working on this I have found other issues: the login.ftl files used in hhfacility and myportal were not tenant enabled. They are different  but by chance in myportal very close to common so I was finally able  to do both at along with  Karl's changes. Actually I wanted to do 2 commits but forget to uncheck the files while doing a second attempt to commit.

MyPortal
 * The login process in MyPortal was not tenant enabled, it's done in this commit.
 * I kept its specificity : newRegisterLogin and wonder why it has not been extended to common?

hhfacility
The login process in hhfacility was not tenant enabled, it's done in this commit. Doing so, I saw there i18n is not done, not an issue for me...







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985163 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 11:43:38 +00:00
Hans Bakker 5b8fb74a32 change field name 'condition' because is a reserved word
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985102 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 06:23:30 +00:00
Hans Bakker 422b10f3ed This feature is the automation of best offers. It is used to check and respond to an offer of a customer in the eBay Store.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@984366 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 10:39:10 +00:00
Hans Bakker 12ee138903 add new line at end of file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@984364 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 10:33:42 +00:00
Jacques Le Roux b7642843fd Fixes 2 typos in Javadoc found by chance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983946 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 11:55:44 +00:00
Jacques Le Roux f8c2c2be19 A patch from René Scheibe <<"createUpdateBillingAddressAndPaymentMethod" service called from one page checkout throws Exception due to incorrect field name>> (https://issues.apache.org/jira/browse/OFBIZ-3887) - OFBIZ-3887
Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".

Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 11:20:55 +00:00
Jacques Le Roux b552004b9b A patch from René Scheibe ""setShippingOption" service called from one page checkout throws Exception" (https://issues.apache.org/jira/browse/OFBIZ-3886) - OFBIZ-3886
The shippingTotal has to be a BigDecimal for the methods called...

    * org.ofbiz.base.util.UtilFormatOut.formatCurrency(...)
    * org.ofbiz.order.shoppingcart.ShoppingCart.setItemShipGroupEstimate(...)

...so in case it's null, initialize it with BigDecimal.ZERO instead of 0.00

Fixes also some JavaDoc in UtilFormatOut.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983920 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 10:43:01 +00:00
Hans Bakker dbfe449399 simplyfication of code and comment out log message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983544 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 07:39:51 +00:00
Adam Heath 0062d852d7 Also check OrderAdjustmentBilling for an orderId linkages when
displaying InventoryItem records.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982872 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:47:10 +00:00
Adam Heath da0da53f2a Fix importing of data in webtools xml file import.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982871 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:47:01 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacopo Cappellato 067defc63c Fix for typo; unfortunately the typo is also in the id that is a primary key: this should be fixed as well but will require some work to make it backward compatible and I don't have time to do it now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982596 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 13:05:19 +00:00
Jacopo Cappellato fb18f7f63e Fixed wrong parameter set in the link to the production run detail page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982595 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 13:03:31 +00:00
Hans Bakker 167adb75bc allow the update of invoiceId's of 'completed' timesheet entries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982503 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 08:31:50 +00:00
Jacopo Cappellato 057fa56a04 Fixed a couple of issues (reported by Giorgio Tomaselli) in the MRP event search form: error thrown (due to a missing import statement) when a date filter was selected and removed unused and old "description" field (now the description is provided by Ajax)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982276 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:57:40 +00:00
Jacopo Cappellato fde2b45002 Improved error handling: the java event was hiding the error returned by the service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982273 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 14:53:54 +00:00
Hans Bakker ce47857de5 update a link in the internal documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982155 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 08:17:59 +00:00
Scott Gray 3483832f8c Replace usage of deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982144 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:28:25 +00:00
Scott Gray bb97cd803b Deprecated (renamed) org.ofbiz.party.party.PartyWorker.findMatchingPartyAndPostalAddress(...), use findMatchingPersonPostalAddresses(...) instead. Includes minor javadoc change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982143 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:28:06 +00:00
Scott Gray 61c710f429 Extract Method getMatchingPartyPostalAddress(...) from getMatchingPartyAndPostalAddress and add a partyTypeId parameter to the extracted method, this allows the address matching portion of the code to be reused in various party matching methods e.g. Person vs. Company
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982142 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:27:58 +00:00
Scott Gray dc09ea0633 Replace a long "if not empty" block with an "if empty" early return, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982141 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:27:49 +00:00
Scott Gray ed876da4d6 Add some javadocs to the person/address matching methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982119 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 04:18:03 +00:00
Scott Gray c16556e21d Remove escaping of single quotes from a city string before it is adding to the entity condition. I'm not really sure of what its purpose was.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982118 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 04:17:52 +00:00
Scott Gray 9584101183 Prevent potential NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982117 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 04:17:08 +00:00
Jacopo Cappellato 2ea51771c2 Incresed font size of the pdf report of the pproduction run: the default font size of 8pt was definetily too small for a document that is mostly printed and used by workers in a manufacturing facility.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981950 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 16:14:49 +00:00
Jacopo Cappellato 18617a5502 Added information about the initial (creation) quantity for the inventory items created by a production run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981898 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 14:22:51 +00:00
Jacopo Cappellato c25b2eb234 Simlified service definitions for CRUD operations on the TechDataCalendarWeek entity: this also fix the calendar week editor that was broken.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981865 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 13:27:18 +00:00
Erwan de Ferrieres 07761eee51 Missing uiLabels for WE fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981855 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 12:58:51 +00:00