[
https://issues.apache.org/jira/browse/OFBIZ-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807663#comment-16807663 ]
Jacques Le Roux commented on OFBIZ-10886:
-----------------------------------------
BTW, this code in QuoteServices.groovy::createQuoteFromCart seems wrong.
{code:java}
if (createQuoteInMap.partyId
&& createQuoteInMap.partyId != userLogin.partyId
&& !security.hasEntityPermission('ORDERMGR', '_CREATE', userLogin)) {
return error(UtilProperties.getMessage('OrderErrorUiLabels', 'OrderSecurityErrorToRunCreateQuoteFromCart', locale))
}
{code}
As a DemoCustomer we should have an error message. I also tried changing
{code}
!security.hasEntityPermission('ORDERMGR', '_CREATE', userLogin))
{code}
{code}
!security.hasEntityPermission('ORDERMGR', '_CREATE', createQuoteInMap.partyId))
{code}
and gave up at this stage, I don't want to twist my head around it :)
> Unable to create new quote from cart at eCommerce store
> -------------------------------------------------------
>
> Key: OFBIZ-10886
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10886> Project: OFBiz
> Issue Type: Bug
> Environment:
https://demo-trunk.ofbiz.apache.org/ecommerce/> Reporter: Sanjay Yadav
> Assignee: Jacques Le Roux
> Priority: Major
> Attachments: ShoppingCartBug.png
>
>
> Steps to regenerate issue -
> # Go to url [
https://demo-trunk.ofbiz.apache.org/ecommerce/]
> # Login with any registered user.
> # Select Demo Catalog.
> # Select product Round Gizmo product and add to cart.
> # Go to View Cart option
> # Scroll down and click button 'Create New Quote From Cart'
> # It throws exception as shown in attached snapshot.
> Also,
> Tried updating quantity field. User is able to update field but updated value does not save while moving to next check out page.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)