Commit Graph
51 Commits
Author SHA1 Message Date
Jacques Le Roux 29fe76d1ff "Applied fix from trunk for revision: 1858523"
------------------------------------------------------------------------
r1858523 | lektran | 2019-05-02 10:59:11 +0200 (jeu. 02 mai 2019) | 1 ligne

Fixed: Ensure the story field in ordermgr's EditCustRequest form is html encoded (OFBIZ-11006)

Fixes CVE-2019-10074
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release18.12@1858531 13f79535-47bb-0310-9956-ffa450edef68
2019-05-02 11:53:13 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Divesh Dutta 556279917d Improved:Display from date with default to now timestamp and also add asterisk sign to all the forms where it is part of primary key in all the components.
(OFBIZ-7650) (OFBIZ-7651) (OFBIZ-7653) (OFBIZ-7660) (OFBIZ-7662) (OFBIZ-7665) (OFBIZ-7666) (OFBIZ-8028)(OFBIZ-8029) (OFBIZ-8255)

Thanks: Anuj Jain and Ratnesh for the pathes and Swapnil Shah for reporting the issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761192 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:02:39 +00:00
Michael Brohl f0a109c0dd Improved: Order: Consistent form name.
(OFBIZ-8078)

Change all form names to upper camel case for consistency. I have slightly modified the patch to remove a typo (LookupOrderHeader instead of LSookupOrderHeader) in LookupScreens.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761095 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:31:05 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Pranay Pandey c17aa1be2d [OFBIZ-7384] Removed not needed Status ID field from Request Roles section on Request Overview as there is no status associated with it in CustRequestParty which is to be shown. Looks like a copy paste error while creating the view.
Thanks Chandan Khandelwal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749020 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 13:39:46 +00:00
Jacques Le Roux 9ea03cde10 Completes r1709882 for <<Remove tooltip="${uiLabelMap.CommonRequired}" from fields>> https://issues.apache.org/jira/browse/OFBIZ-6691
Replaces all }*" by requiredField but for forms using auto-fields-entity or auto-fields-service for which I created the subtask "Enhance auto-fields-entity and auto-fields-service to generate required fields on PK ones" https://issues.apache.org/jira/browse/OFBIZ-6695

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710086 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 19:47:33 +00:00
Taher A. Alkhateeb 5b49aaf3e8 convert Parent Customer Request Id field from text to lookup field REF OFBIZ-6177
Issue raised thanks to Pierre Smits, the form has autoattributes which renders
the above mentioned field as text when it should be a lookup. This commit
fixes this issue by explicitly overriding the <auto-fields-service ...>

fixes https://issues.apache.org/jira/browse/OFBIZ-6177


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710073 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 18:23:56 +00:00
Arun Patidar 4f52380dca [OFBIZ-6171] Replacing 'Open for Business' references with 'Apache OFBiz'from remaining occurences.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706593 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:31:12 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Christian Carlow 1dd09ed536 Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
https://issues.apache.org/jira/browse/OFBIZ-6463

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Christian Carlow 1393413594 Fixing consolidated partyId field of r1683879 so that <display-entity> also-hidden="true", otherwise updateCustRequestParty throws error related to primary key
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683949 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:15:50 +00:00
Christian Carlow c943d1526b Replaced submit button uiLabelMap.CommonSubmit text with CommonCreate at order/widget/ordermgr/CustRequestForms.xml#EditRequestRole to improve user understanding that the form only allows creations
https://issues.apache.org/jira/browse/OFBIZ-6465

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683880 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:50:32 +00:00
Christian Carlow 0b92520145 Consolidated name and partyId fields of order/widget/ordermgr/CustRequestForms.xml#ListRequestRoles by removing name and turning partyId into <display-entity> and converting name <hyperlink> as its <sub-hyperlink>
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683879 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:41:07 +00:00
Christian Carlow 738a14f53f Added custRequestDate to ordermgr/control/FindRequest ListRequestList because it appears as a find field in FindRequests form.
https://issues.apache.org/jira/browse/OFBIZ-6447

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683637 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:43:48 +00:00
Christian Carlow 2b72533640 ordermgr/control/FindRequest ListRequestList productStoreId rendered as <display-entity> with storeName as the description and <sub-hyperlink> with link text as [${productStoreId}]
https://issues.apache.org/jira/browse/OFBIZ-6446 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683619 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 19:57:58 +00:00
Christian Carlow 4089f658f4 Removing unnecessary <display-entity> key-field-name and description attributes added in r1683580 suggested by Nicolas Malin on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 16:57:55 +00:00
Christian Carlow ee65d52710 Added ListRequestList <display-entity> for custRequestTypeId so the description would be displayed instead of the id value to match the find field.
https://issues.apache.org/jira/browse/OFBIZ-6445

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683580 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:54:47 +00:00
Christian Carlow 6c18f2a28a All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value searches
https://issues.apache.org/jira/browse/OFBIZ-6315



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683578 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:37:34 +00:00
Ashish Vijaywargiya 44ce4114b6 Applied patch from jira issue - OFBIZ-4668 - CommunicationEventAndRole entity: Field with name custRequestDate not found.
==============================================================================
when displaying this portal page:
https://localhost:8443/myportal/control/main?portalPageId=MYPORTAL_EMPLOYEE0&parentPortalPageId=MYPORTAL_EMPLOYEE

this message is thrown to the console:
Message: Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the CommunicationEventAndRole entity: Field with name custRequestDate not found in the CommunicationEventAndRole Entity
==============================================================================
Thanks Mridul for the contribution and thanks Erwan for creating the issue. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632801 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 14:38:46 +00:00
Jacopo Cappellato 4e25f81233 Fixed field name in edit customer request screen; thanks to james yong for the report in OFBIZ-3474
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609167 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:19:53 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Erwan de Ferrieres dadcf9db22 OFBIZ-2403 - Create a Portlet that show a list of returns placed by a customer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235528 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:15:10 +00:00
Bruno Busco 51da82a16a Used FindScreenDecorator in FindRequest screen.
Also used proper button style (create), separated RequestId and RequestName columns and enabled column sorting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032662 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 18:32:10 +00:00
Bruno Busco 2e4db4a4a7 Portlets attributes are now put directly in the context and not in the attributeMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023426 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:53:18 +00:00
Vikas Mayur 70d02b1f26 Explicitly added the hidden-form link-type instead of relying on link-type auto. The auto link-type only works with intra-app and not with inter-app target-type.
The other option would be to change the method WidgetWorker.determineAutoLinkType() to allow inter-app target-type so that the method can

determine whether to change the hyperlink to a form or an anchor to avoid secured URL issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951087 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 17:49:21 +00:00
Erwan de Ferrieres 81e7c3af7e Adding missing internationalization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950404 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 07:51:26 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 578662ae4c Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Jacques Le Roux 8f11d470b9 Some other issues with layered lookups, bypassed for now using popups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:43:34 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Erwan de Ferrieres 4013c960a8 Using right field name so the right uiLabel is displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 12:53:07 +00:00
Bilgin Ismet Ibryam 6e17f97591 Order content types in select fields by description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 14:34:49 +00:00
Hans Bakker 8142ef2fdc show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Hans Bakker 7c8b20c6ee customer request name should not be displayed encoded, when created by the service it already is set to 'safe'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830462 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 08:33:19 +00:00
Hans Bakker 105fd19f84 creating a customer request from a communication event was not working in mycommunications in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 06:48:08 +00:00
Hans Bakker d34dbebce8 all upload content screens (hopefully we did not forget any) can now also select an existing contentId which can be selected from a navigation tree. Added also the possibility when a file is uploaded to put it at a particular leave in the tree. Programmed by my employee Berm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815651 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 07:48:51 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Hans Bakker 11e06ce202 viewindex not for this service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810343 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 02:42:42 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker fd4d514dff do not allow changes to the customer request when cancelled or completed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799192 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 07:29:05 +00:00
Hans Bakker fe146772e2 take the default currency as set in the commonext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795474 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 03:54:22 +00:00
Hans Bakker 682a7e365f rename the communication files in the same pattern as the custrequest files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795306 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 04:03:07 +00:00