Commit Graph
21879 Commits
Author SHA1 Message Date
Adrian Crum ecb1c8e8d6 Fix a trivial compiler warning - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524131 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:13:52 +00:00
Jacopo Cappellato 672dc55f1e Moved the docbook distribution from applications/content to specialpurpose/cmssite, the only component that requires it. The Docbook schemas are still in the content component because they are required to render the online help screens of the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524112 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:11:00 +00:00
Hans Bakker 707a96401e missing reference in custRequest for parentCustRequestId field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523959 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 09:03:44 +00:00
Jacopo Cappellato d636fbc327 Removed empty folder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523899 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 05:37:43 +00:00
Jacopo Cappellato f77307f71e Removed commented out lines created for test purposes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523739 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 18:13:51 +00:00
Jacques Le Roux 53343461e0 Since we decided to keep findAll, no reasons to deprecate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523645 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 13:38:08 +00:00
Jacques Le Roux ca73e7694e As suggested on dev ML, reintroduces findAll("EntityName") but uses the new pattern with a cache variable rather than a signature with "Cache" in method name (thanks to Adrian's comment on dev ML)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523507 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 21:58:38 +00:00
Jacques Le Roux 8de2674e78 This slipped in inadvertently
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523468 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 18:01:54 +00:00
Jacques Le Roux d54e2f098c As suggested on dev ML, reintroduce findAll("EntityName"), I decided that findAllCache("EntityName") could be also. If you disagree on findAllCache, just remove it...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523466 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 17:53:43 +00:00
Jacques Le Roux 5e194d1138 "Fix online help issues" https://issues.apache.org/jira/browse/OFBIZ-5320
A forgotten one

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523436 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 14:27:48 +00:00
Jacques Le Roux b8db107a26 "Fix online help issues" https://issues.apache.org/jira/browse/OFBIZ-5320
Fixes the setup application help

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523430 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 12:15:12 +00:00
Jacques Le Roux c70c41921d "Fix online help issues" https://issues.apache.org/jira/browse/OFBIZ-5320
This fixes most of the issues but some are remaining, I report them in OFBIZ-5320

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523423 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 09:41:28 +00:00
Jacques Le Roux ff96845662 I18n of FacilityInventoryHistoryReport, I moved the labels from Product to birt application, they could have stayed there, but I preferred to have them in one place. We need to i18n the Birt reports also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522782 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 05:37:37 +00:00
Jacques Le Roux d9ce0658d1 This reverts the change in birt ofbiz-component done at r1400463
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522679 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:40:14 +00:00
Jacques Le Roux 5c4bb0a2b4 Reverts r1518777
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522675 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:36:45 +00:00
Jacques Le Roux 8a6324862b No functional changes: remove useless/confusing comments, replace tabs by spaces (from commit r1519544)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522670 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:24:00 +00:00
Jacques Le Roux a2e67c7770 Following Jacopo's message on dev ML: http://markmail.org/message/yuogfjxddq2mum45
This reverts changes done for OFBIZ-5297


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522664 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:07:12 +00:00
Adrian Crum ac4f89935d Trivial improvement to log message: Add a stack trace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522006 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 19:39:34 +00:00
Adrian Crum 67225263bb Refactored MacroScreenViewHandler.java so it doesn't require empty "do nothing" templates.
https://issues.apache.org/jira/browse/OFBIZ-5310


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1522002 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 19:31:14 +00:00
Christian Geisert 07728e0c67 target 'clean-search-indexes' should not fail when 'runtime/indexes' directory is missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521754 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 08:03:28 +00:00
Jacques Le Roux 656e0deef5 Damn, forgot to commit this with r1521589
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521740 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 06:01:27 +00:00
Jacques Le Roux ba5dc0cfea For "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
The quickInitDataWarehouse BI button used these dates (set in BI main screen)

<set field="fromDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
<set field="thruDate" value="2010-01-01 00:00:00.0" type="Timestamp"/>

This generated 1000+ records. I set 10 years ahead (from sept. 2013) in a new bi.properties file used by the BI main screen. So it generates only 3000+ records (and others related in BI DB) which is still reasonable. A message, placed at the top of the Order Reports page, informs users that for 4 Birt reports s/he needs 1st to run the data warehouse init using the BI button. Also this message clarifies the range, to be certain that in 10 years people will still easily know what to change...

I have also replaced a lot of labels and added English and French translations (by-product: some labels cleaning in CommonUiLabels.xml)

I did not do the same for the accounting paymentReport and ViewFacilityInventoryHistoryReport facility Birt reports which only need translation. 
I noticed that there are no ways to get to ViewFacilityInventoryHistoryReport from UI though!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521589 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:08:29 +00:00
Hans Bakker 8d58d0d9e9 remove typing error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1521348 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 02:07:53 +00:00
Hans Bakker 7be06f2f43 small improvements of the programmable database export
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520954 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 03:10:00 +00:00
Jacopo Cappellato 07934c65d3 Simplified the layout of the main/framework/applications/specialpurpose build files; now the files:
framework/build.xml
applications/build.xml
specialpurpose/build.xml

are only used to define the filelist properties (as before) with the list of components to be built.
The main build file simply refers to these lists to build/doc/clean OFBiz; as before, if applications' or specialpurpose's build.xml files are absent, the folders are ignored.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520744 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 09:27:59 +00:00
Jacopo Cappellato 60fdfcbfa8 First pass of the cleanup of Ant's targets defined in main build file and in build files for framework/applications/specialpurpose folders:
* removed redundant targets (e.g. clean-xtras)
* removed unused targets and settings
* moved runtime related targets from framework to main build file
* moved the search index runtime folder from runtime/data/indexes to runtime/indexes to prevent the removal of indexes when clean-data is executed



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520510 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:32:47 +00:00
Jacopo Cappellato 42a0cd5abc Fix for issue reported by Hans in the dev ml: after the migration of Lucene dependent code to specialpurpose, the application menu item for "Content" was replaced by "Lucene" due to a wrong title in the webapp declared in specialpurpose/lucene.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520509 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:24:47 +00:00
Hans Bakker 2908317017 added a new menu item in webtools: 'programmable export' where interactively a groovy program can be entered to export specifc records from the database. In order to apply some global changes for re-import
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520505 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:03:34 +00:00
Jacopo Cappellato 233645aa89 Moved and renamed (from clean-lucene-index to clean-search-indexes) the ant target to clean runtime data for search indexes from the content build.xml to the main build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520326 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 14:29:34 +00:00
Jacopo Cappellato 1326473fda Set classpathentry for the src folder of the specialpurpose/lucene component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520322 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 14:12:57 +00:00
Jacopo Cappellato 65d76da54a Added svn:ignore property in order to ignore all files under the runtime/indexes folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520321 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 14:10:40 +00:00
Jacopo Cappellato c33e39550c Implemented the ability to specify an event (success) message in Groovy events when success(GString) is invoked.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520319 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 14:07:05 +00:00
Jacques Le Roux 251558ca8c Better to have this in doc than in a comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1520249 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 08:23:59 +00:00
Jacopo Cappellato 0914236c45 Fix for typo in a comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519999 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 12:52:33 +00:00
Jacopo Cappellato 3911dc9aeb Removed parameter from the catalina-container setup that is deprecated:
public void setResolveHosts(boolean resolveHosts)
Deprecated. Unused, removed in Tomcat 8. See org.apache.catalina.connector.Connector.setEnableLookups(boolean).

and according to the above notes I have enabled the same behavior using the enableLookups flag in the Connectors.
This change resolves a warning during compilation but requires more testing.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519577 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 06:20:23 +00:00
Jacques Le Roux 3e8b20aa81 A patch from Parimal Gain for "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
Reports under Order component has following issues -
1. Following reports are not showing any records due some issue
   a. Last three month sales report.
   b. Sales report.
   c. Sales Order discount code report.
   d. Product demand report.
2. Inconsistency in opening the pdf report - some reports are opening in new tab window but some are in the same window.

Following are the checkpoint -
1) Order should be Approved
2) All Dimension table(CurrencyDimension, DateDimension, ProductDimension)should have record.
3) After approval of order, order record should be created in 'SalesOrderItemFact' table. These is the OLAP table used to display data in reports.

Description -
1) If dimension table doesn't have records then following services should execute from service engine -
a) loadAllProductsInProductDimension
b) loadCurrencyDimension
c) loadDateDimension
2) Calling service to create record in 'SalesOrderItemFact' is updated into patch. On commit operation of service 'changeOrderItemStatus' if order item is approved then 'loadSalesOrderFact' service called through SECAS.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519544 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 03:29:45 +00:00
Hans Bakker b06e78d5b6 replace numberformat with UtilFormatOut because not showing the Thai baht currency correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519364 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 08:11:16 +00:00
Jacques Le Roux 06e7d2a646 The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519245 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 08:18:47 +00:00
Jacopo Cappellato 4e9f674b6e Removed unused argument from a private method's signature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518985 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:52:34 +00:00
Jacopo Cappellato 0d2f4d2347 Fix for typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518983 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:45:45 +00:00
Jacopo Cappellato 25f1484bb5 Upgrade to latest Lucene release (4.4).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518981 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:40:26 +00:00
Jacopo Cappellato fa08fe4b00 Minor code cleanup for the Java classes in the "lucene" component: replaced unnecessary usage of Javolution, simplified some code, suppressed unnecessary empty lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:37:20 +00:00
Jacques Le Roux 2df6fadcbe I made a wrong C/P for Åland islands, I checked no others
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518950 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 12:19:56 +00:00
Jacopo Cappellato 6071e8d8e0 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Jacques Le Roux d6eaefbeb6 This fixes "Net before overhead report generates an error" https://issues.apache.org/jira/browse/OFBIZ-5267
This is related with r1361130, where the birt component was moved from framework to specialpurpose.

The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 19:37:44 +00:00
Jacques Le Roux 8196e850ab A patch from Pierre Smits for "ProductionRunServices doens't set UoM of goods in inventoryItems" https://issues.apache.org/jira/browse/OFBIZ-5300
When releasing a good to inventory from a production run (both declare and return material) the uom of the good returned isn't set in the inventory item.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518336 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 19:34:02 +00:00
Jacopo Cappellato 96dfb91fbb Removed unused import statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518219 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 14:36:13 +00:00
Jacopo Cappellato 2de26cf06d Moved the folder where search indexes are created from content/index to runtime/data/indexes because it is a good practice to avoid the creation of runtime data in the applications/framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518213 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 14:11:11 +00:00
Jacopo Cappellato a0db8942b1 Removed some old unused methods and fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518098 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 08:21:26 +00:00
Jacopo Cappellato 7a816632c7 Removed an old and invalid reference to a Lucene jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518096 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 08:11:17 +00:00