英文:
Spartacus-TUA: Current User undefined at Spartacus Service
问题
当Spartacus执行addCartEntryWithChecklistActions标准函数时,当前用户被设置在上下文中。但是,在调用msisdnReservationService时,Spartacus失去了对当前用户的引用。
在第一张图片中,您可以看到当前用户被设置为tim.james@hybris:
而在第二张图片中,当前用户为空:
英文:
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
And at second print the current user is null
答案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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论