Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

Hybris version upgrade - handle OOTB model's removed attribute

What is the best way to handle OOTB model's removed attribute?

In hybris version 6.6, there is bundleNo attribute in AbstractOrderEntryModel, then we're upgrading our hybris version, and we found out that on 1905, bundleNo attribute is no longer there. So do we have to re-add bundleNo attribute to AbstractOrderEntryModel or should we use another OOTB attribute that's available, considering in 6.6 we have some data using that attribute?

Thanks

question from:https://stackoverflow.com/questions/65950656/hybris-version-upgrade-handle-ootb-models-removed-attribute

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Indeed bundleNo attribute is deprecated since the 6.4 version, entryGroupNumbers should be used instead for the recent versions, it supports a set of ids now :

https://help.sap.com/doc/a4265d5ea8314eb2929e6cf6fb8e35a5/1811/en-US/de/hybris/platform/core/model/order/AbstractOrderEntryModel.html


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...