SAP Spartacus 和 SmartEdit 集成的一些 bug
我正在尝试使用 spartacus 和 smartedit,特别是我有兴趣查看选择分阶段产品目录版本的预览模式是否工作正常,但显然不是…我看不到对我在 stage 版本上做的属性,如果我查看浏览器发送到服务器的 occ 调用,我本来希望在每个 occ 调用中总是看到 cmsTicketid 参数,因为据我所知,参数将设置 会话属性,如要使用的目录版本等,并且由于 occ 服务是无状态的,我想每个请求都需要发送 param ,但事实并非如此。
您是否知道有关此功能的任何错误,还是我遗漏了什么?
(1) we 创建一个 preview ticket,持有 context informations (content and product catalog version, language, time, …)
(2)then we pass the ticket in every occ request
(3)a filter on the occ web app manage to restore the context in the session (setting language, catalog versions, etc) based on the preview ticket
occ is stateless, it is stateless in terms of session … but there is state in terms of cart, etc.
In practice although it is ‘stateles’ it actually create a session for the length of each request.
but you’ve to pass the ticketid for every request.
代码:https://github.com/SAP/spartacus/blob/develop/feature-libs/smartedit/root/http-interceptors/cms-ticket.interceptor.ts
if (this.service.cmsTicketId && request.url.includes('/cms/'))
issue created:https://github.com/SAP/spartacus/issues/12954
相关文章
- 线上缺陷逃逸率(BUG漏测)
- SAP UI5 sap.ui.export.Spreadsheet API 介绍
- SAP UI5 sap.ui.Device.media.RANGESETS.SAP_STANDARD_EXTENDED 介绍
- SAP UI5 sap.ui.Device.media 公有方法介绍
- ecshop有哪些bug_ecshop二次优化
- Redmine系统通过bug号解析页面内容及下载附件
- TCP聊天文件服务器v2.0 - 重大bug修复+PyQt5文件传输可视化
- SAP UI5 sap.m.Table Manual Pop-In Mode 概述
- 澄清一些对 SAP UI5 响应式表格 sap.m.Table 的常见理解误区试读版
- SAP UI5 响应式表格 sap.m.Table 根据不同宽度的屏幕动态决定显示或隐藏 Column 的实现源代码讲解试读版
- 靠谱CTO必须是技术高手?前Facebook总监:技术越好,Bug 越少
- 数百程序员专门教AI写代码、40个bug能修复31个,“取代程序员”这次要成真了?
- SAP Fiori Launchpad url 参数 sap-app-origin-hint 的含义
- Win10 KB5001649 四次更新终于搞定打印机BUG
- SAP vs Oracle:差异点与解析(sap和oracle的区别)
- 硬核观察 | 财务软件 bug 导致数百人被错误定罪
- 软件 bug 的生命周期
- 系统Oracle公司收购SAP系统开启新的商业时代(Oracle公司sap)
- MySQL多版本存在bug问题(mysql个版本bug)
- 跨界合作新模式 Oracle与SAP实现合并(oracle与sap合并)
- Oracle与SAP的技术潜力比较(oracle sap比较)
- Oracle 与 SAP深度对比分析(oracle sap对比)
- Oracle Bug深度剖析以及解决方案(oracle bug说明)
- Oracle Bug问题总结修复折中求取完美(oracle bug汇总)
- jqueryformValidator插件ajax验证内容不做任何修改再离开提示错误的bug解决方法