modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

PHP-Error in manager, when saving a resource after changing the assigned template #7952

Open modxbot opened 12 years ago

modxbot commented 12 years ago

tbecherer created Redmine issue ID 7952

After changing a resource's assigned template, confirming the warning message and subsequently saving the resource, MODx reloads the manager page. Now, when you are not logged in as administrator, but as e.g. content editor with limited rights, a PHP error message is displayed on top of the manager page:

Warning: Invalid argument supplied for foreach() in /is/htdocs/website/manager/controllers/default/resource/update.class.php on line 137.

This happends every time you try to save a resource after changing the assigned template. I managed to stop the error message from being displayed by permitting resourcegroup_resource_list in the content editor user group permission settings.

MarkH commented 12 years ago

markh submitted:

I believe this has been fixed in 2.2.3 or 2.2.4 as part of another issue. Can you verify and report back?