? Success

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
8 Jan 2019

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.

avatar Hackwar Hackwar - open - 8 Jan 2019
avatar Hackwar Hackwar - change - 8 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jan 2019
Category Libraries
avatar Hackwar
Hackwar - comment - 8 Jan 2019

The original PR to refactor the versioning feature is #23432.

avatar Hackwar Hackwar - change - 26 Apr 2019
Labels Removed: J4 Issue
avatar zero-24 zero-24 - change - 19 Dec 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-12-19 12:48:14
Closed_By zero-24
avatar zero-24 zero-24 - close - 19 Dec 2019
avatar zero-24 zero-24 - merge - 19 Dec 2019
avatar zero-24
zero-24 - comment - 19 Dec 2019

Merging for 3.10 thanks @Hackwar

avatar Hackwar
Hackwar - comment - 19 Dec 2019

This has not been merged into 4.0, so it seems not a good idea to merge this into 3.10

avatar zero-24
zero-24 - comment - 19 Dec 2019

Done thanks.

avatar Hackwar
Hackwar - comment - 3 Jun 2020

Hey, yeah, so... We actually did merge in this feature shortly before the beta release, so we need to add this to 3.10 again...

avatar zero-24
zero-24 - comment - 4 Jun 2020

Can you do a PR and tag me? I'm happy to review and merge as this PR here has been reverted.

Add a Comment

Login with GitHub to post a comment