BIG +1 for starting this.
Expect some PRs ;)
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
is this from the auth plugin ?
----
Sent from my Android =;)
Is this still valid code or is there a replacement. I think it's the only lines I still use and the core do use it. Do I need them at all?
// Check for errors.
if (count($errors = $this->get('Errors')))
{
JError::raiseError(500, implode("\n", $errors));
return false;
}
On 10.06.2013 02:56, elin wrote:
There are still many places that we are using JError and JException. After some discussion at JAB we came up with this plan.
We know that it is potentially a problem for developers (including CMS developer) if they are expecting JErrors and get php exceptions, so we would like in general to fix at a dot release rather than piecemeal. Even though everyone has known since 1.6 planning started that these were on their way out, we all know that people wait until the last minute to deal with things.So some will be caught unprepared for any change.
So, the idea we came up with is this. There is an exceptions project here:
https://github.com/joomla-projects/joomla-cms/tree/feature-exceptions
and we'd encourage people to make pull requests helping to move the process along. So if you find something, just fix and send a quick PR, or if you want to be a hero or heroine, do a search for JError and JException and do a big chunk of them. Then whatever gets done can be tested and merged into the beta of 3.2 so people have a chance to find those unexpected cases. It would also be great to take this opportunity to write some "expected exception" test cases where we don't have them if you want real glory..
Really, this will help make the CMS much more modern and forward looking, we don't need to be using code designed to solve problems in PHP that are not there any more.
Elin
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-cms@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-cms@googlegroups.com.