? ? ? Failure

User tests: Successful: Unsuccessful:

avatar Devportobello
Devportobello
9 Sep 2016

Summary of Changes

Add ability to know the visibility of a menu item in the module menu assignment

Testing Instructions

  • Create many menu items, hide some of them
  • Create or edit a module, go to the "menu assignment" tab, select "Only on the pages selected"
  • Unable to know if menu item in list are hidden or not

Patch

  • Now able to know hidden or not

Work in progress

I dunno if we need to use an "icon" or text "Hidden"

avatar Devportobello Devportobello - open - 9 Sep 2016
avatar Devportobello Devportobello - change - 9 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2016
Category Administration Components
avatar jeckodevelopment jeckodevelopment - change - 9 Sep 2016
Labels Added: ?
avatar brianteeman
brianteeman - comment - 9 Sep 2016

This PR breaks the module manager

when you open a module you get

"Error: 0 Error decoding JSON data: Syntax error"

avatar brianteeman brianteeman - test_item - 9 Sep 2016 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 9 Sep 2016

I have tested this item 🔴 unsuccessfully on 0a9086e


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

avatar killoltailored killoltailored - test_item - 10 Sep 2016 - Tested unsuccessfully
avatar killoltailored
killoltailored - comment - 10 Sep 2016

I have tested this item 🔴 unsuccessfully on 0a9086e


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

avatar jeckodevelopment
jeckodevelopment - comment - 11 Sep 2016

@Devportobello can you look at the issues with this PR?

avatar Devportobello
Devportobello - comment - 12 Sep 2016

My bad, was working on j3.6.2...
The error occur with sample data test: string '{"show_base_description":"1","categories_description":"Because this links to the root category the "uncategorised" category is displayed. ","maxLevel":"-1","show_empty_categories":"1","show_description":"1","show_description_image":"1","show_cat_num_articles":"1","display_num":"","show_headings":"","orderby_pri":"","orderby_sec":"","order_date":"","show_pagination":"","show_noauth":"","show_feed_image":"","show_feed_description":"","show_item_description":"","feed_character_count":"0","show_feed_link":"","f'... (length=737)
Json error: JSON_ERROR_SYNTAX

What is the best way to handle that ? using try/catch or there is already an issue with the data saved in DB ?

avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2016
Category Administration Components Administration Components Language & Strings
avatar brianteeman brianteeman - test_item - 12 Sep 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 12 Sep 2016

I have tested this item ✅ successfully on d9849ad

No idea if the code you wrote to handle the json issue is correct. But assuming it is then I have tested this successfully

(You will need to add the hidden flag to the template assignment as well)


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

avatar Devportobello
Devportobello - comment - 12 Sep 2016

@brianteeman

(You will need to add the hidden flag to the template assignment as well)

sorry i dont understand

avatar brianteeman
brianteeman - comment - 12 Sep 2016

You have added it to the menu listing in the menu manager and the module manager but we also get a menu listing in the template styles where you can assign a template style to a menu item
xmvf

avatar sonalitailored sonalitailored - test_item - 14 Sep 2016 - Tested successfully
avatar sonalitailored
sonalitailored - comment - 14 Sep 2016

I have tested this item ✅ successfully on d9849ad


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

avatar gwsdesk gwsdesk - test_item - 18 Sep 2016 - Tested successfully
avatar gwsdesk
gwsdesk - comment - 18 Sep 2016

I have tested this item ✅ successfully on d9849ad

works4me


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

avatar Devportobello
Devportobello - comment - 7 Nov 2016

unable to find conflict !

avatar jeckodevelopment
jeckodevelopment - comment - 7 Nov 2016

@Devportobello
Conflicting file:
administrator/components/com_modules/views/module/tmpl/edit_assignment.php

avatar Devportobello
Devportobello - comment - 7 Nov 2016

Failed to resolve that conflicts, dunno why im unable to find in my local env...

avatar wojsmol
wojsmol - comment - 7 Nov 2016

@Devportobello Personally, I do it as follows:

  • update information about state of joomla remote - git fetch joomla
  • switch branch to staging - git checkout staging
  • rebase local staging to remote - git rebase joomla/staging
  • push to my github - git push
  • switch branch to PR branch - git checkout [PR_branch_name]
  • rebase local PR branch to local staging - git rebase staging

at this point git report the first file with conflict and will mark the beginning of the conflict in the file as <<<<<<< HEAD

4f75c15 8 Nov 2016 avatar Devportobello ux
95b2c0e 8 Nov 2016 avatar Devportobello cs
avatar joomla-cms-bot joomla-cms-bot - change - 8 Nov 2016
Category Administration Components Language & Strings Repository Unit Tests Administration Components SQL Postgresql MS SQL
avatar Devportobello
Devportobello - comment - 8 Nov 2016

T_T total fail...

avatar Devportobello Devportobello - change - 8 Nov 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 8 Nov 2016
Category Administration Components Repository Unit Tests SQL Postgresql MS SQL Administration Components Language & Strings
avatar jeckodevelopment
jeckodevelopment - comment - 8 Nov 2016

@Devportobello it seems ok now!

avatar Devportobello
Devportobello - comment - 8 Nov 2016

@jeckodevelopment yes, and i dont understand why xD (was tryharding on rebase but finally just a merge got it ...)

avatar jeckodevelopment
jeckodevelopment - comment - 8 Nov 2016

So it needs to be tested now

avatar Devportobello
Devportobello - comment - 25 Nov 2016

Any milestone ?

avatar brianteeman
brianteeman - comment - 25 Nov 2016

@Devportobello we typically only add a milestone when it is ready to commit (unless it is specifically not for the next release)

avatar joomla-cms-bot joomla-cms-bot - change - 4 Jan 2017
Category Administration Components Language & Strings Administration com_menus com_modules Language & Strings Components
avatar Devportobello
Devportobello - comment - 4 Jan 2017

Conflicts resolved !

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Jan 2017

I have tested this item ✅ successfully on 87fe7ad


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 4 Jan 2017 - Tested successfully
avatar Devportobello
Devportobello - comment - 10 Feb 2017

One more test to hope J3.7 😃

avatar Devportobello
Devportobello - comment - 12 Jul 2017

Near 1 year, maybe not really usefull... close

avatar Devportobello Devportobello - change - 12 Jul 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-07-12 08:54:54
Closed_By Devportobello
avatar Devportobello Devportobello - close - 12 Jul 2017

Add a Comment

Login with GitHub to post a comment