Marco Risaliti
8fc1103633
Add some @SuppressWarning("serial") in EntityFinderUtil (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075512 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:13:30 +00:00
Erwan de Ferrieres
18d3dae94b
Adding French version for the OFBiz website
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075511 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:02:31 +00:00
Marco Risaliti
321e1ef08d
Remove an unused variable in GenericDAO (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075510 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:02:07 +00:00
Erwan de Ferrieres
adccd94b7a
no need to display link to EN page as we are already in it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075509 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 20:01:24 +00:00
Marco Risaliti
f729c27c2d
Remove an unused import in GenericDelegator (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075507 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:53:15 +00:00
Marco Risaliti
a14d03ccde
Remove an unused import in EntityComparisonOperator (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075506 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:51:42 +00:00
Marco Risaliti
0c97ca1526
Remove some warning in PreferenceServices (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075504 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:43:35 +00:00
Marco Risaliti
ddf83388af
Remove an unused variable in ShoppingCartServices (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075493 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:16:37 +00:00
Marco Risaliti
19baf15d98
Remove an unused variable/import in ReplaceImage (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075492 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:15:06 +00:00
Marco Risaliti
0179085249
Remove an unused variable in ImageManagementServices (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075491 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 19:14:23 +00:00
Erwan de Ferrieres
0641fe2c83
Reverting some changes done last year, which were wrong (uiLabels instead of content), and separating NL from EN data for the integrated OFBiz website
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075416 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 16:42:38 +00:00
Erwan de Ferrieres
e2765b53c6
String test should be using .equals instead of ==
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075356 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 14:45:57 +00:00
Jacques Le Roux
141bb6827f
I should have used cache in 1st place here. It's never too late...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075350 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 14:35:02 +00:00
Erwan de Ferrieres
791bbded63
More improvements on help, adding more descriptions and a French page
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075324 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 13:45:02 +00:00
Sascha Rodekamp
40f52ad764
Improvement - if-regexp conditions in Minilang and Screens not thread safe ( https://issues.apache.org/jira/browse/OFBIZ-4107 ). I added another getTestPattern Method to support case insensitive tests. The case insensitive testPattern is needed from the UtilHttp.checkURLforSpiders.
...
Thanks Martin & Dimitri for your effort.
Orig. Msg.:
The Perl5Matcher Perl5Compiler are not thread safe, as mentioned in their documentation: http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/Perl5Compiler.html
A separate instance should be used per thread.
The concrete issue occurred in our system in the createCommContentDataResource service. The service tries to save emails to the database after they have been sent. It failed because of the described issue. This caused the whole email service (sendMailFromScreen) to be rescheduled. So customers got emails twice.
The Perl5Matcher and Perl5Compiler instances are assigned to static fields in the org.ofbiz.minilang.method.ifops.IfRegexp class. So every thread will use the same instance. No synchronization is done currently. Changing the fields to be non-static will not work either, as SimpleMethods are cached. So all calls to the same simple method use the same IfRegexp instance.
We fixed the problem by moving the instantiation of the Perl5Matcher and Perl5Compiler to the exec() method in IfRegexp.
Other classes are most likely affected, too: org.ofbiz.entity.condition.EntityComparisonOperator, org.ofbiz.minilang.method.conditional.RegexpCondition, org.ofbiz.minilang.operation.Regexp, org.ofbiz.widget.menu.ModelMenuCondition$IfRegexp, org.ofbiz.widget.screen.ModelScreenCondition$IfRegexp, org.ofbiz.widget.tree.ModelTreeCondition$IfRegexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075322 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 13:43:23 +00:00
Sascha Rodekamp
c1a975a74a
Bug - Content Tree is not shown in IE7 ( https://issues.apache.org/jira/browse/OFBIZ-3815 ). The JSON Object was not defined in a clean way so the IE couldn't interprete the structure.
...
Thnkas Ankit for reporting!
Orig. Msg.:
We have two issues:
1. https://demo-trunk.ofbiz.apache.org:8443/content/control/findContent , the alert box open and say "Operation Aborted". see Image1.jpg
#Here https://demo-trunk.ofbiz.apache.org:8443/content/control/navigateContent the tree is not rendering. see Image2.jpg
Both the above issue are on IE7 only they are working fine on FF and Chrome.
I have attached the two images please have a look.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075310 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 12:08:26 +00:00
Jacques Le Roux
0fbd51f245
Comments out objectInfo attributes which does not make sense
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075205 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 04:39:53 +00:00
Erwan de Ferrieres
e68db79970
Extracting help documentation system from OFBiz technical file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075151 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 21:27:52 +00:00
Erwan de Ferrieres
4aa687da9f
manage anchor tag with xml:id attribute in title for docbook documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075138 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 20:31:42 +00:00
Erwan de Ferrieres
f772ba7c63
Manage emphasis tag with a role attribute (generate a span class= and programlisting tag (HTML pre tag) for docbook documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075128 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 20:06:15 +00:00
Erwan de Ferrieres
af56c858e8
Using the right syntax for caution, important, note, tip and warning in docbook documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075125 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 19:49:39 +00:00
Jacques Le Roux
32f5b6db55
Fix issues when rendering as templates subContents in Content Manager
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1074624 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 16:54:33 +00:00
Jacques Le Roux
9769ba0ced
Fixes indentation (picky ;o)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1074537 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 14:34:26 +00:00
Jacques Le Roux
484ef6e076
There is no index.html file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1074430 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 07:57:23 +00:00
Andrew Zeneski
7fa3382f21
fixed a few entities missing index names for foreign keys
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073943 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:55:16 +00:00
Sascha Rodekamp
b4fa2d25e9
Update - Remove the obsolete jQuery UI Libs from the ecommerce common screen. ( http://markmail.org/message/dbogfc7ope76hosv ). Sam noticed that all jQuery UI Libs in the ecommerce application are not needed. To improve performance of site loading we decided to remove the obsolete libs.
...
Orig. Msg.:
Was just running round the ecommerce site when I noticed that both
jquery-1.4.2.min.js and jquery-ui-1.8.6.custom.min.js are served when loading
/ecommerce/ pages? Isn't that rather excessive and only jquery-1.4.2.min.js
should be called?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073901 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 19:39:25 +00:00
Christian Geisert
6c3c28e6b6
Added missing Country (_DE) for a translated label
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073861 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 18:15:25 +00:00
Jacques Le Roux
f9661643f7
Fixes some errors in UiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073801 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 16:09:50 +00:00
Jacques Le Roux
faefe05b41
Helps to find errors in UiLabels files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073785 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 15:31:11 +00:00
Jacques Le Roux
6e0ea1f1ae
Fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073782 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 15:28:41 +00:00
Christian Geisert
a89af7668e
Adding Germany (de_DE) Labels for "Quote" (!= "Offerte") and a few more translations
...
Submitted by Carsten Schinzer
See OFBIZ-2862
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073716 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:07:24 +00:00
Erwan de Ferrieres
9dbf41adea
PartyQual should be using statusItems with a statusType=HR_DEGREE_STATUS instead of PARTY_INV_STATUS
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073715 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 12:06:41 +00:00
Jacques Le Roux
a68c944404
Adds a div at EOF, thanks to Mike at OFBIZ-4184
...
I figured out the problem with the footer appearing in
the center (below product) on ProductDetail. There was a </div>
missing at the very bottom of:
OFBIZ_HOME/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
</div>
</div> <----- ADD additional closing DIV.
Product detail now correctly renders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073639 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 08:38:05 +00:00
Hans Bakker
71deee90f6
Add mass rename and resize functions for product images in image management
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073621 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 07:06:07 +00:00
Hans Bakker
3714571383
add possibility to have quote terms also on the quote level
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073587 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 03:57:33 +00:00
Jacques Le Roux
be618c46fc
* Fixes some issues related to anchors syntax in some docbook help files
...
* Adds TheMarketingApplication anchor for https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073502 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 21:06:54 +00:00
Erwan de Ferrieres
57eefd55cd
Misc. French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073485 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 20:18:48 +00:00
Erwan de Ferrieres
cc97cd53cc
Make collapsibleAreaId unique so the right screenlet is collapsed when more than one screenlet in a portalPage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073398 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 16:44:30 +00:00
Erwan de Ferrieres
12a8353bcc
Adding missing French translation for OrderAddGiftCertificate
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073370 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 15:54:55 +00:00
Jacques Le Roux
9cffccd134
Puts a line in Catalog creation screen to explain that an empty catalog (no categories in) will not show in the Browse Catalogs/Categories tree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073236 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 07:32:21 +00:00
David E. Jones
bcae85b5f4
Reduced logging of an exception that is just rethrown, still logs error but not full stack trace
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073196 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 01:18:55 +00:00
Jacques Le Roux
5a4b5561a7
Provides defaultMinLength default value (=2)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073163 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 21:55:49 +00:00
Sascha Rodekamp
a3cfb8c9e4
Feature - Improve UtilProperties.java with a new Method getPropertyNumber which returns an Object of the Number or a default Object - ( https://issues.apache.org/jira/browse/OFBIZ-3418 ) - I submitted a less modified patch from Mirko Vogelsmeier. The patch was outdated but doesn't matter I merged by hand and removed the tabs. Thanks Mirko for the improvement. And thanks Adrian for the first review.
...
Orig. Msg.:
Improvement of UtilProperties.java with a new method which returns the Number as an Object of the specified property name from the specified resource/properties file.
If the specified property name or properties file is not found, the defaultObject is returned.
i did update my method "getPropertyNumber" a bit and
as requested i added "getPropertyAsInteger / asLong / AsFloat / AsDouble / AsBigInteger / AsBigDecimal".
In addition i added a "getPropertyAsBoolean".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073113 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 19:01:36 +00:00
Jacques Le Roux
6b2d199620
100px was too small, 250px is alright for 10 items as default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072790 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 22:54:20 +00:00
Jacques Le Roux
2d35500cf5
Introduces widget.autocompleter.defaultMinLength in widget.properties and set it to 2: Default minimum number of characters an user has to type before the ajax autocompleter activates (jQuery default is 1).
...
Note: not to be confused with the the minChars option of the old plugin (not in jQuery UI but the external plugin from bassistance.de) which allowed this so this page is wrong: http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions . Now replaced by minLength, the right page is http://docs.jquery.com/UI/API/1.8/Autocomplete#options
Also adds a css trick (from http://jqueryui.com/demos/autocomplete/maxheight.html ) to have a vertical scroolbar when having dozens of items in autocomplete (using widget.autocompleter.defaultViewSize=100 for instance)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072784 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 22:43:59 +00:00
Erwan de Ferrieres
3f737c4cf6
Better consistency for French CommonItems translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072600 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 14:13:03 +00:00
Erwan de Ferrieres
2fa06cc44c
Adding missing DTD attributes for link element when calling an ajax-window
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072599 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 14:11:02 +00:00
David E. Jones
682dfda869
More changes to support CUSTOMER_* return types instead of just CUSTOMER_RETURN to facilitate certain customizations; fixed two issues with needsInventoryReceive causing it to not run because the SECA rule looking for it was attached to a service that was often called without passing that in; changed the quickReceiveReturn change of status to received to be more robust by looking at the status instead of figuring it out based on item types
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072551 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 10:43:02 +00:00
David E. Jones
4a2f9866a4
Small change so that file upload form fields are added as request attributes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072490 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 04:17:56 +00:00
Jacques Le Roux
6d47543fe3
Fix ports numbers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072395 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 17:08:08 +00:00