?
avatar mbabker
mbabker
8 Jul 2016

Steps to reproduce the issue

The joomla.edit.global and joomla.edit.publishingdata layouts both have a call to $displayData->get('fields') (a JViewLegacy instance) and if nothing is returned from that both of them specify an array of fields to be displayed. However, both of these layouts use separate default arrays, therefore it is not possible to use the get method to specify fields to display for only one of the layouts.

Note that this may affect more layouts, however I have only looked at these two explicitly because they are the two I hit this bug with.

Expected result

Fields references should be unique to each layout.

Actual result

Fields references are global and affect multiple layouts.

avatar mbabker mbabker - open - 8 Jul 2016
avatar brianteeman
brianteeman - comment - 8 Jul 2016

Thanks. That explains the issue I had this morning as well.

avatar brianteeman brianteeman - change - 10 Jul 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 28 Jul 2016
Category Layout
avatar mbabker mbabker - change - 11 Dec 2016
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-12-11 22:58:19
Closed_By mbabker
avatar mbabker mbabker - close - 11 Dec 2016
avatar mbabker
mbabker - comment - 11 Dec 2016

Fixing this requires major B/C breaks to the logic in a lot of layouts. Closing as too disruptive.

Add a Comment

Login with GitHub to post a comment