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
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
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
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
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
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
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