User tests: Successful: Unsuccessful:
First, this PR reverts #13838 because it's inconsistent from a user perspective: the new admin menu has a built-in recovery mode that checks the presence of important menu items and offers a link that temporarily restores the old menu structure. With #13838 an additional check for the component container item was added - but not to the recovery mode, but to the general code of the module causing the item to show up without any explanation.
This PR moves the check for the container to the general recovery-mode logic and adjusts the messages accordingly, giving a consistent workflow.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings Modules |
Labels |
Added:
?
?
|
Two things that I don't like here:
Rest is fine by me. No objection to this approach.
@izharaazmi: I don't get the issue you are mentioning in 2. I haven't touched the checks logic at all, just moved it to a different place?
The menu permission is ok. What I am talking about can be reproduced as below:
Am I clear?
Ok, now I get what you mean - but If I read the code correctly, this won't happen anyway? The check for the container only checks if a menuitem with the type "container" exists - if so, now message is shown. Once the message processing is done, the loadItems() method is called where an empty container is hidden anyway, so this happens AFTER the check and doesn't interfere with it?
@izharaazmi
I think it is a good idea to force component container in the same way we do for modules and menu items.
Can you folks complete this patch in collaboration?
@SniperSister is this PR to test or are you working in collaboratin like @infograf768 suggested?
I think we are waiting for @izharaazmi to provide feedback on my question
Alright. I'll do it. :)
Thanks for Info @SniperSister @izharaazmi
@izharaazmi
Better be fast as next release is a RC and we may freeze languages. :)
@infograf768 I am going to show the warning against "container" only to
those users who has access to menu manager. Coz, IMO others can't do
anything about it anyway. Is that okay?
i guess any custom admin menu item, including these in component container should anyway display only when the user has permissions for the components concerned.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-25 09:56:05 |
Closed_By | ⇒ | infograf768 |
Set to "closed" on behalf of @infograf768 by The JTracker Application at issues.joomla.org/joomla-cms/13932
Closing in favour of #14235
Thanks!
@izharaazmi
what do you think?