? Success

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
5 Nov 2016

Pull Request for Issue #12614

Summary of Changes

The method to get the super users have a problem in getting the super user groups

Testing Instructions

place this code

$rootId = JTable::getInstance('Asset', 'JTable')->getRootId();
$rules = JAccess::getAssetRules($rootId)->getData();
$rawGroups = $rules['core.admin'];
$rawGroups_new = $rules['core.admin']->getData();
$rawGroups_old = $rules['core.admin'];

echo 'Old Result:<br>';
print_r($rawGroups_old);
echo '<br>New result:<br>';
print_r($rawGroups_new);

In the index.php of your template (you can use the template manager for that)

Result:
image

Documentation Changes Required

None it is a PHP Problem

avatar zero-24 zero-24 - open - 5 Nov 2016
avatar zero-24 zero-24 - change - 5 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2016
Category Front End Plugins
avatar zero-24 zero-24 - change - 5 Nov 2016
Title
[
Fix updatenotificaltion plugin
Labels Added: ?
avatar zero-24 zero-24 - edited - 5 Nov 2016
avatar zero-24 zero-24 - change - 5 Nov 2016
Title
[
Fix updatenotificaltion plugin
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
The description was changed
avatar zero-24 zero-24 - edited - 5 Nov 2016
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 brianteeman
brianteeman - comment - 10 Nov 2016

@zero-24 you say to place some code in the template. Is that result supposed to be before or after the PR or are you saying that it should be the same before AND after the PR


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

avatar zero-24
zero-24 - comment - 11 Nov 2016

Correct as the patch fix the code in the update plugin which i can't find a way to test. There fore i have created the snipped which shows the old / wrong value and the new value

avatar infograf768
infograf768 - comment - 11 Nov 2016

Confused here too:
I get the same result before and after patch.
Is there something missing in your test instructions?

avatar zero-24
zero-24 - comment - 11 Nov 2016

Please look at the code ;)

It should just show that the new code produce the correct result. I have not found a way to exactly test the method in the plugin. So i have added here the code that shows the result before and after. Applying the patch does not change anything as this is just the patch to have the new value in the plugin method.

avatar brianteeman brianteeman - test_item - 14 Nov 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 Nov 2016

I have tested this item successfully on a6b7267


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

avatar degobbis
degobbis - comment - 19 Nov 2016

I have tested this item successfully on a6b7267


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

avatar degobbis degobbis - test_item - 19 Nov 2016 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 19 Nov 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 19 Nov 2016

RTC


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

avatar rdeutz rdeutz - change - 20 Nov 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-11-20 09:46:11
Closed_By rdeutz
avatar rdeutz rdeutz - close - 20 Nov 2016
avatar rdeutz rdeutz - merge - 20 Nov 2016
avatar rdeutz rdeutz - reference | b95b146 - 20 Nov 16
avatar rdeutz rdeutz - merge - 20 Nov 2016
avatar rdeutz rdeutz - close - 20 Nov 2016

Add a Comment

Login with GitHub to post a comment