Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[com_menus] New menu item. Force client in menu item parent to not show admin menus #11355

Merged
merged 2 commits into from
Aug 12, 2016

Conversation

andrepereiradasilva
Copy link
Contributor

@andrepereiradasilva andrepereiradasilva commented Jul 29, 2016

Pull Request for New Issue.

Summary of Changes

Another joomla cms bug was discovered in joomla gsoc multilangue project.
When creating a new menu item without menu type selected the parent id select box shows all site AND admin menus!
This PR intends to solves that.

Testing Instructions

  1. Use latest staging
  2. Logout
  3. Login in Admin and go directy to Menus -> All Menu Items
  4. Click New
  5. Check the parent menu selector. you will see something like this
    image
  6. Apply patch
  7. Do the same tests, check all is fine
  8. Test creating/editing menu items to make sure nothing is breaked
  9. Code review

@infograf768 @jreys @alikon

@andrepereiradasilva andrepereiradasilva changed the title [com_menus] New menu item force client in menu item parent [com_menus] New menu item. Force client in menu item parent to not show admin menus Jul 29, 2016
@infograf768
Copy link
Member

I have tested this item ✅ successfully on

This works fine.

The issue is a side effect of the new All menu items PR as, before that, the Menu field was always filled and we got the right possible parents.


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

@jreys
Copy link
Contributor

jreys commented Jul 29, 2016

I have tested this item ✅ successfully on 0736965


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

@infograf768
Copy link
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 29, 2016
@brianteeman
Copy link
Contributor

I thought I couldnt replicate this but it only happens if you do step 3

On 29 July 2016 at 17:33, andrepereiradasilva notifications@github.com
wrote:

Pull Request for New Issue.
Summary of Changes

Another byg was discovered in joomla gsoc multilangue project.
When creating a new menu item without menu type selected the parent id
select box shows all site AND admin menus!
Thsi PR solves that.
Testing Instructions

  1. Use latest staging
  2. Logout
  3. Login in Admin and go directy to Menus -> All Menu Items
  4. Click New
  5. Check the parent menu selector. you will see something like this [image:
    image]
    https://cloud.githubusercontent.com/assets/9630530/17255703/3bc8942c-55b2-11e6-8b59-88fa2176bc89.png
  6. Apply patch
  7. Do the same tests, check all is fine
  8. Test creating/editing menu items to make sure nothing is breaked
  9. Code review

You can view, comment on, or merge this pull request online at:

#11355
Commit Summary

  • force client in menu item parent

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11355, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8cPXsSDXB-c_fXNnyWzB7jR8sM3Lks5qaitngaJpZM4JYXGu
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

@andrepereiradasilva
Copy link
Contributor Author

yeah, it happens when you don't have any menu type in user state. that's why i say in test instructions to logout.

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 0736965


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

@infograf768
Copy link
Member

@wilsonge
This is totally B/C.

@andrepereiradasilva
Copy link
Contributor Author

3.6.2 milestone?

@andrepereiradasilva
Copy link
Contributor Author

ok it's 3.6.3 sorry

@alikon
Copy link
Contributor

alikon commented Aug 12, 2016

unable to mark successfull test on issues.joomla.org

@brianteeman
Copy link
Contributor

@alikon I can do it for you if needed


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

@alikon
Copy link
Contributor

alikon commented Aug 12, 2016

thanks brian
there is no need as it is already RTC

p.s.
grrr i'm still experiencing "strange" issues with issues.joomla.org 😢

@brianteeman
Copy link
Contributor

brianteeman commented Aug 12, 2016 via email

@wilsonge wilsonge merged commit 884a0d8 into joomla:staging Aug 12, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 12, 2016
@andrepereiradasilva andrepereiradasilva deleted the menu-client branch August 12, 2016 15:09
roland-d pushed a commit to roland-d/joomla-cms that referenced this pull request Sep 11, 2016
…ow admin menus (joomla#11355)

* force client in menu item parent

* null is the defaul value so we son't need it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants