? Failure

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
3 Jul 2017

The JError class is deprecated since Joomla 1.7. Guess it is time to say good by for it in Joomla 4. If this pr get accepted, then I will remove all the JError calls in the 3 series, that we can safely remove the class in 4. But first I want to have an agreement if the replacements are so ok for the maintainers.

avatar laoneo laoneo - open - 3 Jul 2017
avatar laoneo laoneo - change - 3 Jul 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2017
Category Libraries
avatar mbabker
mbabker - comment - 3 Jul 2017

FWIW it's not just removing JError that needs to be done. JObject has some tight integrations with it that would need to be addressed as well. That affects the MVC layer (plus JTable) at a minimum (I forget which API libraries are still extending JObject too).

So ? on working on phasing it out. Just keep in mind it's probably not going to be as simple as changing JError::raiseError() to throw new FooException.

avatar laoneo
laoneo - comment - 3 Jul 2017

Most usage of JError are the raise* functions. What you think about the replacement messages?

avatar laoneo laoneo - change - 5 Jul 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - close - 7 Jul 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-07-07 13:27:20
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2017
Closed_Date 2017-07-07 13:27:20 2017-07-07 13:27:21
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 7 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - close - 7 Jul 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Jul 2017

closed as having PR #17013


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

avatar laoneo
laoneo - comment - 7 Jul 2017

This one should stay open. It is for version 3 which improves the deprecated messages.

avatar joomla-cms-bot joomla-cms-bot - reopen - 7 Jul 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jul 2017
Status Closed Pending
Closed_Date 2017-07-07 13:27:21
Closed_By joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 7 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - reopen - 7 Jul 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Jul 2017

reopened, thanks for Hint, @laoneo


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

avatar laoneo
laoneo - comment - 10 Aug 2017

Any plan with this one?

avatar mbabker mbabker - change - 10 Aug 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-08-10 12:20:23
Closed_By mbabker
avatar mbabker mbabker - close - 10 Aug 2017
avatar mbabker mbabker - merge - 10 Aug 2017

Add a Comment

Login with GitHub to post a comment