Commit Graph
27737 Commits
Author SHA1 Message Date
Adam Heath 7ab0b4dea7 Remove several methods from the runtime-compiled wrapper class; this
removes use of 2.1M of permgem memory.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903803 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:53:14 +00:00
Adam Heath e768559d39 Bother; these uses of FastMap are actually rather stupid. The map is
only populated once at startup, then never modified again.  What I have
discovered is that, while FastMap is supposed to be more stable in
memory allocation and cpu utilization, there was one leg of it's
internal structure that was *extremely* unbalanced.  Ie, consider a
binary tree with 128 nodes, with 7 top level nodes, and then all the
rest of the nodes are on one side of the tree.  Since these maps are
never modified after startup, we might as well just use a HashMap here.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903802 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:52:27 +00:00
Adam Heath 041a20e96b Similiar to the last commit, don't maintain back-links to view entities;
instead, just the names of the entities are stored.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903801 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:51:47 +00:00
Adam Heath 9a206397ca Don't store references to connected ModelEntity; instead, just store the
entity name.  This helps the connected object graph at runtime, as it
used to be view->entity->view->entity, in very long loops.  This is one
part of the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903800 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:51:03 +00:00
Adam Heath b98a11cf66 Fix for a memory leak; sometime during the past, the initial url fetched
from the servlet container started being a jndi:// form; so, when
include processing was introduced, the urls wouldn't match up.  Instead,
implement a temporary hack to convert the servlet path to a file, so
that the urls will be normalized.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903799 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:50:17 +00:00
Adam Heath 52143c14c1 Fix case of DynamicViewEntity vivification into ModelViewEntity not
storing the ModelReader.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903796 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:49:16 +00:00
Adam Heath 83c49e9095 Fix handling of default values in getPropertyNumber.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903766 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:55:13 +00:00
Erwan de Ferrieres f4364051e4 Adding website information on BI component so we can change the UI theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903673 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 15:22:49 +00:00
Hans Bakker afbdeab656 moved the helpscreens into the framework: a first step. core parts of the content manager to follow. Removed the references to the help screens in confluence
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 10:09:49 +00:00
Jacques Le Roux e03e7ad6f2 After Adam's remark about formatting (actually mostly about Double instead of double), Sascha provided a new patch which was still not well formatted. So I decided to use the same formatting than in getPropertyValue. Even if it does not follow the "brackets around blocks rule" Sun convention. I have explained this a bit to Sascha at https://issues.apache.org/jira/browse/OFBIZ-3425 "Extend getPropertyNumber, Default Value"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903571 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:59:25 +00:00
David E. Jones f74ed1597a Now if currency conversion fails a zero will be returned for the product cost, ie the service was unable to determine the product code in the desired currency; note that this uses the new ignore error behavior for the break-on-error attribute introduced in rev 903567
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903568 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:52:03 +00:00
David E. Jones dd572e0d75 Change based on recent dev list discussion so that break-on-error acts more like an ignore error type of thing; when combined with require-new-transaction=true this will effectively result in no issues from the called service bubbling up to the calling service; with this change manually clearing out the error message and response code is no longer necessary
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903567 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:48:55 +00:00
Scott Gray 3ce787582d Typo fix, the sentence still doesn't really make sense though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903540 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 04:20:07 +00:00
David E. Jones 7dc4d6b942 Improvement for the ignore-error attribute on the form->actions->service element to cause it to call the service in its own transaction, which is the only way that makes sense because otherwise the error will cause the transaction the screen is running in to be rolled back and all subsequent queries will blow up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903537 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 03:10:37 +00:00
Scott Gray 94335e3206 Added error journal checks to gl posting related tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903431 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:43:41 +00:00
Scott Gray 78496f5377 Applied patch from Mridul Pathak, OFBIZ-3427. A PartyContactMech lookup wasn't being filtered by date and was causing expired records to be retrieved.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903428 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:34:12 +00:00
Scott Gray a6dfe1c1f4 Don't create an unattributed sales tax acctg trans entry for a sales invoice unless the unattributed tax amount comes back as something other zero.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903402 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 20:25:39 +00:00
Scott Gray ce824f2c2f Added missing TaxAuthorityGlAccount lookup when creating AcctgTransEntry records for sales invoice tax items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903401 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 20:25:28 +00:00
Jacopo Cappellato d9283fecf6 Modified depreciation services to compute and return the next depreciation amount based on actual history of depreciations. Added information in the "depreciation" screen of fixed asset about depreciation parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 16:56:26 +00:00
Jacques Le Roux 0eb5a20261 A patch from Sascha Rodekamp "Extend getPropertyNumber, Default Value" (https://issues.apache.org/jira/browse/OFBIZ-3425) - OFBIZ-3425
Adds a method to have a default value to getPropertyNumber methods, can't hurt and maybe useful in some cases.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903197 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 12:30:02 +00:00
Erwan de Ferrieres 3ce7ee416e Corrected a french spelling mistake
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903158 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 10:30:19 +00:00
Adrian Crum 3a6737b186 Restored a temporal expression form that was lost during the recent work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903124 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 08:26:13 +00:00
Hans Bakker ccf4e5a652 add myportal component permission also to myportal securitygroups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903114 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 07:46:00 +00:00
Hans Bakker 005e5ae90a reverted unwanted change spotted by Erwan: thanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903053 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:27:56 +00:00
Hans Bakker b7262922de Ebay component: add block out of stock function, screen, helpscreen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903051 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:23:09 +00:00
Hans Bakker 25676ee3c0 Ebay component:
- updated export categories function to export and update categories on eBay store.
- updated export categories screen display only catalog in store.
- updated export categories help screen.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:15:31 +00:00
Bruno Busco 2096cb4dda Borders should be added using CSS not HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902890 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:37:44 +00:00
Bruno Busco 4a87df358c Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902887 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:36:01 +00:00
Bruno Busco e36939e337 Added "create", "refresh", "collapse-all" and "expand-all" classes to the pertinent button-bar buttontext links.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902885 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 17:28:28 +00:00
Erwan de Ferrieres ac1231998a Improvement on the OFBIZ-3423 issue, prefixing uilabels with Accounting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902813 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:13:59 +00:00
Jacques Le Roux 664a8d519a A patch from Sascha Rodekamp "PaymentMethodServices - Get return value from the uiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3423) - OFBIZ-3423
A few return messages were defined as fixed end string messages, this commit changes them to uiLabel messages.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902810 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 13:50:01 +00:00
Erwan de Ferrieres a10c937891 Adding new uiLabels and removing some hardcoded labels in fixedAsset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902808 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 13:45:53 +00:00
Hans Bakker d6e27a9e32 include birt introduction in OFbiz technocal document
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902805 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 13:20:17 +00:00
Ashish Vijaywargiya c05a2ab767 Improved the sentence in English. Thanks Jacques for your comment. Sorry, I patched the sentence at wrong place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902762 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 10:13:31 +00:00
Jacques Le Roux c2aeb047e6 Better French translation.
BTW Ashish, in r902739 you changed the Japanese translation (which was actually useless as like most of them, if not all, was a plain copy of English) but not the English, is that really wanted?

I will remove all those useless Japanese translations, when I will get a chance!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902754 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 09:53:00 +00:00
Ashish Vijaywargiya e0dd935336 Avoid NPE.
Patch from Vivek.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902752 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 09:40:15 +00:00
Ashish Vijaywargiya 619f375a46 Improved sentence.
Changed "we" -> "us to"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902739 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 09:08:01 +00:00
Hans Bakker 601acb6dd0 New Order reports: (run 'init warehouse' in the BI component first and select B2C productstore to see the demo data)
- Net Before Overhead Report
Net Before Overhead Report is the profit calculation of paid-shipped orders and all the occurred fee excluding the overhead cost. They are grouped by Product Store Id.(Demo data for Net Before Overhead Report have in Product Store Id 'B2CStore')

- Product Demand Report
Product Demand Report is the report to show us which product sells good and which product doesn’t sell good or not selling at all in one account as well as for all accounts in last 4 weeks. They are grouped by Product Store Id.(Demo data for Product Demand Report have in Product Store Id 'B2CStore')

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902719 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 07:23:57 +00:00
Hans Bakker bab1c5b36d function leave feedback and screen
- function auto relist item and screen
- Get  feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 06:26:23 +00:00
Scott Gray d3a47f928c Changed order level tax adjustments to be rounded as tax when being invoiced so that they actually match up with what was on the order. Removed comments that went along with it that really made no sense
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902714 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 05:24:07 +00:00
Scott Gray dc90c2dc1a Don't prematurely round sales tax adjustments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902713 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 05:24:02 +00:00
Scott Gray d221d8b6c0 Code style fix, removed old comments and premature rounding held over from the days of doubles.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902712 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 05:23:56 +00:00
Scott Gray b145623d30 Fixed a bug I introduced in r901070, the invoice tax total wasn't being incorporated into the invoice's accounts receivable posting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902686 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 00:56:21 +00:00
Adrian Crum 2bef93bf64 ComparableRange test improvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902525 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 03:18:52 +00:00
Adrian Crum 389e4e4431 Refactored DateRange.java:
1. Extends new class ComparableRange.
2. downcastTimestamp protected method renamed to timestampToDate and made static.
3. Misc code cleanups.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902512 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 00:04:22 +00:00
Adrian Crum 883fd96835 Small JavaDoc fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902510 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 00:01:08 +00:00
Ashish Vijaywargiya cfa5a0de30 Applied patch from jira issue - OFBIZ-3416.
Email templates Layout improvement.
In this patch CSS added in email template(FTL).
These changes are done according to following article.
http://articles.sitepoint.com/article/designers-guide-html-email

Thanks Bharat & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902365 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 08:35:38 +00:00
Ashish Vijaywargiya a6a3894cd4 Only call getExternalShipEstimate when "shippingContactMechId" is not null.
Patch from Amit Sharma.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902356 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 07:07:33 +00:00
Ashish Vijaywargiya e7ab963b60 Applied patch from jira issue: OFBIZ-3422.
Adding few more product content type records.

Thanks Vivek for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902354 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 06:57:34 +00:00
Adrian Crum 4051b7a1eb Unit test for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902347 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 06:19:47 +00:00