No Code Attached Yet
avatar Sulpher
Sulpher
4 May 2020

Steps to reproduce the issue

I've created admin menu and added a few menu items.
Now I want to move these items to another admin menu.
I am checking a few menu items and clicking on "Batch" button.

Screen Shot 2020-05-04 at 12 36 52
Screen Shot 2020-05-04 at 12 37 04
Screen Shot 2020-05-04 at 12 37 15

Expected result

There should be a button to confirm the action.

Actual result

There is just "Cancel" button. I cannot finalize the process of moving.

System information (as much as possible)

Joomla 3.9.18

avatar Sulpher Sulpher - open - 4 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 4 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 May 2020
avatar infograf768
infograf768 - comment - 4 May 2020

Confirmed

It looks like a published admin menu item gets "" (empty) for the variable $published instead of > 0, i.e. 1
code is
<?php if ((strlen($menuType) && $menuType != '*' && $clientId == 0) || ($published > 0 && $clientId == 1)): ?>

avatar jwaisner jwaisner - change - 4 May 2020
Status New Confirmed
avatar zero-24 zero-24 - close - 31 Jan 2022
avatar zero-24
zero-24 - comment - 31 Jan 2022

Closing as there is a PR: #36907 by @brianteeman thanks!

avatar zero-24 zero-24 - change - 31 Jan 2022
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2022-01-31 22:42:05
Closed_By zero-24
Labels Added: No Code Attached Yet
Removed: ?

Add a Comment

Login with GitHub to post a comment