Commit Graph
5165 Commits
Author SHA1 Message Date
Scott Gray 838436eaf6 Add EAN validation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812313 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 00:40:57 +00:00
Jacopo Cappellato 0b0e5143d7 Fix to prevent NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812120 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 13:09:47 +00:00
Hans Bakker 5a78b96a0b remove log mesage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812027 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:56:13 +00:00
Jacques Le Roux b237bc0ad0 Revert r811419 at Scott's demand on dev ML (issue on Safari on Mac or Linux)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812022 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:31:47 +00:00
Hans Bakker e0ba7104ce create a 'set' of documents: a technical and a user guide and added more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812021 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 07:31:11 +00:00
Jacques Le Roux 3fedb9e5ed Some ASL2 headers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811870 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 19:54:25 +00:00
Jacques Le Roux 9078c88305 A patch from Bruno Busco "Show a larger portlet screenshot" (https://issues.apache.org/jira/browse/OFBIZ-2666) - OFBIZ-2666
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811836 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 16:43:26 +00:00
Scott Gray e86aca235a Applied a slightly modified fix from Eric de Maulde (OFBIZ-2757), the currency transform for FreeMarker was not permitting rounding to 0 decimal places
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811813 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 11:24:57 +00:00
Jacques Le Roux c69983544f A patch from Philipp Hoppen "Two bugs in UtilValidate.isDouble() and UtilValidate.isFloat()" (https://issues.apache.org/jira/browse/OFBIZ-2828) - OFBIZ-2828
I tested the Junits with and without the modifications : OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811793 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 10:16:08 +00:00
Hans Bakker d6a65c264a helpscreens placeholders now converted to the docbook V5 format inclusive of namespace support, updated the apache ofbiz document to explain how to create helpscreens, created an ftl template to display the docbook help screens, docbook pdf generation now almost working: it can create a local pdf file, but streaming to the browser does not work..if anybody interested to help me check modelscreenwidget.java line 1206
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:39:20 +00:00
Jacques Le Roux 8696a908d9 A patch from Eric DE MAULDE "Image scaling quality" (https://issues.apache.org/jira/browse/OFBIZ-2552) - OFBIZ-2552
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811707 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 20:29:43 +00:00
Scott Gray 00e1d034ea Fix a problem where empty Collections fail the field type check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 00:56:07 +00:00
Adam Heath 8c6a2a7461 These are not executable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811565 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:50:15 +00:00
Jacques Le Roux 86eecea9a7 Fix "popup window for image opens then closes immediately" (https://issues.apache.org/jira/browse/OFBIZ-2805) - OFBIZ-2805
Introduce a label in CommonUiLabels.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811528 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:01:08 +00:00
Jacques Le Roux 6efb03a03f A patch from Ruth Hoffman "Main storefront page, Featured Products (middle column) overwrites right column. Should just crop its own column, but not overwrite right column." (https://issues.apache.org/jira/browse/OFBIZ-2602) - OFBIZ-2602
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811419 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 14:08:04 +00:00
Jacopo Cappellato 57f222bf51 Put back set operation, removed by commit 811020 (but without invalid default values, as suggested by Adrian Crum) because without them the ui is broken; part of OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811077 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:38:43 +00:00
Jacques Le Roux 851b777cb5 Fix https://issues.apache.org/jira/browse/OFBIZ-2885 as suggested by Adrian - OFBIZ-2885
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:43:08 +00:00
Jacques Le Roux 97dc9401b3 A patch from Bob Morley "loadCartFromOrder assumes service call is successful" (https://issues.apache.org/jira/browse/OFBIZ-2782) - OFBIZ-2782
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810921 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 12:54:16 +00:00
Jacques Le Roux 141f1d6943 A patch from Nicolas Malin " EditExample form, error in drop-down" (https://issues.apache.org/jira/browse/OFBIZ-2844) - OFBIZ-2844
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810878 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:40:22 +00:00
Jacques Le Roux 945a99d01d Better English, thanks to Scott in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810872 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:30:49 +00:00
Jacques Le Roux 912fb00085 A patch from Erwan de FERRIERES "display a message when the password is changed with success" (https://issues.apache.org/jira/browse/OFBIZ-2845) - OFBIZ-2845
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810864 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:18:12 +00:00
Jacques Le Roux f2016738d1 A patch from Nicolas Malin 'error whan parsing menu with " on screelet header' (https://issues.apache.org/jira/browse/OFBIZ-2873) - OFBIZ-2873
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810807 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:22:49 +00:00
Jacques Le Roux aa7a12bb16 A patch from Erwan de FERRIERES "small french typo errors" (https://issues.apache.org/jira/browse/OFBIZ-2846) - OFBIZ-2846
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:13:09 +00:00
Jacques Le Roux a5d0fa0c49 A patch from Vadiraj Deshpande "OFBiz deployment on Glassfish v2.1" (https://issues.apache.org/jira/browse/OFBIZ-2374) - OFBIZ-2374
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:53:50 +00:00
Jacques Le Roux db2d6b1fb8 A patch from Abdullah Shaikh "macro to display error messages individually besides each input field" (https://issues.apache.org/jira/browse/OFBIZ-2890) - OFBIZ-2890
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810497 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 13:04:56 +00:00
Jacques Le Roux 372d9ce14e Fix an issue reported by André Herbst at http://markmail.org/thread/wgqhbyr5qo6j44yq. Related to r810438
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810465 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 11:55:44 +00:00
Scott Gray 044d8d6090 Fix some code that seems to cause problems for some non-Sun JDKs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810438 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 09:55:20 +00:00
Jacques Le Roux f2cc4c2d52 Fix for "ServiceUtil.getUserLogin tests on null but not empty" (https://issues.apache.org/jira/browse/OFBIZ-2838) - OFBIZ-2838
Thank you Al for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810370 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 06:22:23 +00:00
Hans Bakker fe0c90452e correction in testing for empty...could cause a NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810019 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 13:12:46 +00:00
Scott Gray 0fb74891c6 Missed switching a result set back to TYPE_SCROLL_INSENSITIVE, reported by Mridul
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:16:51 +00:00
Scott Gray 166671a08b Changed the reloadCrashedJobs method to look for crashed jobs by statusId rather than null finish and cancel dates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809530 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 10:24:58 +00:00
Scott Gray 49fe2b05ce Switched back to using scroll insensitive cursors, fixes problem reported by Jacques and Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809425 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 22:15:01 +00:00
Scott Gray 9df4db06bd Fix problem reported by Jacques, the ResultSet API doesn't allow FORWARD_ONLY result sets to call the first() method even
if the current position is beforeFirst or first, worked around it by having the EntityListIterator handle the
situation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809324 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 12:36:49 +00:00
Scott Gray c15dc88751 Fix potential issue pointed out by Jacopo, double quotes with a field value must be replaced by double double quotes
e.g.  "42" Television" needs to be "42"" Television"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809263 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 08:14:41 +00:00
Scott Gray 61fbc38342 Continuation of Jacopo's commit, surround everything in quotes and the space removed in r809249 will prevent Excel from handling them incorrectly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:34:37 +00:00
Jacopo Cappellato 905a966ddb Based on feedback from Scott Gray, removed space between fields separated by commas in CSV exports: it was causing values with quoted texts in fields imported in Excel.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809249 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 06:17:06 +00:00
Jacques Le Roux 73b17f973c I finally reverted this change, I did not look at all aspects and it was actually OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:57:39 +00:00
Hans Bakker 841efcfafd updated license files and improved docbook pdf generation: still however an empty pdf document
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809136 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 14:45:00 +00:00
Scott Gray 271e2f3430 Removing unnecessary beforeFirst() call, fixes problem reported by Matthieu Bollot on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 12:22:59 +00:00
Scott Gray d185774026 Fix to make sure the ELI count handles distinct queries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 09:13:01 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Scott Gray 4f373bdf8e Changes to the performFind and performFindList services to limit the size of the resultset where possible.
Changes to ModelForm to allow using form supplied pagination information as service parameters in the action tag, plus changes to how the list size is retrieved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808814 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:40:58 +00:00
Scott Gray 712364816b Changes to the EntityListIterator to use a separate COUNT query to determine the result size plus a few other changes to help the ELI deal with TYPE_FORWARD_ONLY resultsets.
The changes to SQLProcessor are unrelated and contains no functional changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808812 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:35:45 +00:00
Jacques Le Roux 47a23c8778 Fix a bug reported by Ján Valkovic on user ML about about service CreateLead informations in Webtools (actions is not the same as actionsAndSet)
in Webtools, in the ECA section of services info, the I have added a column for fields set.

In availableservices.ftl, I have also replaced
<td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService?default(uiLabelMap.CommonNA)}</td>
by
<#if condition.isService?has_content>
  <td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService}</td>
  <td colspan="2">&nbsp;</td>
</#if>

I think we don't need to show informations (actually always NA) about attributes not used. But as I was not sure everybody would agree, I only did this one as an example. So What do you think, should we do it for all occurrences ?



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808786 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 07:21:52 +00:00
Hans Bakker 59040b5ec8 Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Hans Bakker 0de880f3ef adding docbook dtd/xsd, templates to generate html/pdf and more. Approval was obtained by email to Norman Walsh with the question: Is there any objections in including Docbook dtd/xsl/xsl files in Apache OFBiz, his answer: None at all. Share and enjoy! (Tue, 25 Aug 2009 07:27:51 -0400 (18:27 ICT)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 13:29:07 +00:00
Jacopo Cappellato 3429865136 Created method that "creates a child element with the given namespace supportive name and appends it to the element child node list". Patch from Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:16:23 +00:00
Scott Gray 461296fd8c Applied patch from Ashish Vijaywargiya that allows adding namespace aware child elements via UtilXml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:22:09 +00:00
Anil Patel c482278b28 Hindi translation of common uilabels. Patch from OFBIZ-2829. Thanks Arpit, Sumit and others for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807921 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:21:22 +00:00
Scott Gray ef7663888d Switched FindGeneric.groovy back to using findCountByCondition rather than eli.getResultSizeAfterPartialList()
I found on my local machine that for every 100,000 rows in the result set getResultSizeAfterPartialList would take an additional 5-7 seconds to execute.
findCountByCondition was taking roughly 2 seconds at most to count 700,000 records

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 00:41:57 +00:00