?
avatar astridx
astridx
2 Feb 2018

Steps to reproduce the issue

Open configuration of com_content - see attached screen shot. (Global configuration | on the left Article | then tab List Layouts

Expected result

You see only configuration options.

Actual result

You see an error in the end of the configuration options.

articles options test administration

avatar astridx astridx - open - 2 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Feb 2018
avatar Anu1601CS
Anu1601CS - comment - 2 Feb 2018

Issue confirmed.

screenshot from 2018-02-02 23-02-59

avatar Anu1601CS
Anu1601CS - comment - 3 Feb 2018

I thought that this one ia a issue but.
You have to enable Content vote plugin to see these options.

avatar ReLater
ReLater - comment - 3 Feb 2018

If you don't enable it you shouldn't see these messages but just nothing or maybe a hint that plugin is disabled.

avatar Anu1601CS
Anu1601CS - comment - 3 Feb 2018

@C-Lodder what for type=voteradio there should be no error if plugin is disable ?

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Feb 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Feb 2018
Category com_content
avatar C-Lodder
C-Lodder - comment - 3 Feb 2018

This is causing the issue: https://github.com/joomla/joomla-cms/blob/4.0-dev/layouts/joomla/form/field/radio.php#L75

Move this up to line 57, so it becomes:

<?php if (strpos(trim($class), 'switcher') !== false && !empty($options)) : ?>

and it will work

avatar Anu1601CS
Anu1601CS - comment - 3 Feb 2018

@C-Lodder it works.
Can I make PR ?

avatar C-Lodder
C-Lodder - comment - 3 Feb 2018

@Anu1601CS There's already a PR to split radio/switcher into 2 separate layouts. So I've asked Dimitris to do this in his current PR.

avatar Anu1601CS
Anu1601CS - comment - 3 Feb 2018

Ok Done! let Dimitris add this fix to his current PR.

avatar Anu1601CS
Anu1601CS - comment - 5 Feb 2018

@astridx Please test this PR #19296 and close this issue.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Feb 2018

@Anu1601CS #19296 is tested successfully by @astridx 15 Days ago.

avatar Anu1601CS
Anu1601CS - comment - 5 Feb 2018

@franz-wohlkoenig yeah , but this issue is also solved in #19296.
So, this issue should be close.

avatar joomla-cms-bot joomla-cms-bot - change - 5 Feb 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 5 Feb 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Feb 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-02-05 07:49:58
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 5 Feb 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Feb 2018

closed as stated above.


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

Add a Comment

Login with GitHub to post a comment