Commit Graph
27737 Commits
Author SHA1 Message Date
Vikas Mayur caf51ef516 Formatting fixes for last commit. Also include some additional formatting fixes that I found in the same method createExchangeOrderAssoc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065498 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 07:26:31 +00:00
Vikas Mayur 6047aba3ab Bug fix - While creating exchange order for returned refund item(s) in some cases system throw an error for duplicate entry for key. The additional check will prevent it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065497 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 07:22:40 +00:00
Marco Risaliti 838f884727 Remove java compilation warnings of ProductDisplayWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065371 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 20:40:12 +00:00
Marco Risaliti f7839df637 Remove java compilation warnings of OrderManagerEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065338 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:15:44 +00:00
Marco Risaliti 7f843715a6 Remove java compilation warnings of ProductStoreCartAwareEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065335 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:56:30 +00:00
Marco Risaliti 5ba5eb600c Remove java compilation warnings of CheckOutHelper (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065334 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:51:42 +00:00
Marco Risaliti 7fc621d58c Remove java compilation warnings of WebShoppingCart (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065333 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:45:34 +00:00
Marco Risaliti dde8577345 Remove java compilation warnings of ItemNotFoundException (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065332 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:44:42 +00:00
Marco Risaliti 814a5116c1 Remove java compilation warnings of CartEventListener (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065331 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:43:48 +00:00
Marco Risaliti 856385d56e Remove java compilation warnings of ShoppingListServices/ShoppingListEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065325 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:25:13 +00:00
Marco Risaliti 1d721bb0ee Remove java compilation warnings of OrderReturnServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065268 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 13:45:44 +00:00
Marco Risaliti e04ed9463a A missing label of shipment management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065260 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 12:59:35 +00:00
Jacques Le Roux 7795052f60 Add "it's recommended to use HTML source" to Layout Page demo in Itialian, though should be double checked
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065247 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 10:51:03 +00:00
Jacques Le Roux 6eba867860 Add "it's recommended to use HTML source" to Layout Page demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065246 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 10:48:50 +00:00
Bruno Busco d749f74d6e No functional changes, only clean-up for Tomahawk theme.
Changed some theme-defined style names so that now they describe items function and not how items appear on the screen.
Simplified the navigation tree structure.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065243 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 10:14:01 +00:00
Marco Risaliti cb249f54de Remove java compilation warnings of OrderListState (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065225 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:20:14 +00:00
Marco Risaliti eecea37723 Remove java compilation warnings of OrderEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065218 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 08:07:09 +00:00
Marco Risaliti e62eec937c Remove java compilation warnings of OrderContentWrapper (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065213 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 07:56:49 +00:00
Marco Risaliti 508cfb4e99 Remove java compilation warnings of OrderChangeHelper (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065211 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 07:50:20 +00:00
Jacques Le Roux d6b0e16e1e A patch from René Scheibe "Incorrect CSS path for elRTE editor." (https://issues.apache.org/jira/browse/OFBIZ-4157) - OFBIZ-4157
The path to elrte-inner.css is incorrect when starting the editor.

The result is that in the WYSIWYG view eg. div and tables are not surrounded with a small blue border.
The problem is also visible in the logs: "Unknown request [css]; this request does not exist or cannot be called directly."

JLR: I checked this was the sole issue for elrte-inner.css

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065147 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:45:10 +00:00
Marco Risaliti 434126b1fc Remove java compilation warnings of OrderLookupServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065145 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:36:03 +00:00
Jacques Le Roux c2ea70f355 A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" (https://issues.apache.org/jira/browse/OFBIZ-3971) - OFBIZ-3971
This patch enables users to create new tenants via the ANT process.
Users can enter:
    * Tenant ID
    * Tenant Name
    * Data to load on creation of the tenant db (e.g.seed, seed-ext, demo)
    * Database Platform (Derby, MySQL, Oracle, PostgreSQL) remark: You can NOT mix platforms)
    * IP address of the database (you can add a port if needed)
    * User-ID for the database
    * Password for the database

Based on the data provided the process will:
    * Create a new row in the Tenant table
    * Create a new row in the TenantDataSource table
    * Create new tables in the new tenant database and fill with initial data (seed, seed-ext, demo)
    * Create a new admin id for the tenant (based on Tenant ID followed by '-admin')
    * Set the initial password for the tenant admin id (initial 'ofbiz', must be changed on first login)

This patch has been tested against: Derby, MySQL, PostgreSQL. This has not been tested against other db platforms.

Prior to running the ANT task the user
    * has to modify 'general.properties' in framework/common/config to reflect multi tenancy (multitenant=Y)
    * has to have appropriate db driver(s) in place
    * has to create the databases first in function of the entityengine.xml datasource-names (not for Derby, applicable for MySQL and PostgreSQL.)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:35:01 +00:00
Marco Risaliti 816980fe0f Suppress warning temporary of two methods of ContentServicesComplex/ContentWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065137 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 22:54:43 +00:00
Marco Risaliti 3a747c0042 Remove some java compilation warnings of ContentManagementWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065136 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 22:48:30 +00:00
Marco Risaliti fcf249f5fd Suppress warning because getWriter of TemplateTransformModel of Freemarker specify a simple map (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065130 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 22:30:56 +00:00
Marco Risaliti 41ff8ac961 Remove some java compilation warnings of RenderContentAndSubContent/RenderContentAsText/RenderContentTransform/RenderSubContentAsText (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065128 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 22:24:00 +00:00
Marco Risaliti c439e3d132 Remove some java compilation warnings of RenderSubContentCacheTransform/RenderSubContentTransform(OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065124 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 22:08:50 +00:00
Marco Risaliti e3d44915a1 Remove some java compilation warnings of TraverseSubContentCacheTransform/ TraverseSubContentTransform(OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065116 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 21:34:25 +00:00
Marco Risaliti 8648721404 It's necessary to use caContentId instead of caContentIdTo to search in ContentAssocViewFrom entity by forumId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065101 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 20:30:45 +00:00
Marco Risaliti 403f03d102 Remove some java compilation warnings of InjectNodeTrailCsvTransform (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065100 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 20:24:22 +00:00
Jacques Le Roux c650b9bed3 A patch from Leon "Infinite lookup ajax calls if key enter on the page with layer lookup forms" (https://issues.apache.org/jira/browse/OFBIZ-4156) - OFBIZ-4156
If the rendered page has one lookup field which is configured as layer mode, at first open the lookup dialog and click the empty space of the page to hide it, then, key the "enter", then in the console log you will find there's lookup request logged. Try to key "enter" serveral times, you will get more lookup requests in the backend. In particular case, even if you key one "enter" in, it will send hundrends lookup calls. See attached "infinite-lookups.log" for the log details.

Cause:
In modifySubmitButton of fieldlookup.js, it bind the keypress event to whole "document" to call "lookupFormAjaxRequest" when "enter" keyin. And in "lookupFormAjaxRequest" function, it call "modifySubmitButton" again after data load.

Resolution:
Move the keypress event bind operation to dialog open process and unbind it when dialog is closed.

Besides to fix what have mentioned, also make some trivial improvements to modifySubmitButton method:
1. in jquery, "contains" is not a valid method of String prototype, use "indexOf(blah) != -1" instead
2. bypass the "javascript:..." link in lookup result table. Although it's not a good solution, it makes more sence than "to skip the first Entry of the row".

JLR: I kept Leon's last point solution as anyway it's not a big deal to reassign for few rows (ie it's by page). This avoid issue if the 1st cell in the row is not the id/link
 I just ketp javascript:set_ in the indexOf( instead of simply javascript:


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 16:11:48 +00:00
Jacques Le Roux 0c67bb4f20 Add a line for Layout Demo in Webtools Main page in Misc. Setup Tools section
French Webtools Layout Demo labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065033 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 15:12:52 +00:00
Bruno Busco 884dc06685 Fixed several styles in Tomahawk theme. Those were clearly visible using the new demo Layout page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065019 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:24:59 +00:00
Bruno Busco 692f251bee Added other button styles in the Layout demo.
Added Italian localization.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065018 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:22:28 +00:00
Marco Risaliti 617fb40b10 Remove some java compilation warnings of WrapSubContentCacheTransform (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065017 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:10:21 +00:00
Jacques Le Roux 911990f1b5 A patch from Nicolas Malin "Use CustomMethod for select order, quote and invoice hook to resolve id." (https://issues.apache.org/jira/browse/OFBIZ-3765) - OFBIZ-3765
JLR: Quoting Anne on user ML: There are still some files that refer to the deprecated

        * invoiceSequenceEnumId,
        * quoteSequenceEnumId
        * orderSequenceEnumId fields of PartyAcctgPreference.

    Files I know of are:

    applications/accounting/servicedef/services_admin.xml
    applications/accounting/widget/GlSetupForms.xml
    applications/commonext/script/org/ofbiz/setup/SetupEvents.xml

Nicolas: quick corrections to use old attributes. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065014 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 13:18:46 +00:00
Jacques Le Roux 0effcb3872 A patch from Amit Sharma "Wrong number of products coming in layered navigation functionality" (https://issues.apache.org/jira/browse/OFBIZ-3839) - OFBIZ-3839
Wrong number of products coming in layered navigation functionality.

Here is the steps to verify :-

   1. Enable layered navigation by uncommenting layered section in category screen of CatalogScreens.xml.
   2. Go to http://localhost:8080/ecommerce/control/main
   3. Press Gizmos category from browse category section.
   4. Now Layered Navigation section will show it sub category and features with number of products. Like :-
          * Categories
                o Large Gizmos (12)
                o Small Gizmos (14)
          * Price Range
                o $0.00 - $10.00 (4)
                o $10.00 - $20.00 (2)
   5. Click on Large Gizmos category.
   6. Now category details shows only 6 products.

There are only 6 products in large gizmos category but it shows 12 products, which is wrong behavior.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064996 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 10:43:46 +00:00
Ashish Vijaywargiya 18f391f761 Bug fix. My recent commit r1064953 was creating problem while running test case. Thanks Divesh for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064993 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 10:22:13 +00:00
Marco Risaliti 5a1bf73d8b Remove some java compilation warnings of LimitedSubContentCacheTransform (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064989 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 09:49:20 +00:00
Marco Risaliti f427c5a6f3 Remove some java compilation warnings of LoopSubContentTransform (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064987 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 09:29:20 +00:00
Vikas Mayur 11ce67c0dc Bug fix - Under the order items on Order Detail Page the Quantity Returned wasn't correct 'cause system is also adding up the quantities from a corresponding canceled return.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064954 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 05:36:58 +00:00
Ashish Vijaywargiya ebacecaf52 Bug fix. Returning communicationEventId from the service implementation which was defined OUT in service definition. Thanks Divesh!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064953 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 05:29:55 +00:00
Adrian Crum ad1ea5a7ba Small Flat Grey style fix - don't let screenlet contents spill out of screenlet. Fixes the layout in screens where a screenlet contains a table that is very wide.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064947 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 02:42:27 +00:00
Adrian Crum 2e1ad5b135 Fixed Freemarker-generated list navigation introduced in rev 930660. That code never worked. Also fixed some Webtools FindGeneric screen issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064944 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 02:35:22 +00:00
Jacques Le Roux 6b0c0c461d A patch from Arun Patidar "Some misc issues in ebayStore component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
Attaching patch fixes following issues in ebayStore component
1. Now user can export more than one product to ebay by selecting more than one product and processing them one by one.
2 Show error messages to user in case of any exception.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064751 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 16:02:02 +00:00
Hans Bakker d31901480c make 2 more fields clickable to party and catalog info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064466 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 05:53:29 +00:00
Marco Risaliti a60b525c07 Remove some java compilation warnings of EditRenderSubContentTransform (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064339 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 22:27:16 +00:00
Erwan de Ferrieres 4a8cf3cde3 When using on-event-update-area, parameters should not be duplicated in the map if already existing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064180 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 16:20:31 +00:00
Ashish Vijaywargiya af8a189c02 Bug fix - Order Complete Mail is being sent to Customer when payment capture fails. Thanks Amit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064090 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 11:27:22 +00:00
Marco Risaliti 3fd2e29007 Internationalization of java services for hhfacility component (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063819 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:34:04 +00:00