Commit Graph
21692 Commits
Author SHA1 Message Date
Nicolas Malin 015f3bb895 revert bad replace did at r1681125
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681235 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 21:05:44 +00:00
Nicolas Malin 32b95bc9ab No functionnal change, correct debug log origin. Replace null string by module to display the class and log file and found where the log came from
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681125 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 14:18:39 +00:00
Jacques Le Roux 6c637a7b7d Implements "The lookup and text-area have a read-only attribute but not the text input field" at https://issues.apache.org/jira/browse/OFBIZ-6395
Adds a read-only attribute to the text input field. Using the display type is not enough, because it's uneasy to assign values through Javascript as using the lookup description-field-name shows OOTB. And the disabled option is not good when you want to still show the submitted values on return.

Also 
* improves widget-form.xsd documentation about read-only attribute for lookup
* completes the foFormMacroLibrary.ftl where placeholder tabindex  were missing (if this even ever makes sense)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680921 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 16:29:49 +00:00
Jacques Le Roux 55f5564611 A better patch from Adrian for "Field Lookup do not show description when widget-verbose is set to false" https://issues.apache.org/jira/browse/OFBIZ-6396
When widget verbose is set to false and using field lookup, the description of the selected object is not displayed (not using auto completion but the popup).
To reproduce : Set widget.verbose=false in framework/widget/config/widget.properties  
Clear OFBiz cache then go to : https://localhost:8443/partymgr/control/EditPartyRelationships?partyId=Company
In the partyRelationship creation form, in party Id From field, click on lookup, search, select AUTHOR_MADMAX, and so no description displayed. Using autocompletion it's fine.

jleroux: This reverts the previous patch from Gil. It did not occur to me that all the rest of the result was only commented out HTML code, so a simple trim was enough. Happy to get rid of this ugly kludge



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680881 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 14:18:16 +00:00
Jacques Le Roux 4e2ddf8f0a A patch from Gil Portenseigne for "Field Lookup do not show description when widget-verbose is set to false" https://issues.apache.org/jira/browse/OFBIZ-6396
When widget verbose is set to false and using field lookup, the description of the selected object is not displayed (not using auto completion but the popup).
To reproduce : Set widget.verbose=false in framework/widget/config/widget.properties  
Clear OFBiz cache then go to : https://localhost:8443/partymgr/control/EditPartyRelationships?partyId=Company
In the partyRelationship creation form, in party Id From field, click on lookup, search, select AUTHOR_MADMAX, and so no description displayed. Using autocompletion it's fine.

This patch use a trick to no care about widgetVerbose comments. Sad to use this kind of trick, but if not, spaces might not be trimed. With that, the display is perfect. No side effect detected. 

jleroux: I still regret Hans past attitude about widgetVerbose which initially forced me to this hack 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680873 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:45:02 +00:00
Jacques Le Roux 8d3e2f88cb A patch from Youssef Khaye updated by Wei Zhang for "Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form." https://issues.apache.org/jira/browse/OFBIZ-4481
Or on a form of type list or multi, it is not possible to completely ignore a field via use-when attribute. Instead it hides the title and the column header became shifted from the table content.
For example I want to hide the description column from my form when exampleName is choosen as sort-field.

This also modifies
    example/widget/example/ExampleForms.xml#ListExamples
to illustrate this functionality


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680865 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:09:01 +00:00
Deepak Dixit 089321c65a Applied patch from jira issue OFBIZ-6397 : Survey : FTL error message when using Enumeration or Geo question type
Thanks Gil Portenseigne for reporting the issue and providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680840 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 12:10:57 +00:00
Jacopo Cappellato 74e6dec22f OFBIZ-6380 Upgraded Log4j from 2.2 to 2.3.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680733 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 05:40:27 +00:00
Michael Brohl 15773b1b32 Applied slightly modified patch from jira issue OFBIZ-6238: Give the order notification email attachment the orderId as filename.
Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680675 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 21:03:58 +00:00
Michael Brohl e6189649b0 Manually applied the changes of the patch from jira issue OFBIZ-4480: Need to have an option to pass file name as OrderId for the generated confirmation or invoice PDF.
Thanks Ganesh Bawne for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680671 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 20:39:26 +00:00
Adrian Crum 75aefbb887 Remove DCL pattern from MenuFactory.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680329 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 16:05:13 +00:00
Adrian Crum 60cf53e27e Added visual theme seed data that was missed in rev 1648013.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680319 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 15:37:36 +00:00
Christian Carlow 87f5bab610 Fixing form widget availabilityStatusId field drop-down entity-option entity-constraint value = "WEFA_AVAILABILITY" and also adding the corrected field to AddProductionRunTaskFixedAssets form at applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
https://issues.apache.org/jira/browse/OFBIZ-6368?filter=-2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680313 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 15:22:14 +00:00
Michael Brohl 8a7ba74636 Applied slightly modified patch from jira issue OFBIZ-6373: CategoryWorker.getRelatedCategoriesRet ignores recursive-flag.
Thanks Sebastian Leitner for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680304 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 14:28:29 +00:00
Christian Carlow b497eb007b <entity-constraint name="parentTypeId" operator="equals" value="DEGREE"/> was removed from qualification field dropdown entity-options at applications/humanres/widget/forms/RecruitmentForms.xml#EditJobRequisition to allow other types such as EXPERIENCE to be assigned as a job requisition qualification type.
https://issues.apache.org/jira/browse/OFBIZ-6393?filter=-2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680300 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 14:20:19 +00:00
Christian Carlow e7673a2465 As suggested by Pierre Smits, EmplPositionType CIO, CMO, CCO, CSO and ResponsibilityType INFO_MGMT, MKTG_MGMT, COMPLI_MGMT, SECUR_MGMT were added to applications/humanres/data/HumanREsTypeData.xml.
https://issues.apache.org/jira/browse/OFBIZ-6389?filter=-2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680290 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 13:47:20 +00:00
Michael Brohl 5e891a5c22 Applied patch from jira issue OFBIZ-6258: Trivial perfomance improvement for creating OrderItemAttributes during store/update Order.
Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680288 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 13:41:03 +00:00
Jacques Le Roux 550ecd203c A patch from Pierre Smits for "Licence header is missing in Seo*.xml files" https://issues.apache.org/jira/browse/OFBIZ-6388
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680283 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 13:16:51 +00:00
Christian Carlow ea9e0e88f5 This patch adds EmplPositionType CEO and CFO and ReponsibilityType GENERAL_MGMT for CEO to applications/humanres/data/HumanResTypeData.xml.
https://issues.apache.org/jira/browse/OFBIZ-6389?filter=-2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680281 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 13:14:34 +00:00
Deepak Dixit 0cb6d60dc8 Added locale and timeZone as a service in parameter for groovy dsl. Now locale and timeZone not passed as service in parameter then groovy dsl will get it from context and passed as service in parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680274 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 12:43:54 +00:00
Michael Brohl 2f107d8155 Applied patch from jira issue OFBIZ-5610: Date formats displayed in the title of the input field are not correctly showing the default format for UK but the actual date itself is correct.
I had to slightly modify the patch from "en_GB" to "en-GB" entries. Thanks Gareth Carter for reporting the issue and providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680219 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 09:49:37 +00:00
Jacques Le Roux 8e8dc43528 Fixes in another way "Make background-color in setSourceColor function in fieldlookup.js theme dependent" https://issues.apache.org/jira/browse/OFBIZ-6371
I preferred the idea of using the jQuery UI effect function as explained in the Jira. It's then no longer color dependent since jQuery has #ffff99 as default color and this might be overridden easily in themes...
https://api.jqueryui.com/highlight-effect/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680201 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 08:30:47 +00:00
Christian Carlow 0fa16d6e3c JIRA OFBIZ-6387.patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680155 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 03:15:43 +00:00
Adrian Crum 240ba74d82 Replace ClassCastException with type check - https://issues.apache.org/jira/browse/OFBIZ-6291.
Ignoring a thrown ClassCastException is a common pattern in the project (one I have used myself), but it should be avoided in the future because it makes debugging difficult, plus it creates objects unnecessarily.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680058 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 17:18:54 +00:00
Jacques Le Roux d4818dfd66 A patch from Pierre Smits "util.js is missing licence header" https://issues.apache.org/jira/browse/OFBIZ-6384
jleroux: This is related to OFBIZ-5409. I noted then "The util.js script is introduced for that, though normally should not be needed... "



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679982 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 10:58:10 +00:00
Jacques Le Roux 91cb9346b8 Fixes "Form ListRequestItemNotes is not referenced in Screens" https://issues.apache.org/jira/browse/OFBIZ-5971 as reported by Pierre Smits
Removes the useless ListRequestItemNotes form from the project mngr component (confirmed by Hans who committed it)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679957 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 08:23:13 +00:00
Deepak Dixit 493bdffa18 OFBIZ-5974: Fixed entity-one tag error for ListProdBacklogNote and ListTaskNote forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679746 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 14:35:12 +00:00
Deepak Dixit dc402b9ef8 OFBIZ-5974: Reverting incomplete commit r#1679743
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679744 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:52:43 +00:00
Deepak Dixit aa94d7eb2c OFBIZ-5974: Added missing value field for entity-one tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:50:16 +00:00
Deepak Dixit 2934a6057d Applied patch from jira issue OFBIZ-5916 : Cutting List Report from Manufacturing Shipment Plans throws error due to due to missing EntityCondition import.
Thanks Christian Carlow for reporting issue and providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679740 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:35:56 +00:00
Deepak Dixit 7ce359f94a Applied patch from jira issue OFBIZ-6216 : ProductStoreData.xml contains UPS NEXT_DAY not present in ShippingData.xml
Thanks Christian Carlow, Rishi Solanki and Divesh for your valuable thought and providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679732 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 11:35:19 +00:00
Deepak Dixit cf0737aa50 Applied patch from jira issue OFBIZ-6329 : Malfunction of configurable FTL-Template caching in DataResourceWorker.renderDataResourceAsText
Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679728 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 11:12:29 +00:00
Jacques Le Roux 688da5d2d2 "Updates Log4j 2.2 to 2.3" https://issues.apache.org/jira/browse/OFBIZ-6380
Reverts r1679702

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679723 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 10:52:41 +00:00
Deepak Dixit 67a7950e11 Applied patch from jira issue OFBIZ-6262 -CategoryContentWrapper ignores session locale
Thanks Josip Almasi for issue reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679720 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 10:35:02 +00:00
Deepak Dixit 07a7c64d3d Fixed fieldsToSelect type from list to set as find method accept fieldsToSelect as set.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679719 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 10:33:40 +00:00
Deepak Dixit 6f0fb2502a Applied patch from jira issue OFBIZ-6382 -Create PO flow is broken
Thanks Nitesh Goyal for issue reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679715 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 09:24:27 +00:00
Deepak Dixit 6ce8d7d74d OFBIZ-6351 - Upload function does not work on Party Manager.
Upgrade commons-compress jar from 1.4.1 to 1.9

Thanks Supachai Chaima-ngua and Pierre Smits for reporting the issue, and thanks Supachai Chaima-ngua for providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679709 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 09:01:01 +00:00
Jacques Le Roux 4bf39d2316 "Updates Log4j 2.2 to 2.3" https://issues.apache.org/jira/browse/OFBIZ-6380
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679702 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 08:27:54 +00:00
Jacques Le Roux 8901e90da5 A patch from Pierre Smits "Replacing bsh code with groovy Code in ORDER screens, forms and menus" https://issues.apache.org/jira/browse/OFBIZ-6340
jleroux: The quote part has been already handled at OFBIZ-6351



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679697 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 08:00:32 +00:00
Deepak Dixit c5685bd1d3 Applied patch from jira issue OFBIZ-6351 -
ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}

Also fixed similar bsh issue for ListQuoteAdjustments form as well.

Thanks Christian Carlow for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679689 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 06:11:13 +00:00
Jacques Le Roux 456fd96bb5 No functional changes,fixes a typo and remove trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679394 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 15:49:57 +00:00
Deepak Dixit b8ba0c6375 Removed unused imports, No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679345 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 11:37:42 +00:00
Deepak Dixit 2412a3c72d Fixed class cast exception for "Render Star Schema Report" page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679344 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 11:36:20 +00:00
Jacques Le Roux bf07a94e42 Removes a now useless commentted out block
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679322 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 08:15:05 +00:00
Jacques Le Roux 8b7cda5012 Small change for "Improves dialog boxes generated by ajax-window link parameter" https://issues.apache.org/jira/browse/OFBIZ-6359
Adds closeOnEscape

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679172 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 10:09:27 +00:00
Deepak Dixit 169dedf9a2 Used UtilHttp.getLocale() to get the locale instead request.getLocale()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678911 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 11:02:42 +00:00
Jacques Le Roux 98d5c597af Fixes "Some fields are missing in the person simple-map-processor" https://issues.apache.org/jira/browse/OFBIZ-6357
After some additions on the Person entity definition the person simple-map-processor has not been updated. I stumbled upon it while missing occupation. I though noticed some has been introduced in the validateCustomerInfo in ecommerce. This completes the person simple-map-processor, no fields are missing.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678882 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 07:45:08 +00:00
Jacques Le Roux 943e010b81 No functional changes, just simpler syntax, parenthesis not needed here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678298 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:58:47 +00:00
Jacques Le Roux 1711869690 Fixes "When used setDependentDropdownValuesJs.ftl precludes focus-field-name" https://issues.apache.org/jira/browse/OFBIZ-6346 with examples in FormWidgetExampleForms.xml and for NewCustomer screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678294 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:53:39 +00:00
Jacques Le Roux bdea0c167c Temporary reverts r1678291+1678292 to have only 1 commit easier for backporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1678293 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 07:31:57 +00:00