Commit Graph
21879 Commits
Author SHA1 Message Date
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
Erwan de Ferrieres 3d8551c9a7 OFBIZ-4064 - patch from Olivier Heintz - French translation correction for ListWorkEffortTimeEntries label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1211397 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 11:54:01 +00:00
Hans Bakker fc8b73c10c extend the <@ofbizUrl macro with a new parameter: webSiteId to be able to generate url's for a specific website in generated emails
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1211258 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 01:21:56 +00:00
Andrew Zeneski 11bcb7d52e reverted previous commit since it breaks SUN (oracle) JDK, ick.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1211088 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 20:25:52 +00:00
Andrew Zeneski 15228ae88b few minor changes to fix compiling with openjdk icetea6 1.7.9
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1211073 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 19:51:28 +00:00
Hans Bakker 846b166439 Make group bying also work for variant products.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1210805 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 07:25:47 +00:00
Jacques Le Roux c010ea6489 A patch from Sergei Biletnikov https://issues.apache.org/jira/browse/OFBIZ-4608 "Shopping cart update problem for several shipping groups"
That is pretty simple bug, but causes a big problems during the order editing in case if you have more than 1 shipping group, please, just look at the patch, it is very simple. I found the similar bug in the system already before, which was fixed successfully.

Also, this bug exists in the version 10.04, could you fix it there?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1210211 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 20:51:44 +00:00
Jacques Le Roux b69868efea Fixes an issue reported by andrewzn: "Error messages are never displayed with BIZZNESS_TIME theme" at https://issues.apache.org/jira/browse/OFBIZ-4607
The reason is outdated JS in messages.ftl

jleroux: I did not use andrewzn's solution because it overrode another part of the screen. I tried to understand why humanMsg, which has been adapted during jQuery move, did not work. I guess it's simply because biznessTime application.js is not loaded; though it's declared in BizznessTimeThemeData.xml as VT_HDR_JAVASCRIPT. At this stage, as I was missing time, I decided to simply reuse the same way than in webcommon messages.ftl 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1210193 13f79535-47bb-0310-9956-ffa450edef68
2011-12-04 20:12:14 +00:00
Jacques Le Roux 5ac6c5f240 Better comment, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1209927 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 15:01:55 +00:00