joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[6.0] Features 60/mod articles legacy remove

Open chmst opened this issue 6 months ago • 8 comments

Pull Request for Issue # .

Summary of Changes

  • Remove all article modules from new Joomla installations
  • Remove the modules, their language files, other files
  • Deprecate cleanCache for legacy modules in content
  • Fix cleanCache for mod_articles

Testing Instructions

Make a fresh installation of Joomla 6. Check that no files for the old modules are in the installation Check that in content - site modules - new only mod article is present

Update an existing former Joomla version Check that your old article modules and their overrides are working as before.

Link to documentations

Please select:

  • [ ] Documentation link for docs.joomla.org:

  • [ ] No documentation changes for docs.joomla.org needed

  • [ ] Pull Request link for manual.joomla.org:

  • [ ] No documentation changes for manual.joomla.org needed

chmst avatar Jun 08 '25 17:06 chmst

Do I assume right that the modules shall not be deleted on update? If that is right, I have to add them to the list of exceptions in the build/deleted_file_check.php after this PR will be merged.

richard67 avatar Jun 08 '25 17:06 richard67

Te modules are not deleted on update. Users who have these modules and overrides should not be affected until J8

chmst avatar Jun 08 '25 17:06 chmst

I am massively against this. It's removing something that has not been deprecated for zero benefit

brianteeman avatar Jun 08 '25 17:06 brianteeman

We don't remove anything for existing applications. Just don't deliver old modules for new installations.

chmst avatar Jun 08 '25 17:06 chmst

The benefit for NEW applications: Old artilce modules are no longer available. When a user wants to make a module with articles, he can select only the new mod_article where we have all features from the old articles. This saves us a lot of files (lines of code) which are not at all DRY. Old applications are not affected and wll work as usual until J8.

chmst avatar Jun 08 '25 18:06 chmst

So it's ok to completely ignore our policies on deprecation etc?

brianteeman avatar Jun 08 '25 18:06 brianteeman

I am adding deprecations right now. This is a draft and work in progress.

chmst avatar Jun 08 '25 19:06 chmst

It needs also to remove the system tests, e.g. https://github.com/joomla/joomla-cms/tree/6.0-dev/tests/System/integration/site/modules/mod_articles_archive . Currently they are still running in Drone for this PR, and of course they are failing now as the modules are not available in a new installation.

richard67 avatar Jun 10 '25 08:06 richard67