User tests: Successful: Unsuccessful:
Partial(!) pull request for Issue #15123
Fixes 2 error messages "Undefined index: assetgroup_id", Undefined index: language_id.
@izharaazmi
Could you please check this PR if it's a practicable solution
Clear batch_commands array for batch processes of admin menus
Create 2 administrator menus A and B.
Create an administrator menu item "abcde" in A.
Select menu item "abcde" in menu items list of menu A.
Click batch button and copy or move menu item "abcde" to menu B.
In the PHP error log:
Undefined index: assetgroup_id in \joomla-cms-staging\libraries\legacy\model\admin.php on line 258
Undefined index: language_id in \joomla-cms-staging\libraries\legacy\model\admin.php on line 258
Apply patch.
Try again.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus |
Title |
|
You're right. I didn't test the "move menu item to itself" issue. Just the index thing.
The first part of your issue ("Batch process failed with following error: exception 'UnexpectedValueException' with message...") seems to be another problem that is also present when you try to move SITE menu items (not only ADMINISTRATOR menu items! Should be solved in another PR.
I'll change the testing instructions in this PR here.
Title |
|
I have tested this item
I have tested this item
Priority | Medium | ⇒ | Low |
Status | Pending | ⇒ | Ready to Commit |
Easy | No | ⇒ | Yes |
Please remove RTC, this doesn't fix the issue.
@izharaazmi will remove RTC later, CDN isn't working right now.
Status | Ready to Commit | ⇒ | Pending |
Umm, the CDN issue was fixed a while ago. I've cleared the tracker's local cache of those resources to force a refresh, otherwise everything should be normal.
Please see also my comment https://github.com/joomla/joomla-cms/pull/15152/files#r110400212
At the moment I don't understand why we needed several model specific arrays $batch_commands
and PRs if we just can use a !empty
in admin.php model.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-07 14:46:16 |
Closed_By | ⇒ | bertmert |
I have tested this item? unsuccessfully on bbf2b4e
The undefined index warnings are fixed, however, this error persists: