? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
8 Sep 2016

Currently, we have metadata.xml files in each view. However since Joomla 3.5.0 those are no longer required (PR #7654).

Summary of Changes

This PR removes the metadata.xml files since they have no function at all in core.
This will help extension developers to see best practices.

Testing Instructions

  • Test creating menu items for the affected views. Nothing strange should happen.
  • Check the menu item type text in the menu item manager, see picture. Nothing should change there. metadata ### Documentation Changes Required

None to my knowledge.

avatar Bakual Bakual - open - 8 Sep 2016
avatar Bakual Bakual - change - 8 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2016
Category Front End Components Tags
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2016
Labels Added: ?
avatar photodude
photodude - comment - 8 Sep 2016

Documentation Changes Required Suggested

The Hello world example component code/development tutorial likely needs a major update to match with 3.5+ best practices like the removal of metadata.xml. (I think it was last revised with 3.2)

avatar Minei3oat Minei3oat - test_item - 8 Sep 2016 - Tested successfully
avatar Minei3oat
Minei3oat - comment - 8 Sep 2016

I have tested this item successfully on bbbf934

I didn't found a posibility to test the views of com_mailto because there are no selectable views (XML-files are missing).
All other was working.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11990.

avatar jsubri
jsubri - comment - 8 Sep 2016

Should we have these files in script.php at the same time?

avatar brianteeman
brianteeman - comment - 8 Sep 2016

Yes

avatar Bakual
Bakual - comment - 9 Sep 2016

I didn't add them to the script.php because it doesn't really matter if they are present or not. As you see currently ?
If we merge something like this #10548, they may be needed again in special cases.

avatar brianteeman
brianteeman - comment - 9 Sep 2016

It starts to become a mess if you have some sites with files and some sites without. Especially security scanners. If the files are not needed then they should be removed


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11990.

avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2016
Category Front End Components Tags Administration Components Front End Tags
avatar Bakual
Bakual - comment - 9 Sep 2016

Added the files to the script.php. If it's not merged for 3.6.3 that files needs to be adjusted so the comment matches :)

avatar Bakual
Bakual - comment - 9 Sep 2016

The Hello world example component code/development tutorial likely needs a major update to match with 3.5+ best practices like the removal of metadata.xml. (I think it was last revised with 3.2)

@photodude I had a look but couldn't find anything related to metadata.xml on a first glance. At least not where I would have expected it (https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_a_menu_type_to_the_site_part)

avatar brianteeman brianteeman - test_item - 9 Oct 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 9 Oct 2016

I have tested this item successfully on 5638ec2


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11990.

avatar Bakual Bakual - change - 31 Oct 2016
The description was changed
avatar zero-24 zero-24 - change - 5 Nov 2016
The description was changed
Milestone Added:
Status Pending Ready to Commit
avatar zero-24 zero-24 - change - 5 Nov 2016
The description was changed
avatar zero-24 zero-24 - change - 5 Nov 2016
The description was changed
avatar zero-24 zero-24 - edited - 5 Nov 2016
avatar zero-24 zero-24 - change - 5 Nov 2016
Milestone Added:
avatar zero-24
zero-24 - comment - 5 Nov 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11990.

avatar rdeutz rdeutz - close - 5 Nov 2016
avatar rdeutz rdeutz - merge - 5 Nov 2016
avatar rdeutz rdeutz - reference | d6de805 - 5 Nov 16
avatar rdeutz rdeutz - merge - 5 Nov 2016
avatar rdeutz rdeutz - close - 5 Nov 2016
avatar rdeutz rdeutz - change - 5 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-05 09:23:33
Closed_By rdeutz

Add a Comment

Login with GitHub to post a comment