-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Closed
Copy link
Labels
Component: Framework/ApiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedPartner: AtwixPull Request is created by partner AtwixPull Request is created by partner AtwixRelease Line: 2.3Reproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release
Description
Preconditions (*)
- Magento 2.3.1
Summary (*)
Magento is no longer support inheritance of DTO classes from Magento\Framework\Api\AbstractExtensibleObject
. This class extends abstract class AbstractExtensibleObject extends AbstractSimpleObject
. There is a new code and new modules, for example, Inventory
module which uses inheritance of Magento\Framework\Model\AbstractExtensibleModel
.
Examples (*)
The misunderstanding is caused a point that AbstractExtensibleObject
class marked as @api
, in the sime time AbstractExtensibleModel
does not have the same mark.
Proposed solution
- Add PHP annotation
@api
toAbstractExtensibleModel
- Add PHP annotation
@deprecated
toAbstractExtensibleObject
and@see
which link toAbstractExtensibleModel
CC: @maghamed
Thank you! 😊
okorshenko and sashas777okorshenko
Metadata
Metadata
Assignees
Labels
Component: Framework/ApiUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just CatalogUSE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedPartner: AtwixPull Request is created by partner AtwixPull Request is created by partner AtwixRelease Line: 2.3Reproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 release