Christian Geisert
f806f91fd8
fix encoding problems when running the Ant target 'create-compoment' on a non UTF-8 platform (i.e. Windows)
...
See OFBIZ-4045
Submitted by Georg Koester
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050099 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 19:06:42 +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
Erwan de Ferrieres
9502bf228d
Upgrading to the latest Apache Derby version (10.7.1.1) - changelog is at http://db.apache.org/derby/releases/release-10.7.1.1.cgi
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 21:13:46 +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
Erwan de Ferrieres
38b593c652
OK, this one was a bad move. Reverting 1045337, until a better solution is found
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049540 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 13:23:18 +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
Jacques Le Roux
2cfecd4b40
A patch from Sascha Rodekamp "Update jsTree to RC3" ( https://issues.apache.org/jira/browse/OFBIZ-4058 ) - OFBIZ-4058
...
Few changes in jsTree, some adds the checkbox tree mode and Drag'n'Drop behaviour.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049154 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:42:05 +00:00
Jacques Le Roux
4736420673
A patch from Sascha Rodekamp "Update the Datepicker to version 0.9.1" ( https://issues.apache.org/jira/browse/OFBIZ-4056 ) - OFBIZ-4056
...
Updates the timepicker. Seems that it's more stable and they fixed a few issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049151 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:39:30 +00:00
Jacques Le Roux
e5aa59f9c6
Test on Java 5 is not needed anymore in trunk, R10.04 and R9.04 as at least Java 5 is needed (and even Java 6 for the trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049031 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 10:53:46 +00:00
Erwan de Ferrieres
a184533cdd
Removing an unneeded line cut
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045340 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:48:10 +00:00
Erwan de Ferrieres
b2eafb444a
Adding enumerations for the conf-mode and use-private elements. Those are used for include-portal-page. This way we can use the parameters and the file is still valid
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045337 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:44:54 +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
Erwan de Ferrieres
a6dd0f7566
When displaying a portal page, the page title wasn't displayed. It also now shows near the breadcrumbs end
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045328 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:27:36 +00:00
Erwan de Ferrieres
b416846132
Bluelight theme wasn't displaying secondary apps. Using same display as droppingcrumbs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1045325 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:24:15 +00:00
Scott Gray
2ecc4b2494
Removed unnecessary SuppressWarnings annotations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044932 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:51 +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
dbaed85112
Remove unreachable catch block
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044918 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:13 +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
5716800332
Replace empty if block with a condition for the else block
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044915 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:59 +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
Scott Gray
bdd23c22d5
Add missing override annotations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044913 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:27 +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
97ac568b9a
A patch from Dukian (actually done by hand was easier, got an UTF8 issue)
...
There are many different i18n file naming approaches for language.country couple. For Traditional Chinese ... OFBiz uses java way: zh_TW, datepicker uses zh-TW, and el-rte needs this patch. It uses actually zh_tw, see the full version line 1108:
Dukian will file this issue to el-rte project too.
At r1044611 I 1st committed in jQyery branch, an habit to loose..
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044615 13f79535-47bb-0310-9956-ffa450edef68
2010-12-11 09:46:07 +00:00
Jacques Le Roux
1539f888c0
Fix a small bug introduced with r1044132 for OFBIZ-4051 i18n for elrte editor. It was crashing renderTextareaField when called from forms
...
Also while at it renames visualEdtiorEnalble to visualEditorEnable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044510 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 21:00:06 +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
d61ce6486f
Move variable declarations until they are actually used, instead of
...
assigning null, then force-reassigning the real value later.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044230 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:49 +00:00
Adam Heath
90c849bb36
Remove unnecessary cast when fetching the compiled template from the
...
UtilCache cache.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044229 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:42 +00:00
Adam Heath
762a3b6630
Fix some spacing issues, no code changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044228 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:35 +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
Adam Heath
2f6217251a
Set svn:eol-style properly on all java files. This needs to be done on other text files as well, but that would cause undo conflicts in the jquery branch(due to .js being heavily modified there). Also, some files were committed to the repository with DOS line endings; those are fixed as well.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 02:40:02 +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
Jacques Le Roux
6daa57d485
Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server
...
I forgot those ones in previous commit (to find all : showHelp in *.ftl,*.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044062 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:18:35 +00:00
Jacques Le Roux
13ec7d9887
Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044053 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 17:56:33 +00:00
Adam Heath
7b7780f844
Oops. Remove FIXME keywords, which were used by me as a reminder to fix
...
the lines properly, while I was in the process of deprecating other
delegator methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044047 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 17:39:13 +00:00
Adam Heath
af68570390
Yet another bad bug. The name/value pair was never actually turned into
...
a map. findByAnd(entityName, field, value, list) was never a valid
call. However, this code still compiled, as it ended up using the
vararg variant of findByAnd. If this code had ever been run, then it
would have blown up.
broken since: 984366, initial commit
date: Wed Aug 11 10:39:10 2010 +0000
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043999 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:47 +00:00
Adam Heath
8b57fcd7e1
When thte findByAnd->findList change was done, the parameters to the new
...
findList method were added, but the actual method name itself was not
changed. However, since there was a vararg version of
findByAnd(Object...), this meant the code actually compiled anyways, so
the problem was not detected.
broken since: 654934
date: Fri May 9 20:57:23 2008 +0000
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043998 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:41 +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