J3 Issue ?
avatar UWiX-nl
UWiX-nl
23 Jan 2019

Steps to reproduce the issue

Create a config.xml file or use the component.xml file to add a note:

    <field 
        name="note_exceptions" 
        type="note" 
        class="alert alert-info" 
        close="true" 
        label="PLG_SYSTEM_MYPLUGIN_FIELD_OVERRIDE_LBL" 
        description="PLG_SYSTEM_MYPLUGIN_FIELD_OVERRIDE_DESC" 
    />

Open up the options of the component/plugin and check the note. It produces a blue alert window which can be closed with a title and description. But the description is repeated once more below the alert-window in text-muted style (without the title).

Expected result

Show the alert-window with the title and description without a repetition of the description below the alert-window.

Actual result

It produces a blue alert-window which can be closed with a title and description. The description is repeated once more below the alert-window in text-muted style (without the title).

System information (as much as possible)

Joomla! 4-alph6 running Xampp with PHP 7.2.5 and MySQLi 5.0.12-dev-20150407

Additional comments

The file "/layouts/joomla/form/renderfield.php" contains exta lines after the <div class="controls"...>:

<?php if (!empty($description)) : ?>
    <div id="<?php echo $id; ?>">
        <small class="form-text text-muted"><?php echo $description; ?></small>
    </div>
<?php endif; ?>

Removing these will solve the issue but I guess they are there for a reason because it's used as a description below the input fields. A check fot field type so it will not show the line duplicated when it's a "note" field?

avatar UWiX-nl UWiX-nl - open - 23 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jan 2019
avatar UWiX-nl UWiX-nl - change - 24 Jan 2019
The description was changed
avatar UWiX-nl UWiX-nl - edited - 24 Jan 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

@infograf768 can you please comment?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2019

@infograf768 reminder.

avatar infograf768
infograf768 - comment - 16 Mar 2019

??

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2019
avatar infograf768
infograf768 - comment - 16 Mar 2019

Honestly, at this time, no idea about that.
Here I get if I add this field in com_content config.xml
Screen Shot 2019-03-16 at 19 12 51

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2019

thanks for Comment @infograf768

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 4 Apr 2019
avatar alikon
alikon - comment - 10 Apr 2019

this issue was reported on Joomla! 4-alpha-6...
hopefully has been resolved ? and could always be reopened if needed
@franz-wohlkoenig please close

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Apr 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-04-10 17:37:22
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 10 Apr 2019

Add a Comment

Login with GitHub to post a comment