OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Issue after editing Customer User Role(s)

This topic contains 4 replies, has 3 voices, and was last updated by  hieunx 5 years, 4 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #33179

    Prabhat
    Participant

    Hi,

    I was trying to modify Buyer role as per my requirement and I ended up something weird in the frontstore.
    As soon as I make a slight change in the role, the default mechanism of OroCommerce “add to shopping list” stops working. Now even when I click on Add to Shopping List, the button does not change to Update Shopping List and nor does the green colored “In shopping list” appears.

    Regards,
    Prabhat

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #33180

    Andrey Yatsenko
    Moderator

    Hi Prabhat,

    Please share the version of OroCommerce you are using.
    Looks like a bug, I need to check.

    #33181

    Prabhat
    Participant

    Hi Andrey,

    I am currently using OroCommerce 1.6.0.
    I tried to investigate the root cause of the bug and I have partially reached to the cause of the bug. Maybe this can help you in further investigation and fixing the bug.

    Whenever role is modified and saved, there is an entry in database:-

    Table Name: acl_security_identities
    Note the id corresponding to ROLE_FRONTEND_BUYER

    Table Name: acl_entries
    Check the class_id=62 with id of ROLE_FRONTEND_BUYER noted earlier. If you change the mask of that record from 16 to 16912 and clear the orocommerce cache, it starts working. (Workaround)

    But after modifying the role again, the value of mask changes to 16 and the frontend flow of add to shopping list stops working again.

    Regards,
    Prabhat Nagpal

    • This reply was modified 5 years, 8 months ago by  Prabhat.
    #33183

    Andrey Yatsenko
    Moderator

    Thank you for reporting an issue.
    Confirmed the bug on OroCommerce 1.6.24 and 3.0.0.
    Internal ticket id #BB-15017

    #37579

    hieunx
    Participant

    Hi Andrey,
    Any update on it?

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top