Commit Graph
20096 Commits
Author SHA1 Message Date
Jacques Le Roux 3045ed894d A patch from Anahita Goljahani for "Type-ahead for tasks on Edit Routing Task Association on a routing does not work" https://issues.apache.org/jira/browse/OFBIZ-5323
When doing a type-ahead to select a task to associate to a routing it doesn't show the tasks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525523 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 07:55:00 +00:00
Hans Bakker c98ffafa00 add entity and services to be able to add content to payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525495 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 03:13:04 +00:00
Jacques Le Roux 5fbdd76abc No functional changes, better titles for Manufacturing help in English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524952 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 08:56:46 +00:00
Jacques Le Roux df1f93664d No functional changes, better title for Manufacturing help in English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524951 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 08:53:50 +00:00
Jacques Le Roux d3a8342f31 For "If you clear the last packed item from from a shipment with two items and then complete the pack, you get the exception below" https://issues.apache.org/jira/browse/OFBIZ-5308
If you clear the last packed item from from a shipment with two items and then complete the pack, you get the exception below:

Exception thrown while creating the "newEntity" ....ShipmentPackageContent ... Key ... is not present in table shipment_package

This is happening because org.ofbiz.shipment.packing.PackingSession.clearLine() around line 600 is decrementing packageSeq from 1 to zero.  This causes createPackages() to not generate any ShipmentPackages because of the for statement on packageSeq and therefore the subsequent exception.

I fixed this by just commenting out the block starting with "if(line.packageSeq ==".  I did not submit a patch because I do not fully understand the logic and do not have time now to learn it now.

Hopefully the author will be better equipped to deal with it properly.

Skip

jleroux: the path's author (https://issues.apache.org/jira/browse/OFBIZ-2163) Karim Rahimpur  did not answer. But by analogy with clearAllLines I decided that packageSeq should not be less than 1!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524950 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 08:52:08 +00:00
Jacopo Cappellato 367ac26332 Upgraded Fop to 1.1 (the latest bug fix release) and barcode4j to 2.1 (version compatible with Fop 1.1).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524835 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 20:47:37 +00:00
Jacques Le Roux aac7d2417b A patch from Anahita Goljahani for "Overview of Bills of Material doesn't paginate" https://issues.apache.org/jira/browse/OFBIZ-5324
Just for seek of tidiness, I attached another patch that removes redundant code in FindProductBom.groovy, without changing its behavior.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524769 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 15:20:17 +00:00
Jacques Le Roux ff5f0a5096 A patch for "Deprecate doCacheClear in Delegator interface and class and related minilang classes" https://issues.apache.org/jira/browse/OFBIZ-5325
* Deprecates methods in Delegator interface and class
* Deprecates cache clear related variable and methods in EntitySaxReader class
* Deprecates cache clear related variables in minilang related delegator classes
* In simple-method schema annotations, marks do-cache-clear attribute as deprecated 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524704 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 12:03:47 +00:00
Jacques Le Roux 1cfdca5de1 A modified patch from Anahita Goljahani for "Overview of Bills of Material doesn't paginate" https://issues.apache.org/jira/browse/OFBIZ-5324
When having more than 20 BoM's in Manufacturing the overview doesn't paginate.

jleroux; I'm not quite sure why an orderBy was necessary but it works and is a simple enough solution. I refactored things a bit and kept find instead of proposed findList. So this just add an orderBy to the find

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524676 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 10:17:46 +00:00
Jacques Le Roux 8f0eb96a2c A slightly modified patch from Leon for "ConcurrentModificationException when cancelling an order" https://issues.apache.org/jira/browse/OFBIZ-5194
Leon:
Thanks for resolve this bug. But it introduce a small flaw: all cancelled items is filtered out from order item list.

The filter condition before this patch is : ("Y".equals(orderItem.get("isPromo")) && "ITEM_CANCELLED".equals(orderItem.get("statusId"))); – means filter out the item that is promo "AND" cancelled.
That of patch is : ! ((item.isPromo == null || item.isPromo == 'N') && !(item.statusId.equals('ITEM_CANCELLED'))) – means filter outer the item that is promo "OR" cancelled.

Theses two is not equivalent. After this patch, all cancelled items are filter out, no matter it's promo or not.


jleroux:

What we had before the change:
 get cancelled promo items
 remove them from the list of items
So we got all items but cancelled promo items

What we have now:
Get non-promo items AND non-cancelled items (or as said Scott "get all non-promo items that aren't cancelled")

What you suggest:
Get non-promo items OR non-cancelled items (if re-phrase what you suggest: get all non-promo items and add to them all the non-cancelled ones, so including the non-cancelled promo ones)

Your sentence "After this patch, all cancelled items are filter out, no matter it's promo or not." is almost right. Because we not only miss the cancelled non-promo but also the promo not cancelled

To re-prhase myself: Currently we miss the promo items which are not cancelled and the non-promo items which are cancelled

Pfew... the exclusive reasoning is here quite easier than the inclusive one!

I removed the useless parentheses around the cancelled proposition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524361 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 10:49:54 +00:00
Hans Bakker a847b48b07 reverted unwanted change in r1524279
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524336 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 08:30:20 +00:00
Hans Bakker 557894d331 chanmge title relation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524279 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 02:52:31 +00:00
Adrian Crum 572ac66d16 Minor change to GenericDelegator - Put some logging calls inside if blocks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524183 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 19:17:49 +00:00
Adrian Crum 252de4230f Fixed a bug in menu rendering, reported by Jacques on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524143 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:58:13 +00:00
Adrian Crum 8004ad04c2 JavaDoc fix - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524134 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:17:56 +00:00
Adrian Crum 0e1449137d Small improvement to String-to-Date conversion: Accept either JDBC escape format or localized format.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524133 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:16:50 +00:00
Adrian Crum c276d17fa4 Small change to ObjectType.java - log warning on conversion failures so we can see what went wrong.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524132 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:15:20 +00:00
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