? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
12 Jun 2020

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.

@zero-24

avatar Hackwar Hackwar - open - 12 Jun 2020
avatar Hackwar Hackwar - change - 12 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2020
Category Libraries
avatar zero-24 zero-24 - change - 13 Jun 2020
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: ?
avatar zero-24 zero-24 - close - 13 Jun 2020
avatar zero-24 zero-24 - merge - 13 Jun 2020
avatar zero-24
zero-24 - comment - 13 Jun 2020

Merging thanks @Hackwar

avatar zero-24
zero-24 - comment - 29 Sep 2020

Add a Comment

Login with GitHub to post a comment