Commit Graph
27737 Commits
Author SHA1 Message Date
Erwan de Ferrieres 7352416fdc Wrong commit @ r1100797, misplaced instruction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1124409 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 20:33:49 +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
Hans Bakker 47ab1f5302 wrong lookup in content find screen and added field to the list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104682 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 04:00:40 +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
Hans Bakker baea7adaec revert 1104089: wrong understanding of the ownerContentId field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104216 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 12:59:51 +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
Hans Bakker 45d6f5217a wrong lookup function called should be party instead of content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104089 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 09:46:59 +00:00
Jacques Le Roux d09ca7596f Reverts r1103792: wrong repo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103797 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 17:07:31 +00:00
Jacques Le Roux f50e83fc36 Refs #517
Sets parameters to work on staging, to be tested...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103792 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 17:01:31 +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
Erwan de Ferrieres 70952d1cdd Better label for French WorkEffortPurposeType.description.ROU_SUBCONTRACTING
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103661 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 09:31:56 +00:00
Hans Bakker 8cb8dfbe90 downloadable content did not set name and mime type by upload
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1103651 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 08:46:29 +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
Hans Bakker 77226d187c add search screens using the new content search following the wokreffort pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102643 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:55:48 +00:00
Hans Bakker e648a9825e enlarge analyticsCode field and remove content field from webanalytics entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102617 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:04:09 +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
Hans Bakker 1aa91dcddd error in previous commit: include web analitics code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102602 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:27:14 +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
Hans Bakker ca676e1bf5 update demo data because of file changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102596 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:03:10 +00:00
Hans Bakker f35f88a2aa demo how to use the analyticscode in ecommerce, no need for contentid
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102577 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 06:38:31 +00:00
Hans Bakker 7a42a2892c add a keyword search function to the content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102554 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 03:20:58 +00:00
Adrian Crum 096846555d Improved Role Types for requests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102494 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 22:42:35 +00:00
Hans Bakker 42262ae630 commenting out the supplierCommissionPerc field on product supplier. Field not used in processing and can only confuse people because we now have the commission run in accounting which can take care of this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1101740 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 04:14:47 +00:00
Scott Gray 3a5c871e18 [OFBIZ-4273] Change FastSet back to HashSet since a FastSet throws an NPE when attempting to add null to the collection. Fixes bug reported by Sam Hamilton, attempting to use the quickCreateVirtualWithVariants service returns an error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1101373 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 09:23:07 +00:00
Jacques Le Roux a2f73b3fd8 I forgot about <if> part ofbiz-jjtree macro (not used OOTB) in r1100903. I checked there are no other cases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100969 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:49:28 +00:00
Jacques Le Roux 90842ddfb9 In r1100795 I missed some old <if> OOTB use cases.
Replaces old <if> syntax by ant-contrib's

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100903 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 07:19:32 +00:00
Ashish Vijaywargiya 253d26f8c2 Bug fix. Inside Authorize.net user interface any transaction that are specific to Refund are not showing Order & Customer specific information. So its difficult to understand the association of that refund specific transaction to the order(& its customer).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100880 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 04:15:50 +00:00
Erwan de Ferrieres 4b6cd239bd Misc corrections for French uiLabels PageTitleListWorkEffortFixedAssetAssigns and PageTitleListWorkEffortKeyword
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100801 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 19:55:30 +00:00
Erwan de Ferrieres 08ee616ac1 Missing portalPageId parameter when displaying the calendar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100797 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 19:41:56 +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 59d8e30962 When I wrote the new price rules screen I forgot about the dynamic aspect in the condition edit section, I found it by chance today.
This fixes it: you can now swap the INPUT type from a list type (drop-down for the value) to a input value type (like quantity or list price) or vice versa. The last input value is kept in the background, we could resetting the value to null, but I think it makes sense because with the value still in the background it's easy to get back to the original value if you change your mind (or in case of error).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100589 13f79535-47bb-0310-9956-ffa450edef68
2011-05-07 18:43:46 +00:00
Erwan de Ferrieres 2a0e31460d Configuring the sonar task so it can be used on the ASF servers. Adding also a full sonar task launching all the ant task. See https://issues.apache.org/jira/browse/INFRA-3590 if you want more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100240 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:49:59 +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 d20b339197 A patch from Andreas König "EditCategory.ftl is missing a "screenlet-body"-part showing the summery of an image-upload." https://issues.apache.org/jira/browse/OFBIZ-4244
After uploading a product-category-image, you receive the result of the upload-process in a screenlet.
Up to now, the screenlet has a div of the class "screenlet-title-bar", but no "screenlet-body".
To be consitent and to ensure a clear rendering, we should have the result-message in a div of the class "screenlet-body"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100141 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 09:18:50 +00:00
Jacques Le Roux 790a3f6ee8 A patch from Willem Janssen "Balancesheet dynamic labels & dutch translation accounting labels" https://issues.apache.org/jira/browse/OFBIZ-4248
Currently the labels that indicate the totals on the balancesheet are hardcoded in the balancesheet.groovy file. This patch makes them dynamic, re-using existing labels in accountinguilabels.xml and adding 2 new ones. A side effect is that these labels are not capitalized anymore in the balancesheet screen...

Also other dutch translations are included in this patch in the accounting ui and entity labels files.

JLR: as requested by Willem  I have replaced
+import org.ofbiz.base.util.*
by
+import org.ofbiz.base.util.UtilProperties;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100140 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 09:09:10 +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
Ashish Vijaywargiya b4c7911b0d Applied(bug fix) patch from jira issue - OFBIZ-4271. Tomahawk theme issue: If tab-bar has limited menu items then screenlet section get destructed. Thanks Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100073 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 05:58:42 +00:00
Jacques Le Roux db8ac53905 Fixes some labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1099751 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 10:52:09 +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
Ashish Vijaywargiya 94b00790ff Most of the new developers start exploring project with README file. Adding reference of Beginner guide in README file so it will be easy for a developer to start development with OFBiz project once they are done with project setup on development machine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098997 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 10:34:01 +00:00