Commit Graph
14503 Commits
Author SHA1 Message Date
Ashish Vijaywargiya cd56b25de3 Applied patch from jira issue - OFBIZ-5783 - Shipment Box Type selection should be at package level instead of item level on Pack Order Screen.\
=======================================================================
The Shipment Box Type selection is at line item level on Pack Order screen where the package selection for each order item is made. It should instead be at package level next to the package weight input box.

Also, ShipmentBoxType values are supported only for USPS, which is hard coded in PackOrder.groovy.

There is a bug reported in OFBIZ-4606 for Release 11.04 but exists in Trunk as well. It should be fixed if we make the above change.
=======================================================================
Thanks Mridul for creating the issue and providing the patch for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632772 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 11:46:24 +00:00
Ashish Vijaywargiya 801636607d Applied patch from jira issue - OFBIZ-4528 - Out of stock products screw up the pagination during category browsing.
===================================================================
Pagination is handled in getProductCategoryAndLimitedMembers
Then the out of stock filtering is done in CategoryDetail.groovy.
Hence the pagination is screwed up. Certain pages might show less records or no records based upon data condition.
===================================================================
Thanks Arun for the contribution and Thanks Kiran for creating the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632750 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 10:43:59 +00:00
Ashish Vijaywargiya 37dc0685db Applied patch from jira issue - OFBIZ-5824 - Error in communication screen while perfom sorting.
=========================================================================
In partymgr contrller.xml, we have view request named "ViewCommunicationEvent", and this request call an service event, due to this when we try to perform sorting on Child Communication Events, Customer Request List or any other screen over Communication screen then it will thorw following exception:

org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [communicationEventId] passed to secure (https) request-map with uri [ViewCommunicationEvent] with an event that calls service [setCommEventRoleToRead]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help.
 

Also due to this service event call on view request entry we can't open the communication events in new tab. Ideally this service should be call in screen context instead view request.

=====================================

Thanks Deepak for reporting the issue and providing the patch for the same. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632745 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 09:17:05 +00:00
Jacques Le Roux 8c184be4c5 Fixes a missing import java.sql.Timestamp;
This does not appear in R13.07 => no needs for a Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632235 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 08:19:18 +00:00
Scott Gray cf7cffbb72 Remove duplicated or unused content seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632202 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 02:16:11 +00:00
Scott Gray 04c9cde650 Remove duplicate PortalPagePortlet record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632201 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 02:16:06 +00:00
Scott Gray f4dc1f9e5c Add missing generics markup and remove suppress warnings annotation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1631962 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 07:35:19 +00:00
Jacques Le Roux d5507e2673 An enhanced patch from Josip Almasi for "Can't mount root web app" https://issues.apache.org/jira/browse/OFBIZ-5799
After mounting ecommerce as root web app, I got ScreenRenderException, caused by StringIndexOutOfBoundsException: String index out of range: -1 
at  org.ofbiz.product.category.CatalogUrlServlet.makeCatalogUrl(CatalogUrlServlet.java:186)

Categories and products cannot be rendered.

jleroux: I added 2 other cases to Josip's patch.
Note: you could mount the ecommerce as root web app between R9.04 and R11.04 (included)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1631203 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 16:28:31 +00:00
Scott Gray 1520692f75 Complete conversion of accounting java files from delegator to EntityQuery
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1630980 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 20:30:30 +00:00
Scott Gray a8bfd316c8 Make use of EntityQuery.where(EntityCondition...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1630979 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 20:30:18 +00:00
Jacques Le Roux 4c4e81c3b4 Removes a number of duplicated labels certainly introduced with https://issues.apache.org/jira/browse/OFBIZ-5737
There are still some, I reopen the Jira issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629726 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 18:21:09 +00:00
Scott Gray 4696ffcf18 Convert a few more classes to use EntityQuery
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629540 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 20:52:54 +00:00
Nicolas Malin e775c0de17 Convert CRUD service to entity-auto for GoodIdentification, ProductAttribute, ProductGeo, ProductMeter, ProductMaint, ProductGlAccount, ProductAssoc and ProductKeyword. For this last, add StatusValidChange data for keyword to autorize from status KW_PENDING to KW_APPORVED and from status KW_PENDING to KW_DISAPPROVED. Related issue OFBIZ-5734
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629523 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 19:34:17 +00:00
Scott Gray 932ec153c1 Removed duplicate EntityListIterator query left by my EntityQuery conversion work. Thanks to Adrian Crum for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629480 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 09:16:40 +00:00
Adrian Crum d5d4b3bbec Fixed a bug in the Find Invoice screen where the invoice currency was being ignored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629426 13f79535-47bb-0310-9956-ffa450edef68
2014-10-04 17:25:27 +00:00
Jacques Le Roux 2f2d7c411b Better description for web.xml in ordermgr-js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628940 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 11:19:37 +00:00
Jacques Le Roux a7676338b8 Adds an empty placeholder web.xml file under ordermgr-js/WEB-INF to prevent a warning message at start and (hopefully) an (at least) exception with sendMailFromScreen service as reported by Jacopo on dev ML.
This issue also exits in R13.07 and is related with r1612202 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628937 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 11:15:18 +00:00
Nicolas Malin c0219c79da Convert the ProdCatalog CRUD simple service to entity-auto
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628405 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 11:59:29 +00:00
Scott Gray 69583cb00a First batch of conversions from direct Delegator use to EntityQuery queries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628288 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 20:12:10 +00:00
Nicolas Malin 7816745013 correct ClassCastException: java.lang.Integer cannot be cast to java.lang.Long reported by Deepak Dixit. Problem raise through http://demo-trunk-ofbiz.apache.org/content/control/stream?contentId= where content is associate to ElectronicText data resource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628167 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 12:14:25 +00:00
Nicolas Malin 7f403dd028 I converted CRUD service to entity-auto for :
ProductFeatureCategory
    ProductFeature
    ProductFeatureAppl
    ProductFeatureCategoryAppl
    ProductFeatureCatGrpAppl
    ProductFeatureGroup
    ProductFeatureType
    ProductFeatureApplAttr
    ProductFeaturePrice


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628100 13f79535-47bb-0310-9956-ffa450edef68
2014-09-28 20:45:08 +00:00
Jacques Le Roux e5c296c689 A patch from Anahita Goljahani for "Duplicated 'ALSO_BOUGHT' associations in product details page" https://issues.apache.org/jira/browse/OFBIZ-5782
I have noticed an undesired behavior when two products are associated by the "ALSO_BOUGHT" association type. 

Specifically, when a product, e.g., Tiny Gizmo (productId  = "GZ-1000"), is associated to another product, e.g., Micro Chrome Widget (productIdTo  = "WG-1111"), by setting productAssocTypeId equal to "ALSO_BOUGHT" in ProductAssoc, the Tiny Gizmo web page in the ecommerce site correctly shows the Micro Chrome Widget as "Customers who bought this item also bought:". Accordingly with the current software behavior, even if Micro Chrome Widget (productId = "WG-1111") was not explicitly  associated to Tiny Gizmo (productIdTo  = "GZ-1000"), also the Micro Chrome Widget web page shows Tiny Gizmo as "Customers who bought this item also bought:",  which may be useful in cases where the 'ALSO_BOUGHT' association is meant to be necessarily bidirectional, i.e., if prodA is associated to prodB, then prodB is associated to prodA and vice-versa. However, when the user wants to express the symmetric nature of the relationship by explicitly associating both Tiny Gizmo to Micro Chrome Widget and Micro Chrome Widget to Tiny Gizmo in ProductAssoc, the system erroneously shows the associated products twice, both in the Tiny Gizmo and Micro Chrome web pages.  

The undesired behavior can be reproduced as follows: 
# Run OFBiz with demo data
# import the following associations from the OFBiz  XML Data Import form
{code}
<ProductAssoc productId="GZ-1000" productIdTo="WG-1111" productAssocTypeId="ALSO_BOUGHT" fromDate="2014-09-02 12:00:00.000"/>
<ProductAssoc productId="WG-1111" productIdTo="GZ-1000" productAssocTypeId="ALSO_BOUGHT" fromDate="2014-09-02 12:00:00.000"/>
{code}
# click on Tiny Gizmo or Micro Chrome Widget from the main page of the ecommerce site. 

The attached patch modifies the above behavior as follows:
- if only "prodA" (productId = "prodA") is associated to "prodB" (productIdTo = "prodB") in ProductAssoc, and not vice-versa, only "prodA" web page shows "prodB" as "Customers who bought this item also bought:".   This means that the 'ALSO_BOUGHT' association type becomes not necessarily bidirectional by default, which is in accordance with most common algorithms for the automatic generation of "WHO BOUGHT X ALSO BOUGHT Y" recommendations that may produce bidirectional associations for some couple of products and not for others, based on conditional probabilities and actual users behavior;  
- in those specific cases in which the association is actually bidirectional for a certain couple of products (prodA, prodB), i.e., both 'prodA to prodB' and 'prodB to prodA' associations are present in ProductAssoc, associated products are shown only ones in prodA and prodB web pages.  

The patch simply sets the value of the parameter "bidirectional" to its default value, i.e., "false", when alsoBoughtProducts are collected by calling getAssociatedProducts() from applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy.  


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628096 13f79535-47bb-0310-9956-ffa450edef68
2014-09-28 19:48:53 +00:00
Anil Patel cdd256649b [OFBIZ-3719] removing Debug statements I added, Sorry :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628020 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 22:45:08 +00:00
Anil Patel 1ea2d0a765 [OFBIZ-3719] Reverting DOCTYPE hardcoding from cmsevents. Giving control back to the template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628014 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 22:37:46 +00:00
Nicolas Malin f7db074f8b First commit, start to remove unneeded space finally remove FastMap and FastList present on CommunicationEventServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628004 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 20:38:22 +00:00
Jacopo Cappellato 49117e1c31 The "authz" code was removed long ago in rev. 1360283
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627812 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 15:41:58 +00:00
Jacopo Cappellato d428797b70 Some simplifications to the code introduced with my last commit: this will also simplify the backporting to release branches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627776 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 13:12:07 +00:00
Jacopo Cappellato 8fc2c776eb The support for dynamic result names in field-to-result:
<field-to-result field="value" result-name="${key}"/>
is no more supported: converted minilang code that was still using this syntax and was broken by the refactoring.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627763 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 12:52:38 +00:00
Anil Patel 6147cdcf99 Use purposeFromDate instead of formDate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626797 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 14:51:43 +00:00
Ashish Vijaywargiya 56e5b7b85c Applied bug fix from jira issue - OFBIZ-3833 - Payment capture is less than Order total.
Thanks Mridul for reviewing the patch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626476 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 16:30:05 +00:00
Ashish Vijaywargiya b08b9cffab Apply patch from jira issue - OFBIZ-4372 - Order terms not displayed correctly.
Thanks Divesh for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626470 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 16:19:39 +00:00
Ashish Vijaywargiya 571ff5d91a Applied bug fix from jira issue - OFBIZ-5261- Party contact expiration and its hidden problems.
Thanks Mridul for providing the patch. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626462 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:46:01 +00:00
Ashish Vijaywargiya ed21584130 Applied fix from jira issue - OFBIZ-5017 - Quick Refund Entire Order create a Payment without the Adjustment Item amount.
Sharing latest comment from Arun: Issue of shipping adjustments in the 'Quick Refund Entire Order' process is not regenerating but return total was calculating wrong (greater than order total) during this process. Please find attached patch for the same.
Thanks Arun and Deepak for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626455 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:11:49 +00:00
Anil Patel 20d5e4975f [OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626452 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:04:58 +00:00
Anil Patel 5db723cad4 [OFBIZ-5511] Thanks for reporting the issue Christian Carlow and Deepak Dixit for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626450 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 14:58:55 +00:00
Anil Patel dcc461ba1b [OFBIZ-3658] This is UX change, Some may like it and other may not.
Jira ticket is open for long so I assume its ok to modify UX as per the recommendations on it.

I don't see need for backporting this commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626447 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 14:14:36 +00:00
Anil Patel 2cb08e90f9 [OFBIZ-5370] Inventory reservation for orders is tricky subject. Its possible that business may have their own algorithm for inventory allocation.
reassignInventoryReservations services seems to be more complete so it makes sense to use it.

Thanks Christian Carlow for reporting the issue and Divesh Dutta for providing the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626439 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 13:47:30 +00:00
Anil Patel e08ceaa080 [OFBIZ-5778] Add pagination to picklists screen. This simple change helps when we have big list of picklist.
Thanks Arun Patidar for load tests, reporting issue and providing fix.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626436 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 13:00:32 +00:00
Ashish Vijaywargiya 2793dfae21 Applied patch from jira issue - OFBIZ-5720 - When click the "Go Back" button, the style of the page is mess.
Thanks Amardeep for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626434 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:57:30 +00:00
Ashish Vijaywargiya 44bc632d5a Applied patch from jira issue - OFBIZ-1524 - Improve the way CreditCard.cardType field is managed.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Anil Patel dd8835f526 [OFBIZ-4838] Applied more recent patch. Thanks Tom Burns for reporting the issue and providing the fix.
Thanks Deepak Dixit for testing and making adjustments to the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626421 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 11:25:05 +00:00
Anil Patel 60bd1b1956 [OFBIZ-2942] Thanks Adam Heath for reporting the issue. The patch by Deepak Dixit on Jira ticket fixes the issue. Now fromDate is also an IN parameter, if found null, then default to now timestamp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626414 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:30:22 +00:00
Ashish Vijaywargiya f4fc6c4962 Applied bug fix from jira issue - OFBIZ-3537 - Not all sales invoice item types are showing in listInvoiceItems screen.
Thanks Arun Patidar for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626409 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:08:51 +00:00
Ashish Vijaywargiya 0cc2d1a9ed No functional changes, Only done formating changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626408 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:50:42 +00:00
Anil Patel a97290d0ba [OFBIZ-5775] Patch resolves the issue.
Now reading createNew flag from request parameters, if not found then initialize it locally.
Thanks Deepak Dixit for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626406 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:35:17 +00:00
Ashish Vijaywargiya 96790071d2 Applied fix from jira issue OFBIZ-2990 - New Order ship to partyid is ignored.
Thanks Mridul Pathak for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626404 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:05:50 +00:00
Ashish Vijaywargiya 2a9b32bdab Based on Adrian's comment on dev mailing list, Providing better fix for the issue report at - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak for the contribution.   

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626402 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 08:51:16 +00:00
Anil Patel ea115c8f81 [OFBIZ-3879] Patch from the jira issue resolves the problem. Now start rendering invoice only if valid data if found in the database.
Code needs reformatting.
Thanks Deepak Dixit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626399 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 08:49:07 +00:00
Ashish Vijaywargiya 520737e6fd Applied patch from jira - OFBIZ-5777 - Picking screen get block when there are large number of records to process.
During load testing of OFBiz-13.07 and trunk, we observed that 'Picking' screen of Facility manager get block when there are large number of records to process. So need to fix this screen by limiting number of records to be process. 
Thanks Amardeep for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626388 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:37:24 +00:00
Ashish Vijaywargiya 18e552c812 Applied patch from jira issue - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak Dixit for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626385 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:16:29 +00:00