Commit Graph
15465 Commits
Author SHA1 Message Date
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
Hans Bakker 7950a17133 deleteWorkEffortRequest service not working properly: fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981733 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 04:06:31 +00:00
Adam Heath be8ece3717 When loading an order into a cart, handle per-item tax adjustments
correctly, by storing them in CartShipItemInfo, instead of the
ShoppingCartItem.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981699 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 22:33:00 +00:00
Adam Heath 2da92e401f Some more trailing newline changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981698 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 22:32:54 +00:00
Adam Heath d06f72f7f9 FEATURE: Start of union support; parsing isn't tested yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981640 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:44:20 +00:00
Adam Heath 872db5befd FEATURE: Start of aggregate function support.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981639 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:44:12 +00:00
Adam Heath 550d275781 FEATURE: Add count-all variant that doesn't require a table name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981638 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:44:05 +00:00
Adam Heath ca01d94d2a FEATURE: Add support for CREATE INDEX.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981637 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:44:00 +00:00
Adam Heath 56c7c3391a FEATURE: ORDER BY now supports any ConstantValue, which includes any
function, and also math operations.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981636 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:53 +00:00
Adam Heath 066b0716d8 Expose a helper method for parsing order by items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981635 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:47 +00:00
Adam Heath f7ad0f1ea6 Allow external callers to parse individual OrderByItem instances.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981634 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:42 +00:00
Adam Heath 055e49cb5a FEATURE: Add support for NULLS FIRST/LAST in ORDER BY.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981633 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:36 +00:00
Adam Heath 8ebec8e647 OPTIMIZE: Remove descending and orderingSet booleans, they weren't being used
properly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981632 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:30 +00:00
Adam Heath 5147b48afa TESTS: Ensure that no more statements has been parsed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981631 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:25 +00:00
Adam Heath eebce0b77f BUG FIX: Fix parsing of -/+ style order by prefixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981630 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:19 +00:00
Adam Heath 6772e47dd6 FEATURE: Add basic implementations of the available visitors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981629 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:13 +00:00
Adam Heath 2923612353 OPTIMIZE: Remove unused variable i from Select().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981628 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:08 +00:00
Adam Heath f150eecfb9 BUG FIX: CountAll needs to remember the tableName; also implement
equals.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981627 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:43:02 +00:00
Adam Heath 46b66d2bd2 BUG FIX: Fix correct formatting around the operator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981626 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:42:55 +00:00
Adam Heath 33809facfe TESTS: Start adding low-level object unit tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981625 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:42:49 +00:00
Adam Heath c9f9555c25 No longer use ON in relation settings; instead, use MAP, which makes the
sql a little bit simpler.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981624 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:42:39 +00:00
Adam Heath 1581156412 TESTS: Test reparsing of all statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981623 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:42:33 +00:00
Adam Heath a9aa86c234 BUG FIX: OFFSET/LIMIT have to be after ORDER BY/GROUP BY.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981622 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 17:42:28 +00:00