? Success

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
2 Oct 2016

This PR removes almost all calls to JError::raiseError() and replaces them with either a JViewGenericdataexception or a JUserAuthorizationException.

avatar Hackwar Hackwar - open - 2 Oct 2016
avatar Hackwar Hackwar - change - 2 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Oct 2016
Category Administration Components
avatar Hackwar
Hackwar - comment - 6 Oct 2016

I reverted several of the changes to concentrate on the view.html.php files. I also introduced 2 new exceptions, JViewGenericdataexception and JUserAuthorizationException. Those 2 are consistently used throughout the view.html.php files. I'm wondering if it wouldn't be better to create a new branch and new PR with just those view.html.php files...

avatar mbabker
mbabker - comment - 6 Oct 2016

There are also a couple new Exception classes added for either 3.6.3 or 3.7
from Andre. I think his was only a controller exception but I say it
because I think it dealt with authorization.

On Thursday, October 6, 2016, Hannes Papenberg notifications@github.com
wrote:

I reverted several of the changes to concentrate on the view..php files.
I also introduced 2 new exceptions, JViewGenericdataexception and
JUserAuthorizationException. Those 2 are consistently used throughout the
view.
.php files. I'm wondering if it wouldn't be better to create a new
branch and new PR with just those view.*.php files...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12272 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfodYFEqP2cgK9trq2_5jZ7Bpp8aTiks5qxXctgaJpZM4KMJdF
.

avatar Hackwar Hackwar - change - 6 Oct 2016
The description was changed
avatar Hackwar Hackwar - edited - 6 Oct 2016
avatar Hackwar
Hackwar - comment - 6 Oct 2016

I've reverted most of the stuff and started over and just concentrated on the view files. Taking babysteps here... I would keep it at this and do further refactoring in other PRs.

avatar wilsonge
wilsonge - comment - 7 Oct 2016

This is beginning to look significantly better :)

avatar Hackwar
Hackwar - comment - 11 Oct 2016

Should we merge this for the moment or do you want more changes before accepting this?

avatar wilsonge wilsonge - change - 29 Oct 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-10-29 20:50:32
Closed_By wilsonge
avatar wilsonge wilsonge - close - 29 Oct 2016
avatar wilsonge wilsonge - merge - 29 Oct 2016

Add a Comment

Login with GitHub to post a comment