on ‎2018 Dec 04 8:13 PM
The following code works as expected (i.e. the configured tabs will not be visible to BackofficeProductManager ) both in v6.7 and v1808.
<context principal="BackofficeProductManager" merge-by="principal" parent="GenericItem" type="Product" component="editor-area" module="platformbackoffice">
<editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea" name="">
<editorArea:tab merge-mode="REMOVE" name="hmc.tab.attribute"/>
<editorArea:tab merge-mode="REMOVE" name="hmc.tab.product.variants"/>
</editorArea:editorArea>
</context>
However, if you change the principal to backofficeproductmanagergroup, it works as expected in v6.7 but not in v1808. There are similar problems (given below) logged in JIRA and some have been marked as ''RESOLVED' but I did not find any ticket logged for this particular issue.
Please raise this bug in JIRA.
Best regards.
Request clarification before answering.
Hi ,
It is not a bug at all. Two things I can already tell about your configuration:
You ask algorithm to merge by principal, while still specify a parent as GenericItem which is actually a type code
principal dimension may be set to particular user name or BackofficeRole- it will not work with pure UserGroup
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow, this is great. Too bad I did not see this feature documented before.
https://help.hybris.com/1808/hcd/8b929ff186691014b99cb77661a3ed52.html
The documentation should be updated to include the support for merge-by principal instead of just stating module and type.
Hi - I have already tested it in v6.7 and it worked every time. It will take only a few minutes to test it if you have v6.7. I request you to test it and log a bug if you have access to log a defect in https://jira.hybris.com/
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.