Commit Graph
27737 Commits
Author SHA1 Message Date
Adam Heath 4e5f847aaf FIX: Stop printing out the credit card number to the log file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139693 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:03 +00:00
Adam Heath 97ec62675c FIX: Filter out hidden library files(and prevent recursing into hidden
folders).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139692 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:57 +00:00
Adam Heath b075aeec1f FIX: s/Finsished/Finished/.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139691 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:51 +00:00
Adam Heath 94afb6b15f FIX: Ignore jdbm UtilCache disk files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139690 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:45 +00:00
Adam Heath 06e010b587 FIX: Add a check for java being at least 1.6.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:41 +00:00
Adam Heath e4e81b1363 TESTS: Call the library api unit tests when the container tests are run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139688 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:37 +00:00
Adam Heath f30de08afd FIX: Add framework/sql to api unit tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139687 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:49:33 +00:00
Scott Gray 603e1504fe OFBIZ-4306 fix bug reported by Gaudin Pierre. The datejs library's Date.parse(string) method doesn't work very well, seems to just guess at what format to use. Switch to using the parseExact(date, format) method instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139521 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 11:13:33 +00:00
Scott Gray 89f4d19219 OFBIZ-4323 fix NPE bug reported by Javier Orrantia, screen xml documents rendered retrieved via the DataResourceWorker weren't using the correct UtilXml method that populates the xml documents userData.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139504 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 08:45:22 +00:00
Adam Heath 920ed26326 Fix broken 1078215, the object instance variable was removed, because
dumb smart code editors thought it was unused.  Please understand the
code you change.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 18:16:55 +00:00
Jacques Le Roux 4853449c25 A patch from Nicolas Malin <<Display dateTime field with input method time-dropdown not use context value to display hour and minutes>> https://issues.apache.org/jira/browse/OFBIZ-4319
If you define a dateTime field like that :

<field name="estimatedStartDate"><date-time input-method="time-dropdown" step="10"/></field>
and pass in context : estimatedStartDate = "2011-06-016 20:30:00"
when you edit the form, estimatedStartDate takes the good value 2011-06-016 on date, but takes nowTimestamps.hour for dropdown hour instead of 20 and nowTimestamps.minutes for dropdown minutes instead of 30

To test the patch :

    go to ofbiz example component with given date : "https://localhost:8443/example/control/FormWidgetExamples?field4=2001-01-01 02:21:000"
    the field 4 must have hour to 02 and minutes to 21

The patch also corrects multiple definition : sr.append("\" value=\"");
and removes unneeded escape at end line : if (UtilValidate.isEmpty(requiredStyle)) requiredStyle = "required";



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139385 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 17:33:25 +00:00
Erwan de Ferrieres 1c150a1edf No need to build 2 times when executing run-tests-with-cobertura, as run-tests is already calling this target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139350 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 15:10:49 +00:00
Andrew Zeneski 219d41e120 fixed issue where setPackedOnly flag was being ignored when calling quickShipEntireOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139346 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 15:02:22 +00:00
Erwan de Ferrieres 1b0f365f82 A patch from Stephane Ducas - OFBIZ-4324 - When creating a customer from the shopping cart the selected country has to be the default one
I slightly modified your patch and put the defaultCountryGeoId in CommonScreens.xml#countries so the geoId will always be filled


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139291 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 13:13:44 +00:00
Jacopo Cappellato 5de7b7a778 Patch from Pranay Pandey: oldProductId was not being set as output parameter by the service implementation while defined in service definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138877 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 13:45:13 +00:00
Jacques Le Roux 401087b49f A patch from Nicolas Malin <<Add missing french entity label on ContactMechPurposeType and ContactMechType>> https://issues.apache.org/jira/browse/OFBIZ-4322
Add missing label :
ContactMechType.description.INTERNAL_PARTYID
ContactMechPurposeType.description.MARKETING_EMAIL
ContactMechPurposeType.description.ICAL_URL
ContactMechPurposeType.description.FAX_SHIPPING
ContactMechPurposeType.description.FAX_BILLING

and homogenize and correct some other french label


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138800 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 09:49:48 +00:00
Jacques Le Roux 8a9e10952f With Adrian's last changes at r1138575 this is no longer needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138661 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 22:16:03 +00:00
Erwan de Ferrieres 6193db4479 Only the run-tests-with-cobertura target should be downloading cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138649 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 21:52:18 +00:00
Adrian Crum af5b6cfd1c Small fixup for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138575 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 18:40:50 +00:00
Jacques Le Roux 742c554817 By moving formName and fieldFormName in parameters order r1138485 broke the current OOTB code which still uses htmlTemplate.lookupField
There is still an issue: the lookup button does not show

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138569 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 18:01:52 +00:00
Adrian Crum 3fc434f86c More work on the renderLookupField Freemarker macro: Improved documentation, provide default values for optional parameters, jQuery bug fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138485 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 14:39:06 +00:00
Jacques Le Roux e94051396b Fixes a bug reported by someone on main OFBiz wiki page (will be removed from there)
=======================================================================
ajax FieldLookup bug for ofbiz 11.04
showDescription="false" is not work
you should add the code in [selectall.js] file
method "function ajaxAutoCompleter(areaCsvString, showDescription, defaultMinLength, formName){"

at header:
{code:title=selectall.js|borderStyle=solid}
////////////////////////////////////////////////////////////
 if(typeof(showDescription)=="string"){
  showDescription = showDescription== "false"? false : true;
 }
////////////////////////////////////////////////////////////
{code}

then it will be work.
=======================================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1138463 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:47:14 +00:00
Erwan de Ferrieres c2332f5f69 A patch from Pierre Gaudin - OFBIZ-4320 - can't select good phase into task edit form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137986 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 12:58:04 +00:00
Adrian Crum 7ec4134b8a Documentation for the renderLookupField Freemarker macro.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137603 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 12:00:39 +00:00
Jacques Le Roux 46a0e23b66 A patch from Rene Scheibe"ProductWorker.getSelectableProductFeaturesByTypesAndSeq() returns duplicate entries" https://issues.apache.org/jira/browse/OFBIZ-4276
Calling ProductWorker#getSelectableProductFeaturesByTypesAndSeq() returns duplicate entries.

Example:
A virtual product with 2 variants:

    variant 1 features
        COLOR: blau
        SIZE: XXL
        MATERIAL: Holz
    variant 2 features:
        COLOR: rot
        SIZE: L
        MATERIAL: Stahl

Actual output:

{
  {{productFeatureTypeId=COLOR, description=Farbbezeichnung}, {productFeatureId=COLOR_BLAU, description=blau}, {productFeatureId=COLOR_ROT, description=rot}},
  {{productFeatureTypeId=COLOR, description=Farbbezeichnung}, {productFeatureId=COLOR_BLAU, description=blau}, {productFeatureId=COLOR_ROT, description=rot}},
  {{productFeatureTypeId=COLOR, description=Farbbezeichnung}, {productFeatureId=COLOR_BLAU, description=blau}, {productFeatureId=COLOR_ROT, description=rot}},
  {{productFeatureTypeId=SIZE, description=Größe}, {productFeatureId=SIZE_XXL, description=XXL}, {productFeatureId=SIZE_L, description=L}},
  {{productFeatureTypeId=SIZE, description=Größe}, {productFeatureId=SIZE_XXL, description=XXL}, {productFeatureId=SIZE_L, description=L}}
  {{productFeatureTypeId=SIZE, description=Größe}, {productFeatureId=SIZE_XXL, description=XXL}, {productFeatureId=SIZE_L, description=L}},
  {{productFeatureTypeId=MATERIAL, description=Material}, {productFeatureId=MATERIAL_HOLZ, description=Holz}, {productFeatureId=MATERIAL_STAHL, description=Stahl}},
  {{productFeatureTypeId=MATERIAL, description=Material}, {productFeatureId=MATERIAL_HOLZ, description=Holz}, {productFeatureId=MATERIAL_STAHL, description=Stahl}}
}

Expected output:

{
  {{productFeatureTypeId=COLOR, description=Farbbezeichnung}, {productFeatureId=COLOR_BLAU, description=blau}, {productFeatureId=COLOR_ROT, description=rot}},
  {{productFeatureTypeId=SIZE, description=Größe}, {productFeatureId=SIZE_XXL, description=XXL}, {productFeatureId=SIZE_L, description=L}},
  {{productFeatureTypeId=MATERIAL, description=Material}, {productFeatureId=MATERIAL_HOLZ, description=Holz}, {productFeatureId=MATERIAL_STAHL, description=Stahl}}
}

Patch: Moved a statement out of a for loop to the correct place.

JLR: tested with WebPos

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137435 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 21:07:27 +00:00
Jacques Le Roux dd7e1be1c1 A patch from Leon <<"setUserPreference" goes to main page instead last view if current form includes any lookup field>> https://issues.apache.org/jira/browse/OFBIZ-4313
When I open a form which include lookup field and then click the expand/collapse button around the upper right corner in the the header, the page will go to "main" after user preference is settled.

The cause is the requests initiated by lookup field does not remember the last view name. It simply use "main" instead.

Patch to make lookup requests remember the LAST_VIEW_NAME correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137433 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 20:59:35 +00:00
Scott Gray 0a3eee807a Remove position attributes from FindForumMessages form, gets the layout back to normal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 09:03:53 +00:00
Jacques Le Roux 7a9e80e6ef A patch from Leon "Trivial patch to ModelViewEntity class to make view entity able to handle entity condition between field from one entity and another" https://issues.apache.org/jira/browse/OFBIZ-4321
In view entity definition, we can use <condition-expr> to create a filter condition between field and some value using specific operator. It should be also possible to make condition between field and rel-field through some kind operator. Such as:

<view-entity entity-name="xxx" package-name="xxx">
        ...
        <entity-condition>
            <condition-expr entity-alias="A" field-name="a" operator="equals" rel-entity-alias="B" rel-field-name="b"  />
        </entity-condition>
    </view-entity>

But there's a trivial defect in current ModelViewEntity which prevent this case working.

} else if ( value == null && (operator.equals(EntityOperator.EQUALS) || operator.equals(EntityOperator.NOT_EQUAL))) {
                return EntityCondition.makeCondition(lhs, UtilGenerics.<EntityComparisonOperator<?,?>>cast(operator), null);
            } else {

In the above code extracted from ModelViewEntity, it does not consider the condition that the relField could be defined when value==null.

JLR:I checked that || should not be used in <<value == null && this.relFieldName>>, it was not obvious to me but is correct

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1137201 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 15:17:22 +00:00
Erwan de Ferrieres 8a175631cb Making PageTitleTaskAssignedToMe more generic in French
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136856 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 12:12:03 +00:00
Erwan de Ferrieres 32b5ffb11f Better French translation for CommonPortalPagesForApplication
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136854 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 12:10:14 +00:00
Erwan de Ferrieres a7735325b0 Accurate descriptions for getWorkEffortAssignedTasks getWorkEffortAssignedActivities getWorkEffortAssignedActivitiesByRole getWorkEffortAssignedActivitiesByGroup services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136835 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 10:14:47 +00:00
Erwan de Ferrieres e1c4ec0c5d when sorting on more than 1 criteria, only the last one was used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136833 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 10:06:50 +00:00
Erwan de Ferrieres 15c1cc682c Wrong attribute was used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136831 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 10:01:52 +00:00
Hans Bakker 5313d1e7fb add social media purpose definitions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136796 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 07:55:13 +00:00
Hans Bakker c4a8b2ee44 add social media addresses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136788 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 06:54:05 +00:00
Erwan de Ferrieres 591ff804ad Internationalization for help tree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136786 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 06:23:16 +00:00
Jacques Le Roux 05b1d638dd If ever you changed the stats.persist.visit property to false in serverstats.properties, these debug messages were uselessly cluttering the logs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136068 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 14:28:00 +00:00
Jacopo Cappellato 54a79c8ed0 OFBIZ-2330 Converted "Delete Bin" link into an hidden form to avoid security error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136047 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:56:48 +00:00
Hans Bakker 3e8b26ebf8 add the function to be able to upload images and video/url to a productCategory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135934 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 06:48:10 +00:00
Sascha Rodekamp 207e6630f2 wrong link href of leaf node in a tree element (https://issues.apache.org/jira/browse/OFBIZ-4315).
A slightly modified patch from Leon which corrects the href tag of empty leaf nodes.

OrigMsg:
like department and employee tree in main page of human resource management application, if you click the expand/collpase link of a leaf node, the wrong request error occurs. Since there's a empty link href value set for leaf node, browser will treat it as the request "https://.../humanres/control".


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135929 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 06:21:19 +00:00
Andrew Zeneski 2fe7eaeeb1 fixed bug that prevented removing items from a shopping list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135686 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:35:31 +00:00
Hans Bakker 8695ebb0bf show category name instead of description in the header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135413 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:51:11 +00:00
Hans Bakker a93a38327b updating the rollup list resulted in a blank screen because productCategoryId was gone
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135409 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:47:21 +00:00
Andrew Zeneski bd91f0fcb2 fixed bug that prevented items from a shopping list from being displayed when rendering the shopping list screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1135199 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 17:48:52 +00:00
Scott Gray 5c1289599a [OFBIZ-4297] Changed set operation to explicitly return a BigDecimal also changed the updateProductAverageCostOnReceiveInventory service definition so that quantityAccepted is a BigDecimal instead of String. For some reason EL expressions return a String even when performing an operation on numbers. Thanks to Stéphane Ducas for the bug report and suggested fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1134990 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 21:44:03 +00:00
Scott Gray b0df537a05 Add content/index to gitignore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1134656 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 14:28:09 +00:00
Scott Gray 9ad6374096 [OFBIZ-4312] Fix bug reported by Sam Hamilton, Order View -> Send Confirmation Email screen's lower Go Back button wasn't returning the user to the proper order view.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1134649 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 14:14:16 +00:00
Erwan de Ferrieres 23fb893fec Simplifying French menu for skills in projectmgr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1134255 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 09:48:18 +00:00
Hans Bakker 203ce2d8ac move the headeritem setting into the decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1134217 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 07:39:35 +00:00
Erwan de Ferrieres 2dabc89a73 Label on submit button when editing a task is now changing if the task is new or edited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1133924 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:19:57 +00:00