Commit Graph
14503 Commits
Author SHA1 Message Date
Marco Risaliti ef99218130 Replace some fail-message to fail-property tag in workeffort component (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050830 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 12:21:35 +00:00
Erwan de Ferrieres eaf7180711 Migrating from lucene 2.4.1 to lucene 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050811 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:12:53 +00:00
Adrian Crum 9596919a91 Moved user login UI artifacts from the Party component to the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050766 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:07:53 +00:00
Jacques Le Roux 5339287a53 A patch from Atul Vani "Ui bug in Reviews Pending Approval page" (https://issues.apache.org/jira/browse/OFBIZ-3990) - OFBIZ-3990
When the product is reviewed by an un-registered user, Reviews Pending Approval page breaks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050602 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18 09:35:50 +00:00
Adrian Crum 652c0b8e4a Moved some ServerHitBin seed data from application/content to framework/common. This change will accommodate a framework-only installation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050457 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 17:55:36 +00:00
Jacques Le Roux c5193ecb5b A patch from BJ Freeman "Update Docbook files and give a nice look to doc" (https://issues.apache.org/jira/browse/OFBIZ-4052) - OFBIZ-4052
Updates all the docbook.css in themes. Remove tags from the <body>

JLR: + Revert r1044062+1044053 (was: Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server)
Actually it was not the real reason (UtilIO.java was)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050385 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 13:58:42 +00:00
Jacques Le Roux ef57719fa9 Sure fix! (was missing a default value, used !'')
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050315 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 08:36:46 +00:00
Jacques Le Roux 9b9eccd58e Properly fix "Order manager order entry show cart.ftl problem probably caused by jquery update" (https://issues.apache.org/jira/browse/OFBIZ-4064) - OFBIZ-4064
Dukian fix was not complete (I guess because it was not properly moved during jQuery merge).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050313 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 08:30:11 +00:00
Jacques Le Roux 0afce61a13 Fix a bug introduced with jQuery merge (<#if inside <@htmlTemplate.renderDateTimeField). I checked, it was the only one remaining
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050305 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 08:02:47 +00:00
Jacopo Cappellato 3e89c87c49 When tax rates are looked up for a product, if the product is a variant, the categories of the virtual are also considered in the lookup; this change fixes the issue where taxes are not applied to variant products even if they apply to the virtual.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050304 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 08:02:36 +00:00
Jacques Le Roux 1989f24295 A slightly modified patch from Dukian "Order manager order entry show cart.ftl problem probably caused by jquery update" (https://issues.apache.org/jira/browse/OFBIZ-4064) - OFBIZ-4064
JLR: It's the 2d issue like that we cross. I will check and fix all <@htmlTemplate.renderDateTimeField son


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050297 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 07:38:59 +00:00
Jacques Le Roux 1f76198b62 A patch from Sascha Rodekamp "Get new sequence number for product feature type if empty" (https://issues.apache.org/jira/browse/OFBIZ-4063) - OFBIZ-4063
When creating a new product feature type with no id entered the service will create a feature type id automatically.
This improves the usability because the user does not have the responsibility to choose valid/unique feature type id.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050190 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 22:12:37 +00:00
Marco Risaliti b441d3d769 Replace some fail-message to fail-property tag in party component (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050159 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 21:05:01 +00:00
Adrian Crum a8e574e276 Try SVN move for PasswordSecurityData.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050107 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 19:20:36 +00:00
Adrian Crum f95685390e Partial revert on my last commit so I can SVN move a file instead of delete it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050105 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 19:18:10 +00:00
Adrian Crum 39611c4c9f Moved some security related demo data from the applications/securityext folder to the framework/security folder. This change accommodates logging in as admin in a framework-only demo installation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050053 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 16:45:47 +00:00
Jacques Le Roux b93e6ccb3e Fix a bug reported by Jonatan Soto on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049967 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 13:10:32 +00:00
Andrew Zeneski f7b00994da moved schedule service to seed-initial file; to stop duplicates when re-loading seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049650 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 17:43:40 +00:00
Hans Bakker b6b3fe72c7 setup is working fine now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049467 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 09:53:20 +00:00
Hans Bakker 3dab71feeb preserve viewindex and size in multipage lists
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049451 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 08:15:49 +00:00
Hans Bakker c299d2edfe TaxAuthorityRateProduct service, if from date is missing assign to to nowdate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049448 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 07:55:10 +00:00
Erwan de Ferrieres c6d4d3fde1 Adding more coherence in displaying the main partymgr page, same label is now used everywhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045331 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:30:50 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Scott Gray 54d64290f6 Replace use of deprecated method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044920 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:34 +00:00
Scott Gray c900a7faaf Fix what certainly looks like unitentional case fall throughs in a switch statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:24 +00:00
Scott Gray 75b0b1c1e3 Remove unnecessary semicolons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044917 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:03 +00:00
Scott Gray cdaf0b74a7 Access static fields in a static way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:51 +00:00
Jacques Le Roux 768710c82f A patch from Atul Vani "Bug in service 'discVirtualsWithDiscVariants" (https://issues.apache.org/jira/browse/OFBIZ-4049) - OFBIZ-4049
The service has got no code to set discontinuation date in database for virtual product.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044912 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:36:05 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Adam Heath a2fd254167 Make FreeMarkerWorker.getWrappedObject auto-cast to whatever type the
caller wants.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044232 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:21:09 +00:00
Adam Heath 45a81692b5 Deprecate the local getArg/getWrappedObject wrappers in all transforms.
Several ftl transforms had local methods, to that wrapped the same named
method in FreeMarkerWorker.  Near as I can tell, this was to reduce
local typing, by not having to always type FreeMarkerWorker.  Having
these local methods increases the permgen memory use(by increasing the
size of the bytecode).  Also, it makes it more difficult to
cross-reference; when the getArg method is seen by a developer, is it a
local method, or a static import?  Using the fully qualified variant
makes it easier to understand what is going on.

The replacement is to use the fully qualified versions in
FreeMarkerWorker.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044231 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:57 +00:00
Adam Heath 1d28ed1eb3 Remove some trailing whitespace from lines; only doing files that will
be modified by soon to be committed changesets.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044227 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:25 +00:00
Adam Heath 4aea5e2361 Fix several final newline problems, in files I will be changing in the
near future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044226 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:05 +00:00
Jacques Le Roux 716a2f973e Fix a typo (double ,)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044084 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:55:39 +00:00
Jacques Le Roux abb818366e Fix a small rendering issue:
When you updated personal information of a lead, if this lead was assigned, in the status dropdown you saw LEAD_ASSIGNED. I have changed to show correct information (also possible i18n)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044082 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:54:34 +00:00
Adam Heath bde3386152 Bother; this code was never ever run. The findByAnd variant it ended up
using was the Object... version.  In essence, creating a new Object[]
{map, null, String}, and then trying to convert that whole thing to a
map(which would have failed).

broken since: 745407, initial checkin
date: Wed Feb 18 08:04:48 2009 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043997 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:36 +00:00
Adam Heath 10fa2ac694 In the persistRootCompDoc event, the loop over the results from service
persistContentRevisionAndItem was fetching values from the previous
iteration over the persistContentAndAssoc service.

broken since: http://svn.ofbiz.org/svn/ofbiz/trunk@6770, initial checkin
date: Fri Feb 17 22:14:40 2006 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043996 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:25 +00:00
Jacopo Cappellato 80881c165f Improved error handling for the production run declaration screen; this fixes a bug where, if matarials were missing, the production run declaration screen was hiding the error message and the header fields in the screen were emptied.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043899 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 11:30:46 +00:00
Jacques Le Roux 2177f00dce A patch from Atul Vani "There are issues with search in eCommerce" (https://issues.apache.org/jira/browse/OFBIZ-4032) - OFBIZ-4032
This patch was created for OFBIZ-3789 but worked for me as well on this issues

Try gz-1000 or "gift card" and follow Atul's comment below. I guess it's also an issue for R10.04 (I did not try) R9.04 seems OK. Note that I got no problems with Derby, only with Postgres.

Try searching 'gift card' from http://localhost:8080/ecommerce/control/advancedsearch and using some other value for 'Sorted by' instead of 'Keyword Relevancy'.

The first time i observed this issue KeywordSort was not working for search keyword 'gift' (the console log suggested that SELECT got no 'totalRelevancy' column but the GROUPBY has it in the query) although the KeywordSort was working well for 'gift card'. 

All other sorting methods from http://localhost:8080/ecommerce/control/advancedsearch were working for 'gift' but not 'gift card'.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043861 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 08:30:16 +00:00
Hans Bakker 05770c2fcd OFBIZ-4046: Adding chapter on Datafiles to docbooks. Contribution by BJ Freeman
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043266 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 01:14:57 +00:00
Ashish Vijaywargiya 81c72ef13a Adding new User Security Group so if needed we can only assign work effort component to any user.
Thanks Amit for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042953 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 09:58:28 +00:00
Ashish Vijaywargiya d3ae217e07 Bug fix. The workeffort group WORKEFFORT_USER was not associated with WORKEFFORTMGR_VIEW so if you assign this group to any user then you can see or login into workeffort application. This is similar pattern that exists in accounting, partymgr & accounting component.
Thanks Amit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042950 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 09:50:08 +00:00
David E. Jones d60edd5bb4 Fixed NPE in tax calculation when no ProducePrice record matches the tax calc constraints
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042884 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 01:12:18 +00:00
David E. Jones 5eb7d80579 Small fix so that the new VAT_TAX adjustments are removed when updating an order through the ShoppingCart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042834 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 22:54:51 +00:00
David E. Jones 463c300fc5 Implemented alternative way of saving ProductPrices with tax included in the price, and then calculating VAT tax as an exclusive instead of inclusive amount that goes on a new field on OrderAdjustment; also added a method to OrderReadHelper to get tax for display; there are various changes to service descriptions and entity fields to describe these changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 08:05:44 +00:00
Jacques Le Roux 142f457420 A patch from Eric de Maulde "Product Store Email Setting with PARTY_EMAI" (https://issues.apache.org/jira/browse/OFBIZ-4027) - OFBIZ-4027
Product Store Email Setting page doesn't allow to configure an email from emailType = PARTY_EMAIL
So when an anonymous contact posts a message, an automated email isn't sent to the store payToPartyId

This patch add other choices (PARTY_EMAIL type) into the drop down email list, for the Product Store Email Setting page

JLR: I can't see any issues adding this OOTB, tough maybe it could be constrained more (using one of the enumId of PARTY_EMAIL)? BTW It's not a bug

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042360 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 14:30:08 +00:00
Jacques Le Roux 3c8c13dc5a Fix a bug reported by Paul Foxworthy at OFBIZ-4042 "ecommerce keyword search - Non-breaking space displayed as literal ampersand-nbsp-semicolon"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042317 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 11:37:06 +00:00
Ashish Vijaywargiya dd63911d92 Bug fix - Typo - ORDER_COMPLETE -> ORDER_COMPLETED. ITEM_COMPLETE -> ITEM_COMPLETED.
This was causing issue and was not changing the PO line items status to completed one when order comes into complete status.

Thanks Pranay & Amit!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042222 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 18:36:11 +00:00
Jacques Le Roux 926e791e36 A suggested change by Patrick Antivackis "Shopping Cart Item issue with BigDecimal " (https://issues.apache.org/jira/browse/OFBIZ-4038) - OFBIZ-4038
In applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
the setQuantity method should use this.quantity.compareTo(quantity) == 0 instead of this.quantity==quantity like depicted below

   protected void setQuantity(BigDecimal quantity, LocalDispatcher dispatcher, ShoppingCart cart, boolean triggerExternalOps, boolean resetShipGroup, boolean updateProductPrice, boolean skipInventoryChecks) throws CartItemModifyException {
       if (this.quantity == quantity) {            return;        }

The issue is really visible when the cart is fully loaded (lot of products) as the return will never occur and the store is configurerd in an autosavecart mode.

For example a cart with 48 products will take very long time to process for each additem or modifycart event.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042188 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:19:07 +00:00
Bruno Busco b6e2886778 No funtional changes. Only code formatting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042136 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 10:51:59 +00:00