Commit Graph
8242 Commits
Author SHA1 Message Date
Marco Risaliti 9178f9ec3f Removed some javadoc warning (wrong param/return) into security component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1127281 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 20:57:33 +00:00
Marco Risaliti 49559c94dc Removed some javadoc warning (wrong param/return) into entityext component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1127256 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 20:13:33 +00:00
Hans Bakker 66d25fea52 To be consistsent with product and the storage of alternative url, this function replaces the 'link' button on the category. We also improved the locale lookup with a search function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126904 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 07:30:42 +00:00
Marco Risaliti 56f315b3e5 Removed some javadoc warning (wrong param/return) into widget component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126754 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 21:17:30 +00:00
Marco Risaliti 32269601a2 Removed some javadoc warning (wrong param/return) into webtools component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126748 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 21:01:53 +00:00
Marco Risaliti 1a16c98e54 Removed some javadoc warning (wrong param/return) into webapp component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126744 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:57:44 +00:00
Marco Risaliti a57455cac4 Removed some javadoc warning (wrong param/return) into testtools component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126734 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:44:02 +00:00
Marco Risaliti b11b9cc02d Removed some javadoc warning (wrong param/return) into service component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126729 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:38:36 +00:00
Marco Risaliti c44b4beb0f Removed some javadoc warning (wrong param/return) into entity component no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126715 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:23:32 +00:00
Marco Risaliti a153d0a34f Removed some javadoc warning (wrong param/return) into framework components no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126708 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:11:12 +00:00
Marco Risaliti 2d629008ec Replace tab by 4 spaces introduced by me on the previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126636 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 18:27:08 +00:00
Hans Bakker 2227bee7bb update of rev1126364 after a comment from scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126412 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 09:51:44 +00:00
Jacques Le Roux a26929f6b8 Correct indentation for r1126379
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126399 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 09:10:57 +00:00
Jacques Le Roux 7e900f23b3 A patch from Philippe Mouawad "UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException" https://issues.apache.org/jira/browse/OFBIZ-4290
UtilCache#getPropertyParam should call res.containsKey instead of relying on catching MissingResourceException, which will reduce number of Exceptions created so CPU.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126379 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 08:33:42 +00:00
Hans Bakker 60d3edace0 add general.properties setting for default rounding and precision in convertUom service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126364 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 07:54:32 +00:00
Marco Risaliti 65d922b529 Change a wrong class name in the base test suite to be executed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125971 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 14:17:08 +00:00
Marco Risaliti 0291aa60d8 Change a wrong package name in the test suite to be executed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125970 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 14:11:55 +00:00
Marco Risaliti 77cc4d7ac7 Remove some unused variable into JsLanguageFileMappingCreator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125961 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:29:48 +00:00
Marco Risaliti dc95bc30f6 Remove some unused import into ContextFilter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125958 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:25:31 +00:00
Marco Risaliti 98a3be4d6c Remove some warning of compilation into SeleniumHtml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125954 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:21:53 +00:00
Marco Risaliti cce5004d88 add a @SuppressWarnings("unchecked") due to Freemarker api
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125953 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:17:38 +00:00
Marco Risaliti c4c446369c Webpos2 improved version (OFBIZ-4287)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:11:17 +00:00
Sascha Rodekamp 4a6091c1a0 Update - myportal d'n'd it is now possible to select text on a portlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124747 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 13:26:12 +00:00
Sascha Rodekamp 23d8737b1d Update to jQuery UI Version 1.8.13
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124697 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:59:43 +00:00
Sascha Rodekamp 27e16a61c9 Update - jQuery update to version 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124336 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:54:55 +00:00
Hans Bakker 4a1e4429eb add a lookup locale function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124153 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 09:53:07 +00:00
Jacques Le Roux 0bc35e7275 A patch from Martin Kreidenweis "NullPointerException in GenericDelegator during testMode rollback" https://issues.apache.org/jira/browse/OFBIZ-4284
Test mode rollback doesn't work right in GenericDelegator for calls to removeByPrimary() key and removeByValue() when the row to be deleted didn't exist in the first place. It creates a TestOperation with a null value and subsequently fails to create that during rollback.

First, the TestOperation shouldn't be created at all. Second, if null is passed to GenericDelegator.create() it tries to handle this, but fails with a NullPointerException.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104423 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 17:25:52 +00:00
Jacques Le Roux 87f0cfbb36 I got caught by this typo on a production cluster:
XmlFileLoader: File file:.....framework/entity/config/entityengine.xml process fatal error. Line: 686. Error message: Invalid byte 2 of 2-byte UTF-8 sequence.

After having manually put back the line modified by an automatically applied patch, I got this  mis-representation. Not sure why, and anyway had no chances to think about it (certainly due to a difference on how UTF-8 was represented on these servers and on my machine - XP with Putty and SSH)

So I remove this weirdness to prevent future possible nervous crises ;o)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104173 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 11:54:11 +00:00
Erwan de Ferrieres 07a566932d Upgrading derby to 10.8.1.2 - changelog is here http://db.apache.org/derby/releases/release-10.8.1.2.cgi
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103767 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 15:27:39 +00:00
Sascha Rodekamp 8fbb3b2ecc parse javascript link wrongly in lookup layer dialog if there's slash '/' in data (https://issues.apache.org/jira/browse/OFBIZ-4281)
e.g. in lookup dialog (in layer mode), one href value of a link is "javascript:set_value('123/ABC');", then the ofbiz framework will parse it to "javascript:lookupAjaxRequest('ABC'');&presentation=layer')". It's wrong. Correct one should be given href itself.

to fix:
judge whether the link contains "javascript:set_" before split it by slash '/'.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103714 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 12:23:14 +00:00
Jacques Le Roux da9f389cb5 A small change to more easily see current pending jobs and possibly cancel some others while canceling one manually
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103667 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:03:39 +00:00
Hans Bakker 6e4d8af85a part revert of 1102615. although valid syntax it does not work without it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103597 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 02:35:02 +00:00
Sascha Rodekamp 6e8d61e42f after session timeout, ajax popup dialogbox shows ofbiz login screen (https://issues.apache.org/jira/browse/OFBIZ-4256).
If the session is timed out the request handler checks weather it is an ajax request or not (The information comes from the request header if the X-Requested-With contains XMLHttpRequest we haven an ajax request.).
If it is an ajax request it don't return the normal "checkLogin" request, i return a a special ajaxCheckLogin request. This request can point to an site which shows the "Please Login Hint".

Orig Msg:
Take the following page (for example) https://localhost/content/control/findContent

field "Data Resource Id" has an icon beside it that creates an ajax dialog pop up. If the session has already timed out. The dialog box would show the login screen.

I suspect that all pages containing this functionality would exhibit the same symptom.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102615 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:52:15 +00:00
Sascha Rodekamp 797e4caad6 localization for jQuery validate plugin is not working (https://issues.apache.org/jira/browse/OFBIZ-4275). This patch enabels the i18n file loading for the validation plugin.
Orig Msg.
the validate plugin is not using the localized files.
Everything needed seems to be there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102597 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:06:05 +00:00
Jacques Le Roux c35abeb2cd Adds ant-contrib-1.0b3.jar
Replaces the <if> task (used javascript in a file with .py suffix :/ ). I kept it commented out for now, in case someone is using it (not used OOTB)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 19:18:27 +00:00
Jacques Le Roux 5c8fbb779d Fix the comment of the not-null attribute (field element)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100729 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 13:01:30 +00:00
Jacques Le Roux f72c067344 Closes <<Caching is used by org.ofbiz.webapp.control.ProtectViewWorker(line 68) for UserLoginAndProtectedView (since changeset r1075350), but the view has set never-cache="true">> reported by Jonas Hoef at https://issues.apache.org/jira/browse/OFBIZ-4243
I wondered if I should not remove the event from the common-controller since I guess this is rarely used. But, as the functionality is available OOTB, I preferred to keep it as is. So I simply remove the never-cache from  UserLoginAndProtectedView view-entity. Since it will almost always be empty, no memory issues and better performance are expected. If I remember well, at the moment I committed this, I checked: the performance impact was already not noticeable (most of the time only one check in the event).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100197 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 13:07:18 +00:00
Jacques Le Roux 2653806a87 Fixes some other forgotten formatting issues in previous commit (r1100130). And Mostly removes an useless duplicated snippet
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268

Patch that creates the Map only when it is required>>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100138 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:53:52 +00:00
Jacques Le Roux cc7ee5ea71 Fixes some forgotten formatting issues in previous commit (r1100127). Due to tabs in patch.
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268

Patch that creates the Map only when it is required>>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100130 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:23:43 +00:00
Jacques Le Roux 9516b43bc7 A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268
Patch that creates the Map only when it is required

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100127 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:17:17 +00:00
Jacques Le Roux f90dcae786 Add an explicit comment about use-indices-unique="false" which is needed because of Derby bug with null values in a unique index
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099727 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 09:09:39 +00:00
Jacques Le Roux a1389bd8cf Fixes a data type issue introduced recently (works in R10.04 and R9.04). I did not take the time to analysis the problem further, but I expect the same issue may appear with the same condition: ie a DB field type NUMERIC and an entity.field of type Integer used in a service, switching to Long lazily solves the issue.
Actually in R10.04 the problem is reported as a warning but the service is not rolled back. Not sure if it's a desired change (then how to use Integer as field type in an entity also used by a service?)

GenericEntity.java:426:WARN ]
---- exception report ----------------------------------------------------------
=-=-=-=-=-=-=-=-= Database type warning GenericEntity.set =-=-=-=-=-=-=-=-= In entity field [ProtectedView.maxHits] set the value passed in [java.lang.Integer] is not compatible with the Java type of the fiel
d [Long]
Exception: java.lang.Exception
Message: Location of database type warning
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:426)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:372)
org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:906)
org.ofbiz.entity.GenericEntity.setNonPKFields(GenericEntity.java:862)
org.ofbiz.service.engine.EntityAutoEngine.runSync(EntityAutoEngine.java:235)
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:832)
_$gen.file_58$.D_58$.workspace.ofbizDev.framework.common.servicedef.services_95$security_46$xml_35$addProtectedViewToSecurityGroup.runSync(file:/D:/workspace/ofbizDev/framework/common/servicedef/services_secu
rity.xml#addProtectedViewToSecurityGroup:95)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099388 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 10:00:57 +00:00
Hans Bakker e174cd5cb2 collapse portlet was not remembered
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099345 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 07:13:21 +00:00
Jacques Le Roux f85384c1fe Related to r1099244 "Default delay for ajaxAutoCompleter". I forgot some pieces of the puzzle. When I manually quickly tested it worked but of course I did not test all cases. This should be OK now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099270 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 21:32:03 +00:00
Jacques Le Roux a26341cf1b Default delay for ajaxAutoCompleter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099244 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 21:03:11 +00:00
Jacques Le Roux 545e828855 This is actually default values, better to keep them commented out as Chris Snow noticed some time ago in dev ml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 21:20:37 +00:00
Sascha Rodekamp 8283436080 Update - Enable the portal D'n'D only on the portlet Headers as discussed in the ML.
OrigMsg.: from Pierre
I'm trying "my portal" page at "https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt" and i find a strange behaviour... When you try to copy a label or something on a widget you can't do it because it start dragging the form...

May be I forget something but I do not understand why you can drag forms in the final view. Should it be possible only in admin view ? 
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098671 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 17:25:51 +00:00
Sascha Rodekamp 5081061679 Update - Added a new datejs language i18n file for danish date/time conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098578 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 14:03:56 +00:00
Bruno Busco 92f3bd0b8b Reverted the page title removal I did on rev 1098406 as suggested by Adrian.
Used the proper "page-title" class style.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098481 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 05:22:05 +00:00
Bruno Busco 16b7b4ce3e Better Italian label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098407 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 20:39:38 +00:00