? Pending

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
12 Feb 2017

Summary of Changes

In the current staging after logging in the page is full of undefined property client_id. This change fixes that by loading the client_id.

Testing Instructions

  1. Set error reporting to development public $error_reporting = 'development';
  2. Log in to the administrator section
  3. You see a blue screen with notices of undefined property_client_id.
  4. Apply patch
  5. Reload page
  6. Log out
  7. Log in
  8. Now you are logged in and see the control panel

Expected result

To login and see the control panel

Actual result

Page is full with notices
image

Documentation Changes Required

None

avatar roland-d roland-d - open - 12 Feb 2017
avatar roland-d roland-d - change - 12 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Feb 2017
Category Modules Administration
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Feb 2017

using Error-Report="Development", after login in Backend is no "blue screen with notices of undefined property_client_id".

Can you please advice where or how to see notices?

avatar roland-d
roland-d - comment - 12 Feb 2017

@franz-wohlkoenig I see them as soon as I log in. This is using the staging branch by the way.

I get the notice because this line wants to use client_id field:
https://github.com/roland-d/joomla-cms/blob/e651965e9972d48148587b6eeb9e0833330606be/administrator/modules/mod_menu/preset/enabled.php#L165-L165

However the getMenus() the line before doesn't return that field in it's dataset. This is why the undefined property is triggered.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Feb 2017

so i cannot test PR.

avatar roland-d
roland-d - comment - 12 Feb 2017

Going to close this because I found that in the installation folder the table menu_types has a client_id field. This was just not added when I fixed the database table. Adding that column fixed all the notices.

avatar roland-d roland-d - change - 12 Feb 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-02-12 13:08:40
Closed_By roland-d
Labels Added: ?
avatar roland-d roland-d - close - 12 Feb 2017

Add a Comment

Login with GitHub to post a comment