User tests: Successful: Unsuccessful:
This PR backports a few classes that would be necessary to implement versioning of content items in the same code for extensions in 3.x and 4.0. To support both 3.x-style and 4.0-style versioning, you'd have to implement the 3.x-style first. Good luck with that. To get 4.0-style working, simply let your table class implement the interface VersionableTableInterface (and the method that that defines) and let your item controller and model use the respective Versionable trait. In 3.x, these traits are empty, in 4.0 they contain all the logic necessary for versioning.
This is a redo of #23479. The original PR was merged without the feature in 4.0 being accepted. It was then reverted, but shortly before the 4.0 beta it WAS accepted and now we have to redo this again. The PR with the refactoring of the versioning was #29217.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-13 21:11:58 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
?
|
This has been documented here: https://docs.joomla.org/J3.x:Joomla_3.10_Backports
Merging thanks @Hackwar