Spartacus-TUA:在Spartacus服务中,当前用户未定义。

huangapple go评论53阅读模式
英文:

Spartacus-TUA: Current User undefined at Spartacus Service

问题

当Spartacus执行addCartEntryWithChecklistActions标准函数时,当前用户被设置在上下文中。但是,在调用msisdnReservationService时,Spartacus失去了对当前用户的引用。

在第一张图片中,您可以看到当前用户被设置为tim.james@hybris:

Spartacus-TUA:在Spartacus服务中,当前用户未定义。

而在第二张图片中,当前用户为空:

Spartacus-TUA:在Spartacus服务中,当前用户未定义。

英文:

I am developing an Spartacus TUA Application and currently I am facing some issue

When Spartacus is performing addCartEntryWithChecklistActions standard function, the current user is set at context.

But when calling the msisdnReservationService, Spartacus looses the reference to the current user.

At first image you can look that the current user is set to tim.james@hybris

Spartacus-TUA:在Spartacus服务中,当前用户未定义。

And at second print the current user is null

Spartacus-TUA:在Spartacus服务中,当前用户未定义。

答案1

得分: 0

与Spartacus DEV团队通过SAP事务进行交流,发现这似乎是一个开箱即用的错误。

所以我们在这一点上进行了覆盖,现在它正常工作。

英文:

Talking with Spartacus DEV Team via SAP Incidents and found out that is seems to be a OOTB Bug.

So we made an override at this point and now it is working

huangapple
  • 本文由 发表于 2023年2月6日 14:18:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/75357930.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定