?
avatar brianteeman
brianteeman
1 Aug 2017

While investigating another issue I discovered this file
administrator\components\com_categories\models\fields\categoryparent.php

It appears to be unused in the core as I can find no reference to it and it has been replaced by
administrator\components\com_categories\models\fields\categoryedit.php

If someone can confirm this then i will mark it as deprecated and to be removed in j4

avatar brianteeman brianteeman - open - 1 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 1 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Aug 2017
Category Administration
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Aug 2017
Status New Information Required
avatar infograf768
infograf768 - comment - 2 Aug 2017

See my comment here about that file:
#9749
The question remains: is it a full replacement for categoryedit and/or could it be used by 3pd?

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Aug 2017
Status Information Required Discussion
avatar brianteeman
brianteeman - comment - 2 Aug 2017

Thanks for confirming we are not using it in core
Yes it does appear to be a full replacement (with extras)
It could be used by 3pd that is true but I really dont like "unused" files in core as it has potential for all sorts of issues especially when changes are made.

So I propose to deprecate it here and remove it j4

?

avatar tonypartridge
tonypartridge - comment - 2 Aug 2017

I agree to put is as a deprecation notice for J4 removal, devs will need to do quite a bit of work for J4 so they could always port this to their own component should they need it.

avatar brianteeman brianteeman - change - 3 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-03 08:01:34
Closed_By brianteeman
avatar brianteeman brianteeman - close - 3 Aug 2017
avatar brianteeman
brianteeman - comment - 3 Aug 2017

Closed

Add a Comment

Login with GitHub to post a comment