Commit Graph
27737 Commits
Author SHA1 Message Date
Hans Bakker 130c8c1380 apply ofbiz patches should not be part of a component in the special purpose directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222574 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 05:42:01 +00:00
Hans Bakker 00c84e8470 new ant allows failonerror parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222573 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 05:41:00 +00:00
Hans Bakker fb504ca2d4 upgrade ant to rev 1.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222547 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 04:08:15 +00:00
Hans Bakker 91d206a71d add the possibility of adding tags to products next to having keywords to products, can also optionally approve/reject via a status field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222544 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 03:49:11 +00:00
Jacques Le Roux 2199261403 A patch from Martin Kreidenweis "typo in javascript prevents live update of content" https://issues.apache.org/jira/browse/OFBIZ-4515
"success" is mistyped as "succes" in PurchaseInvoices.ftl and order.js

jleroux: I wonder why we, committers, are so long to commit such patches... :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222478 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:59:47 +00:00
Jacques Le Roux 456eb16137 A modified patch from Patrick Antivackis "Null values are not synchronized in http mode" https://issues.apache.org/jira/browse/OFBIZ-4602
In order to send over http the values to create, store and remove, Ofbiz is Xml serializing the values. GenericValue xml serialization is managed in GenericEntity.makeXmlElement, unfortunately this method just don't serialized null valued fields.
To solve this issue, I managed null value the same way GenericEntity.setString (which is used for the Xml deserializing). I only managed until case 10, because i'm not sure the setString for the cases 11 to 15 are well managed (not taking care of null value) 

jleroux: After looking at GenericEntity.setString and initial commit (http://svn.ofbiz.org/viewcvs?rev=7779&view=rev) I see no reasons to not handling cases under 10 the same way. So I added these cases as well using fall through.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222241 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 14:14:57 +00:00
Jacques Le Roux c05bd7a89a Replaces tabs by 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:38:42 +00:00
Jacques Le Roux 6eaf5b54e4 A slightly modified patch from Patrick Antivackis "Entity synchronization is skipping values to create, store and remove" https://issues.apache.org/jira/browse/OFBIZ-4601
assembleValuesTocreate, assembleValuesToStore and assembleKeysToRemove are called multiple times during a synchronization (depending on the syncSplitMillis and the time period to synchronized). There is in theses methods a check to see if at the next call, the method needs to look for values. This check depends only on entity without values at the current run, which is not enough

Solving issue described and fixing the assembleKeysToRemove that was using nextUpdateTxTime instead of nextRemoveTxTime

jleroux: functional changes from patch, only formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222105 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 09:06:18 +00:00
Hans Bakker 81e850ba8b code improvement and typing error correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 02:38:37 +00:00
Jacques Le Roux 97d79c74f4 A patch from Leila Mekika "Use-when not working on multi-forms submit button" https://issues.apache.org/jira/browse/OFBIZ-4605
The submit button of a form multi is rendered even if we add a use-when condition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221913 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 22:24:58 +00:00
Jacques Le Roux 3a2f098fce A modified patch from Leon "Help screen/navigation do not take into account content expiration" https://issues.apache.org/jira/browse/OFBIZ-4626
To enable a disabled html element, there're only two ways, remove "disabled" attribute or use javascript to set disable property to false. The patch updates trivial to enable submit button in ListInvoices.ftl and batchPayments.ftl. btw, it's not w2c compliance to set disabled attribute to other value than 'disabled'.

jleroux: Actually W3C does not define any value for disabled http://www.w3.org/TR/html4/interact/forms.html#adef-disabled and its value in javascript is a boolean so we should rather use true instead of 'disabled' (we could also use false instead of remove it seems, but anyway...)

So more files need to be changed, though they all use ".removeAttr('disabled')"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221889 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 21:14:26 +00:00
Ashish Vijaywargiya 03f94dd0b2 Providing additional details inside GoodIdentificationType.description field for "HS Code" so that it will be easy for someone to understand its purpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221669 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 10:43:20 +00:00
Hans Bakker a2311ff616 in ecommerce a user could not update the filemanager section in the ecommerce profile. created a separate security group for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221633 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 07:19:11 +00:00
Hans Bakker 6608079f5f downloadable product does not have a carrierpartyId causing problems in orderoverview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221591 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 03:49:59 +00:00
Hans Bakker d99e8ab7b7 add junit test for configurable service product using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221590 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 03:48:43 +00:00
Ashish Vijaywargiya 99123b1fd3 Minor bug fixes on Pending Reviews page
1) Added <td> to show value of Review By  column in proper place.
2) Added default value 'N' for isAnonymous drop down option
3) Added additional condition to show valid value in Review By Column instead of showing value from previous record value.
Thanks Arun!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221347 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 17:16:12 +00:00
Hans Bakker c31c42d742 implement 404 page tracking in google analytics also for the pages coming from the content component. more info at: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=86927
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221128 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:36:45 +00:00
Erwan de Ferrieres 10f612c5e9 OFBIZ-4487 - enable definition for position on sortfield - patch from Youssef Khaye and Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220927 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 20:16:01 +00:00
Jacopo Cappellato 4da09f109c Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220649 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:33:05 +00:00
Hans Bakker 121a671018 new producttype: configurable product service, using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220622 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:40:18 +00:00
Hans Bakker 294c2222f3 add a download button when the ordered item when a downloadable file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220619 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:29:51 +00:00
Jacques Le Roux fb5d588fb3 A patch from andrewzn "Help screen/navigation do not take into account content expiration" https://issues.apache.org/jira/browse/OFBIZ-4626
Help screens use entity-and to retrieve ContentAssoc without fromDate/truDate conditions while help content expiration still may be useful.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220527 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:24:48 +00:00
Hans Bakker 4a6bae7025 split up accounting auto post test in sales and purchase and added some asserts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220339 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 06:27:29 +00:00
Jacques Le Roux 2550ad614b A patch from Sergei Biletnikov "Shipping group Instructions and gift messages can not be changed/set if there are several shipping groups" https://issues.apache.org/jira/browse/OFBIZ-4609
Just add more than 1 shipping group for an order, and you notice that it is not possible to set or edit the shipping instructions and gift messages, because the code ignores multiple shipping groups and the html have the same DOM id elements, so only first shipping group can be edited. Of course, it is just a development issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220298 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 23:02:01 +00:00
Jacques Le Roux 8e3a510662 A patch from Joe Eckard "Add methods to OrderReadHelper to retrieve attributes" https://issues.apache.org/jira/browse/OFBIZ-2800
We agreed to commit in trunk but not to backport to releases

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220283 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 21:59:29 +00:00
Jacques Le Roux 29a6669291 A patch from Sam Hamilton "Add support to save HS Code in Goods Identification" is not working." https://issues.apache.org/jira/browse/OFBIZ-4610
Add support to save the HS Code ( http://en.wikipedia.org/wiki/Harmonized_System ) in the system.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215536 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:52:31 +00:00
Jacopo Cappellato 210988d933 Re-enabled accounting tests: they have been disabled because of an issue with tests failing if executed in a platform with a locale different than en. OFBIZ-4624
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215166 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 14:54:38 +00:00
Jacopo Cappellato 1c1421887a Added missing property needed to successfully run test cases in platforms with locales different from en.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215142 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 14:22:01 +00:00
Jacopo Cappellato 172d49de9b Improved ui flow for "run service" requests: when an error occurs it returns to the "run service" screen instead of the "submit job" screen (OFBIZ-3571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214680 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 10:00:12 +00:00
Jacopo Cappellato 9671997a2d OFBIZ-2565: fix for data type mismatch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214367 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 17:32:31 +00:00
Jacopo Cappellato 522609fdf2 Patch from Dan Dodd (OFBIZ-2564) to fix Double/BigDecimal issue in receiving of hhfacility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214334 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 16:58:00 +00:00
Sascha Rodekamp 242ba72077 Wrong errorMessage output from minilang event (https://issues.apache.org/jira/browse/OFBIZ-3461) A patch from Dimitri Unruh: when a service returns an errormessagelist to a simple method event, the message list is formatted just as a string.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214212 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 12:31:19 +00:00
Jacques Le Roux 046deacbe0 A patch from Wai https://issues.apache.org/jira/browse/OFBIZ-4620 "fail uploading audio/video files to database"
When uploading binary files (eg. image/audio/video) to the database, ofbiz throws a type casting exception because it is trying to type cast HeapByteBuffer to byte[].

I think the problem stems from configuring ofbiz to use java.nio.ByteBuffer and its subclass java.nio.HeapByteBuffer to contain uploaded binary data but no accommodation is made in the code to work with this type of object.

To test this, you need to set content.properties/content.upload.always.local.file=false
an use partymgr/control/viewprofile?partyId=admin and upload an image file.

java.nio.HeapByteBuffer comes from java's rt.jar (make sure your classpath includes this)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1214124 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 09:18:04 +00:00
Hans Bakker 4e69413b4b commented out accounting auto tests which did not work for a long time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213650 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 11:04:57 +00:00
Hans Bakker 9769a21dbf orderitemattributes when empty caused a null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213623 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 09:22:48 +00:00
Jacopo Cappellato dc46ba75af Added missing controller entry required by WorkEffort-->Communications; thanks to Torstein Hegbom for the bug report (OFBIZ-2870)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213609 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 08:59:34 +00:00
Hans Bakker d5aaed3f5b comment out ec2 specifics
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213606 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 08:51:25 +00:00
Hans Bakker 8926fa1bda show personal image if the party is a person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213599 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 08:49:08 +00:00
Hans Bakker 8273fcaa23 allow specification of ofbiz dir in startup script for ubuntu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213572 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 06:16:45 +00:00
Hans Bakker a56c0b3f7b update the system info messages: remove dependency on my portal and provide links directly into workeffort, projectmanager and scrum
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213562 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 04:23:50 +00:00
Jacopo Cappellato 5c7b6f1344 Added missing entry for "contact list" lookup required by WorkEffort-->Communications (OFBIZ-2869)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213369 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:06:48 +00:00
Christian Geisert 23d43373d4 German translation for some OrderErrorUiLabels (work in progress)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1213199 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 12:02:53 +00:00
Jacques Le Roux f663e9b57b Yesterday, late and in a hurry, I hastily committed r1212673. It was failing after an ant clean. But I did not see, because I did not do an ant clean, and Builbot did not report any issues (yes, I sometimes rely on it). Actually it was because Buildbot tests fails since r1212266, and it only sends info when it switches from bad to good, or vice-versa.
Fortunately, on my side, it was an easy fix: I just forgot to re-add the old strToMap(String str, boolean trim) signature.

So here it is

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212749 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 08:55:27 +00:00
Hans Bakker 05909bfc1b revert 1212673 because of compile error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 01:24:44 +00:00
Jacques Le Roux ade4ac0468 Improves StringUtil.strToMap() by adding a delimiter as parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212673 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 22:50:01 +00:00
Erwan de Ferrieres b4f18afc15 OFBIZ-4611 - Extra screen included in Facility - removing the orphan menu item and the associated entries in controller.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212298 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 09:23:02 +00:00
Hans Bakker 1cdcf0729d Apply system and patches in components in the hot-deploy dir
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212272 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 08:10:42 +00:00
Hans Bakker cc0422371e now possible to add comments when adding a product to the cart which are stored in orderitem attributes and displayed in the shopping cart and order. Possible to switch off in order.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212266 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 07:20:28 +00:00
Jacques Le Roux 75532a3358 A patch from Martin Kreidenweis https://issues.apache.org/jira/browse/OFBIZ-4451
Warning in log when using @renderSubContentCache freemarker macro

When using the @renderSubContentCache freemarker macro, warnings like this appear in the log:

[      GenericEntity.java:314:WARN ] The field name (or key) [caContentAssocTypeId] is not valid for entity [ContentDataResourceView], printing IllegalArgumentException instead of throwing it because Map interface specification does not allow throwing that exception.

Patch: GenericValue.get() will actually not throw an exception but instead log a warning if the field doesn't exist, so now we first check if the field we are trying to access exists.
Checking one of the fields through the ModelEntity should be enough, as all three of them come from the same entity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1212147 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 21:56:02 +00:00
Hans Bakker 52ee43805f will persist shopping cart even when a user is not logged (over cookie)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1211810 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 10:35:58 +00:00