Commit Graph
27737 Commits
Author SHA1 Message Date
Jacopo Cappellato e48d385d4e Removed start/stop scripts for *unix systems from the OFBiz home folder: they were copies of the ones in the "tools" folder, the folder where all the scripts are now located.
These two copies have been kept for a while to give enough time to some development teams to adjust their Linux based infra accordingly; at this point this commit should not cause problems.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342324 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:26:51 +00:00
Jacopo Cappellato 8c28b9751b Modified validation query (executed by DBCP to verify that a connection is valid before borrowing it) to remove dependency on the the "example" component; thanks to Adam Heath and Jacques Le Roux for the suggestions and tests to find out a proper SQL statement (db independent and efficient).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342310 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:12:05 +00:00
Jacopo Cappellato c42b1ffb2e Removed the definition of the FreeMarkerViewHandler handler from common-controller and added to the only controller that still uses it (the one of the "webtools" component, and only for one test page).
The main motivation for this is that FreeMarkerViewHandler creates (via OfbizCacheStorage) an unused static instance of UtilCache per object (i.e. for each webapp at init time), wasting system resources and cluttering the list of cache objects in Webtools.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342308 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:03:29 +00:00
Jacopo Cappellato 6ea7f80e8d Removed unused handler definitions and a useless comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342305 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:50:57 +00:00
Ashish Vijaywargiya 6cba6c06b4 Fixing important bug that we have observed in one of the production system. This error comes when production system generates lot of JobSandbox records. And sometime it happens that purgeOldJobs service tries to remove RuntimeData from the system but runtimeDataId is still referred in JobSandbox records. To fix this bug we have separated out the code for deleting RuntimeData. We have also tested this fix on production system for about two weeks and now things are better over there. Thanks Jacopo for the discussion.
Here I am sharing console log for everyones reference: 
f9cb9ec37f8ed14 Apr 28, 2012 10:47:46 PM org.apache.jk.common.ChannelSocket processConnection
f9cb9ec37f8f0fc WARNING: processCallbacks status 2
f9cbcd4388830dc 2012-04-28 23:00:10,947 (default-invoker-Thread-781938) [ GenericDelegator.java:1163:ERROR] 
f9cbcd4388834c4 ---- exception report ----------------------------------------------------------
f9cbcd4388838ac Failure in removeByCondition operation for entity [RuntimeData]: org.ofbiz.entity.GenericDataSourceException: Generic Entity Exception occured in deleteByCondition (SQL Exception while executing the following:DELETE FROM public.RUNTIME_DATA WHERE (RUNTIME_DATA_ID = '45794') (ERROR: update or delete on table "runtime_data" violates foreign key constraint "job_sndbx_rntmdta" on table "job_sandbox"
f9cbcd43888d4ec Detail: Key (runtime_data_id)=(45794) is still referenced from table "job_sandbox".)). Rolling back transaction.
f9cbcd43888e48c Exception: org.ofbiz.entity.GenericDataSourceException
f9cbcd43888e874 Message: Generic Entity Exception occured in deleteByCondition (SQL Exception while executing the following:DELETE FROM public.RUNTIME_DATA WHERE (RUNTIME_DATA_ID = '45794') (ERROR: update or delete on table "runtime_data" violates foreign key constraint "job_sndbx_rntmdta" on table "job_sandbox"
f9cbcd43888ffe4 Detail: Key (runtime_data_id)=(45794) is still referenced from table "job_sandbox".))
f9cbcd4388903cc ---- cause ---------------------------------------------------------------------
f9cbcd438890b9c Exception: org.ofbiz.entity.GenericDataSourceException
f9cbcd438890f84 Message: SQL Exception while executing the following:DELETE FROM public.RUNTIME_DATA WHERE (RUNTIME_DATA_ID = '45794') (ERROR: update or delete on table "runtime_data" violates foreign key constraint "job_sndbx_rntmdta" on table "job_sandbox"
f9cbcd43889136c Detail: Key (runtime_data_id)=(45794) is still referenced from table "job_sandbox".)
f9cbcd438895da4 ---- cause ---------------------------------------------------------------------
f9cbcd43889618c Exception: org.postgresql.util.PSQLException
f9cbcd43889618c Message: ERROR: update or delete on table "runtime_data" violates foreign key constraint "job_sndbx_rntmdta" on table "job_sandbox"
f9cbcd438896574 Detail: Key (runtime_data_id)=(45794) is still referenced from table "job_sandbox".
f9cbcd43889712c ---- stack trace ---------------------------------------------------------------
f9cbcd43889712c org.postgresql.util.PSQLException: ERROR: update or delete on table "runtime_data" violates foreign key constraint "job_sndbx_rntmdta" on table "job_sandbox"
f9cbcd43889889c Detail: Key (runtime_data_id)=(45794) is still referenced from table "job_sandbox".
f9cbcd43889889c org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
f9cbcd438898c84 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
f9cbcd438899454 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
f9cbcd43889983c org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
f9cbcd43889983c org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
f9cbcd438899c24 org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
f9cbcd43889a3f4 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
f9cbcd43889a7dc org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
f9cbcd43889abc4 org.ofbiz.entity.jdbc.SQLProcessor.executeUpdate(SQLProcessor.java:420)
f9cbcd43889abc4 org.ofbiz.entity.datasource.GenericDAO.deleteByCondition(GenericDAO.java:1158)
f9cbcd43889bb64 org.ofbiz.entity.datasource.GenericDAO.deleteByCondition(GenericDAO.java:1132)
f9cbcd43889bf4c org.ofbiz.entity.datasource.GenericHelperDAO.removeByCondition(GenericHelperDAO.java:160)
f9cbcd43889c334 org.ofbiz.entity.GenericDelegator.removeByCondition(GenericDelegator.java:1152)
f9cbcd43889c334 org.ofbiz.entity.GenericDelegator.removeByAnd(GenericDelegator.java:1120)
f9cbcd43889cb04 org.ofbiz.entity.GenericDelegator.removeByAnd(GenericDelegator.java:1105)
f9cbcd43889ceec org.ofbiz.entity.GenericDelegator.removeByAnd(GenericDelegator.java:1098)
f9cbcd43889ceec org.ofbiz.service.ServiceUtil.purgeOldJobs(ServiceUtil.java:476)
f9cbcd43889d2d4 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
f9cbcd43889d2d4 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
f9cbcd43889de8c sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
f9cbcd43889de8c java.lang.reflect.Method.invoke(Method.java:597)
f9cbcd43889e274 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
f9cbcd43889e274 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
f9cbcd43889f5fc org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:396)
f9cbcd43889f9e4 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:224)
f9cbcd43889f9e4 org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
f9cbcd43889fdcc org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
f9cbcd43889fdcc org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
f9cbcd4388a3c4c java.lang.Thread.run(Thread.java:662)
f9cbcd4388a3c4c --------------------------------------------------------------------------------
f9cbcd4388a4034 
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341770 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 07:57:31 +00:00
Hans Bakker ad1682658b add entities and services to be able to add content and notes to invoices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 07:22:30 +00:00
Adrian Crum 3da5a8a129 Oops, forgot to add validation to the <filter-list-by-and> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341408 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 11:13:26 +00:00
Jacques Le Roux 0157ddcbda 2 missing ASL2 headers, while at it...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:57:13 +00:00
Adrian Crum 75fe3886a4 Overhauled Mini-language <filter-list-by-and> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341397 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:44:31 +00:00
Adrian Crum 6a6ad86bc3 Overhauled Mini-language <entity-one> element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341348 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:28:02 +00:00
Hans Bakker fe32d603f1 comment of jacopo: not required code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341344 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:21:01 +00:00
Hans Bakker d859a2d5db add account activation email type to product store which can be used for the to be approved registrations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341341 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:03:02 +00:00
Jacopo Cappellato 7b391743ff Fixed error reported in OFBIZ-4892: in orders with more than one promo codes, only one code was stored in OrderProductPromoCode entity.
Thanks to Ritu Raj Lakhera for the report and the patch; the one I have committed fixes the bug in a slightly different way.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341314 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 06:27:19 +00:00
Hans Bakker a1a6ecc98f assume tag status is pending when not provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341293 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 03:33:03 +00:00
Adam Heath 0f2788d388 FIX: Remove "null" from the context, so that the real 'null' token can
be used.  What was occuring previously, was that any use of "null" would
actually end up using GenericEntity.NullField, which has a string value
of "[null-field]".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341094 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 16:22:57 +00:00
Adam Heath 0b90e34124 FEATURE: SimpleMethod was putting a "nullField" =
GenericEntity.NullField into each context, but ModelScreen wasn't.  Now
they are the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341093 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 16:22:49 +00:00
Adam Heath 4af4438cbc FIX: cobertura is now actually usable again, at least with api-tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 16:03:28 +00:00
Adrian Crum 273010c771 Temporarily disable Mini-language validation until the overhaul is finished and the invalid/deprecated code is fixed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341075 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 15:35:02 +00:00
Adam Heath 49c0e405a9 FEATURE: Upgrade freemarker to a custom version that contains an
upcoming fix, filed in bug upstream at:
https://sourceforge.net/tracker/?func=detail&atid=100794&aid=3527625&group_id=794

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341056 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:40:23 +00:00
Adam Heath 7c59f9068e OPTIMIZE: Add a static method that configures a BeansWrapper instance
for ofbiz use.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341055 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:40:13 +00:00
Adam Heath 410079c235 OPTIMIZE: Move the getDefaultOfbizWrapper to earlier in the class; this
reflects the notion that BeansWrapper needs to be accessed/configured
earlier than Configuration, so ideally should come earlier in the list
of methods.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341054 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:40:05 +00:00
Adam Heath d2dfc93a31 FIX: Replace BeansWrapper.getDefaultInstance() with
FreeMarkerWorker.getDefaultOfbizWrapper(); these were missed in
v1340631.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341053 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:59 +00:00
Adam Heath 2e5e25fdce OPTIMIZE: In v1340631, the new FreeMarkerImport was placed in the wrong
block of imports, this change fixes it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341052 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:51 +00:00
Adam Heath a76bc2e73b FIX: In v1340631, a change was introduced in a comment; however, that
referenced a public static variable, it really should have called the
public static method introduced in that same commit.  This happened
because the change wasn't reviewed before it was committed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341051 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:44 +00:00
Adam Heath 111655eaa0 FIX: Cobertura's version was changed in 1230444, but it wasn't changed
in common.xml; this fixes it, so that you can now sorta-run
'tests-cobertura' in framework/base.  However, that requires the asm
library, which was recently removed, so it still doesn't completely
function.

This is part of the fix for OFBIZ-4783.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341021 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 13:43:39 +00:00
Jacques Le Roux db3f521441 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340944 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 09:21:41 +00:00
Jacques Le Roux ec604e54eb Forgot this trick, thanks to Si Chen cookbook...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340943 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 09:20:58 +00:00
Jacques Le Roux bcb39b0cd7 Adds a French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340849 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 21:40:50 +00:00
Jacques Le Roux a05d0f3f7d Fixes some wrong French accents found while working on OFBIZ-3913
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340845 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 21:31:36 +00:00
Jacques Le Roux ab865939f0 A patch from Daniel Riquelme "ignore-if-empty in entity-options throw NPE when env-name is in fact empty" https://issues.apache.org/jira/browse/OFBIZ-4843
When specifying the ignore-if-empty attribute inside an entity-constraint in an entity-options a NPE will be thrown whenever the env-name of this entity-constraint is empty.

The error occurs because a null condition is created for the entity-constraint.
When validateSql get called in

org.ofbiz.entity.condition.EntityJoinOperator.validateSql(EntityJoinOperator.java:178)

there is no null checking so when

condition.checkCondition(modelEntity);

gets called an NPE is thrown.

The patch modifies the code in

framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

to avoid the inclusion of a null condition to the entity-options.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:27:23 +00:00
Jacques Le Roux 4395b7967d A patch from Daniel Riquelme "sessionAttributes doesn't work from screen widget" https://issues.apache.org/jira/browse/OFBIZ-4669
Reported by Kiran:
In the screen widget, add a set action that refers to sessionAttributes, it doesn't work.

e.g: Following doesn't work:
<set field="titleProperty" value="${sessionAttributes.autoName}"/>

Following works:
<set field="titleProperty" from-field="autoName" from-scope="user"/>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340821 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 20:21:06 +00:00
Jacques Le Roux 2c6ad14046 Closes "Improve site-conf.xsd" https://issues.apache.org/jira/browse/OFBIZ-4874
I always wondered why the controller syntax was poorly documented. I tried to improve that...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340774 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 17:36:26 +00:00
Jacques Le Roux 26c3dd618e A patch from Harsha Chadhar for "Can not add "Question Options" within the Survey section of the Content application." https://issues.apache.org/jira/browse/OFBIZ-4879
For a Survey Question of Type= Selected option, while trying to edit a survey question option the following error is encountered :
In set-pk-fields a value was not found with the specified valueAcsr: lookupKeyValue, not setting fields
URL : https://demo-trunk.ofbiz.apache.org:8443/content/control/EditSurveyQuestions?surveyId=1501
Screenlet:
Survey Options .

jleroux: this screen is not much user friendly (for instance when you edit the survey question option you are not redirected to the screenlet anchor)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340661 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:20:59 +00:00
Jacques Le Roux 0819d43345 A patch from Harsha Chadhar for "Remove Survey Question Option not working." https://issues.apache.org/jira/browse/OFBIZ-4878
On trying to delete/remove Survey Question Options for Survey Question Type= Selected Option, the following error is occurred :
Url : https://demo-trunk.ofbiz.apache.org:8443/content/control/removeSurveyQuestionAppl?surveyId=1501&surveyQuestionId=10000&surveyOptionSeqId=00001

Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [surveyId] passed to secure (https) request-map with uri [removeSurveyQuestionAppl] with an event that calls service [deleteSurveyQuestionAppl]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340657 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:13:22 +00:00
Adrian Crum c6dec75e60 Overhauled Mini-language <entity-count> and <entity-data> elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340651 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 09:48:06 +00:00
Adrian Crum dacad3baac Minor change to MiniLangElement.java - hide static module field from subclasses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340648 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 09:25:37 +00:00
Jacques Le Roux f7f65bbc70 Removes from .classpath and LICENSE files
* ant-trax-1.8.0.jar 
* Tidy.jar (not the one with Birt, will be moved to Attic with Birt later)
* commons-vfs-20070730.jar 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340641 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 08:39:17 +00:00
Jacques Le Roux 69a54d528a Hastily removed at r1340414, needed by macros.xml (taskdefs javacc & jjtree)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340638 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 08:33:05 +00:00
Jacopo Cappellato 748dd94841 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340637 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 08:21:18 +00:00
Jacopo Cappellato 79ae52492a Refactored code to use the default BeansWrapper defined by FreemarkerWorker; this is important according to comment from one of the Freemarker committers:
"As of creating new BeansWrapper, be sure you create it only once during the application life-cycle and then reuse the same instance, or else it will have to rebuild the class introspection cache again and again."

Thanks to Adam Heath for the comment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340631 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 07:49:45 +00:00
Jacques Le Roux 8390a87e00 javacc.jar is needed by the building process, I wrongly removed it at r1340414
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340485 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 14:14:10 +00:00
Adrian Crum 03d7a2c2d4 Overhauled Mini-language <entity-and> and <entity-condition> elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340465 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 13:08:17 +00:00
Jacques Le Roux 137fed08aa A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
Split Into Multiple Shipment Button is not working on quick checkout page


jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +00:00
Jacques Le Roux e1183b6d16 Following https://issues.apache.org/jira/browse/OFBIZ-4833?focusedCommentId=13275249&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13275249
Moves to Attic:
    framework/base/lib/ant/ant-nodeps-1.8.1.jar => can be removed IMO. It was added with ant 1.8 by Hans, not sure why (no comment about need), seems to contains no needed stuff
    framework/base/lib/javacc can be removed IMO. The Java Compiler Compiler tm (JavaCC tm) - The Java Parser Generator, not used OOTB, was added by Marco, not sure why (no comment about need)
    framework/base/lib/Tidy.jar was used at bottom of eCommerce pages before, no longer needed
    framework/base/lib/ant-trax-1.8.0.jar can be removed IMO. It was added with ant 1.8 by Hans, not sure why (no comment about need), contains XSLT task
    framework/base/lib/commons/commons-vfs-20070730.jar certainly added with Webslinger can be removed now


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340414 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:57:40 +00:00
Adrian Crum 7ce76dd6a8 Overhauled Mini-language <clear-cache-line>, <clear-entity-caches>, <clone-value>, and <create-value> elements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340408 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:24:42 +00:00
Jacques Le Roux 8b08aab3ef A patch from Leon for "webtools doesn't treat "Date" field properly" https://issues.apache.org/jira/browse/OFBIZ-4847
If an entity field type is "Date" (YYYY-MM-DD), in edit or create form of webtools, the component of this field is redered as "timestamp".

Update the ViewGeneric.ftl to change the related "shortDateInput" from false to true resolves this problem. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340405 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:17:23 +00:00
Jacques Le Roux e6cbafd4de A patch from Sebastian Leitner for "Possible Freemarker error in ordershippinginfo.ftl" https://issues.apache.org/jira/browse/OFBIZ-4881
If the shipgroup does not have a carrierPartyId (which is the case, if an order does not need shipping and its shipping method is NA), there is an FTL-error.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340400 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:05:33 +00:00
Jacques Le Roux e05dc542da Small formatting for previous commit (r1340398)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:03:28 +00:00
Jacques Le Roux 12d091748c A patch from Markus M. May "ew ant target run-test-debug" https://issues.apache.org/jira/browse/OFBIZ-4887
A new target run-test-debug in the build.xml provides debug functionality for specific tests.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340398 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 10:01:03 +00:00
Jacques Le Roux 5e1557183e Adrian suggested to removes all left-text-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340391 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:42:20 +00:00