cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Backoffice bulk edit action operation is throwing error for other than admin user

Former Member
0 Likes
493

Hi I have configured the custom bulk-edit config for custom type so now only one attribute is available for bulk edit called status which is a type of enum

 <context type="customtype" merge-by="type" component="bulk-edit-wizard">
         <wz:flow id="bulkEditWizard" title="bulkedit.wizard.title" size="large">
             <wz:step id="step1" label="bulkedit.wizard.step.select.attributes" sublabel="bulkedit.wizard.step.select.sublabel">![alt text][1]
                 <wz:content id="step1.content">
                     <wz:custom-view id="attributesSelector" lang="zul" merge-mode="replace">
                         <wz:renderer spring-bean="bulkEditAttributesSelectorRenderer">
                             <wz:parameter>
                                 <wz:name>bulkEditFormModelKey</wz:name>
                                 <wz:value>bulkEditForm</wz:value>
                             </wz:parameter>
                             <wz:parameter>
                                 <wz:name>excludedQualifiers</wz:name>
                                 <wz:value>attribute1,attribute2,attribute3
                                 </wz:value>
                             </wz:parameter>
                         </wz:renderer>
                     </wz:custom-view>
                 </wz:content>
                 <wz:navigation>
                     <wz:cancel />
                     <wz:next visible="bulkEditForm.attributesForm.chosenAttributes?.size()>0" />
                 </wz:navigation>
             </wz:step>
             <wz:step id="step2" label="bulkedit.wizard.step.change.attributes" sublabel="bulkedit.wizard.step.change.sublabel">
                 <wz:content id="step2.content">
                     <wz:custom-view id="attributesEdit" lang="zul" merge-mode="replace">
                         <wz:renderer spring-bean="bulkEditRenderer">
                             <wz:parameter>
                                 <wz:name>bulkEditFormModelKey</wz:name>
                                 <wz:value>bulkEditForm</wz:value>
                             </wz:parameter>
                         </wz:renderer>
                     </wz:custom-view>
                 </wz:content>
             </wz:step>
         </wz:flow>
     </context>

When i login with admin user in backoffice the bulk edit works perfectly but when i login with employee the bulk edit action is not working as expected, i am able to select attribute but when I click on next to for changing attribute value it throws error
WARN [hybrisHTTP6] [SimpleEditorRegistry] no editor found for editor type [null]
ERROR [hybrisHTTP6] [DefaultModelValueHandler] Cannot load value for property 'status', no widget model was set.

[1]: /storage/temp/11860-capture1.jpg

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

There is a fix for this in 6.7.0.14, 1808_09 and 1811_05 - https://jira.hybris.com/browse/ECP-3584.

Former Member
0 Likes

We are having the same problem. Did you already found a solution for this?

arvind-kumar_avinash
Active Contributor
0 Likes

Please try adding principal in the context declaration i.e.

  <context principal="your-employee-uid" type="customtype" merge-by="type" component="bulk-edit-wizard">
Former Member
0 Likes

I tried this, but it does not work. Any other possible solutions?