尝试选择客户以在客户支持后台办公室启动asm会话时发生异常

时间:2019-04-18 04:40:32

标签: migration hybris

我们正在从hybris 6.3迁移到hybris1811。同时尝试在客户支持后台选择一个客户并启动asm会话。控制台引发错误,因此我们无法为任何客户启动asm。

似乎缺少一些保存的Carts限定符。无法弄清楚它的使用位置。

抛出的异常是:

  

'''DefaultEditorAreaPanelRenderer]没有带有限定符的属性   找到了saveCarts。   de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException:   找不到带有限定符saveCarts的属性。           在de.hybris.platform.servicelayer.type.impl.DefaultTypeService.getAttributeDescriptor(DefaultTypeService.java:201)   〜[coreserver.jar :?]           在com.hybris.backoffice.cockpitng.dataaccess.facades.type.DefaultPlatformTypeFacadeStrategy.getAttributeDescription(DefaultPlatformTypeFacadeStrategy.java:717)处   〜[classes / :?]           在com.hybris.cockpitng.dataaccess.facades.type.impl.DefaultTypeFacade.getAttributeDescription(DefaultTypeFacade.java:90)   〜[cockpit-data-integration-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.dataaccess.facades.type.impl.DefaultTypeFacade.getAttributeDescription(DefaultTypeFacade.java:79)   〜[cockpit-data-integration-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.labels.impl.TypeQualifierStringObjectHandler.getObjectDescription(TypeQualifierStringObjectHandler.java:274)   〜[cockpit-data-integration-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.labels.impl.DefaultLabelService.getObjectDescription(DefaultLabelService.java:139)   〜[cockpitcore-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.labels.impl.TypeAwareLabelService.getObjectDescription(TypeAwareLabelService.java:45)   〜[cockpit-data-integration-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.common.EditorConfigurator.getAttributeDescription(EditorConfigurator.java:269)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.common.EditorConfigurator.configure(EditorConfigurator.java:428)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.common.EditorConfigurator.configure(EditorConfigurator.java:450)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.common.EditorBuilder.configure(EditorBuilder.java:294)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer.createEditor(AbstractEditorAreaComponentRenderer.java:297)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer $ 2.render(DefaultEditorAreaPanelRenderer.java:171)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer $ 2.render(DefaultEditorAreaPanelRenderer.java:163)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer $ 1.render(DefaultEditorAreaPanelRenderer.java:130)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer $ 1.render(DefaultEditorAreaPanelRenderer.java:114)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer.render(DefaultEditorAreaPanelRenderer.java:95)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaPanelRenderer.render(DefaultEditorAreaPanelRenderer.java:44)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.renderAttributesInPanels(DefaultEditorAreaSectionRenderer.java:379)处   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer $ 2.render(DefaultEditorAreaSectionRenderer.java:271)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer $ 2.render(DefaultEditorAreaSectionRenderer.java:259)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.render(DefaultEditorAreaSectionRenderer.java:122)处   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer.render(DefaultEditorAreaSectionRenderer.java:68)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaTabRenderer.render(DefaultEditorAreaTabRenderer.java:73)处   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaTabRenderer.render(DefaultEditorAreaTabRenderer.java:31)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.common.ProxyRenderer.render(ProxyRenderer.java:93)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaRenderer.lambda $ render $ 0(DefaultEditorAreaRenderer.java:128)中   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:3168)   〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:3138)   〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:3080)   〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138)   〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.event.Events.sendEvent(Events.java:343)〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.event.Events.sendEvent(Events.java:367)〜[zk-8.5.1.2.jar:3.6.4]           在org.zkoss.zk.ui.event.Events.sendEvent(Events.java:375)〜[zk-8.5.1.2.jar:3.6.4]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaRenderer.sendRenderEvent(DefaultEditorAreaRenderer.java:262)   〜[backoffice-widgets-18.11.1-RC1.jar :?]           在com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaRenderer.render(DefaultEditorAreaRenderer.java:167)   〜[backoffice-widgets-18.11.1-RC1.jar :?]'''

1 个答案:

答案 0 :(得分:0)

根本原因:“客户”类型在系统中没有此类属性。

一种可能的解决方案是从批量编辑向导中排除“ savedCarts”属性。请参阅下面的Backoffice配置:

<context type="Customer" 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">
            <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>savedCarts,modifiedtime</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:flow>
</context>