? ? Pending

User tests: Successful: Unsuccessful:

avatar Ruud68
Ruud68
21 Dec 2017

Pull Request for Issue # .

Summary of Changes

Changed the close button (footer) to execute the plugin.cancel task

Testing Instructions

  1. [tab 1]open com_redirect
  2. [tab 2] open second tab with com_plugins and filter on 'redirect' plugin
  3. in [tab 2] enable the redirect plugin and disable the collect urls > save the plugin
  4. in [tab 1] in com_redirect click the 'Redirect System Plugin' link in the notice
  5. clicking the [Close] button will close the modal

Expected result

The plg_system_redirect should be checked in

Actual result

The plg_system_redirect is NOT checked in.
in [tab 2] press ctrl-f5 and you can see that although the modal in tab 1 is closed, the plugin is not checked in correct.

Documentation Changes Required

none.

Note

this was previously fixed here: #18292 but unfortunately reintroduced with normalize patch: #18913

avatar Ruud68 Ruud68 - open - 21 Dec 2017
avatar Ruud68 Ruud68 - change - 21 Dec 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Dec 2017
Category Administration com_redirect
avatar Quy
Quy - comment - 23 Dec 2017

In the edit article modal, <a> is used instead of <button>. Maybe use <a> to be consistent.
article-edit-modal

avatar Ruud68
Ruud68 - comment - 23 Dec 2017

What I learned is that using the < a> in a form is wrong. Although it works, it behaves differently in e.g. accessibility use cases (for a Screen-Reader a link behaves different to a button (tab index, space bar / enter behavior)).
https://css-tricks.com/use-button-element/

Op 23 dec. 2017 19:11, om 19:11, Quy notifications@github.com schreef:

In the edit article modal, <a> is used instead of <button>. Maybe
use <a> to be consistent.
article-edit-modal

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#19116 (comment)

avatar Ruud68 Ruud68 - change - 24 Dec 2017
Labels Added: ?
avatar Quy Quy - test_item - 24 Dec 2017 - Tested successfully
avatar Quy
Quy - comment - 24 Dec 2017

I have tested this item successfully on 71bb5d9


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

avatar sandewt sandewt - test_item - 25 Dec 2017 - Tested successfully
avatar sandewt
sandewt - comment - 25 Dec 2017

I have tested this item successfully on 71bb5d9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19116.
Tested in: Firefox 57.0.3

avatar dgt41
dgt41 - comment - 25 Dec 2017

What I learned is that using the < a> in a form is wrong

The reason for A tag instead of BUTTON, which is the correct one, has to do with the stupid bootstrap modal script! To verify this go to the page with this modal and press enter (it doesn't matter which element has focus), the form will be submitted although it shouldn't. Now change the Button to A tags and retest, form will not submit!

This is a hack that is needed atm as we cannot change the Bootstrap 2.3.2 javascript!

avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Dec 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Dec 2017

Ready to Commit after two successful tests.

avatar dgt41
dgt41 - comment - 25 Dec 2017

@franz-wohlkoenig NO, the tags need to be converted to A for the reason I stated above. Please remove the RTC label

avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Dec 2017
Status Ready to Commit New
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Dec 2017
Status New Pending
avatar Ruud68
Ruud68 - comment - 29 Dec 2017

Hello @dgt41, just tried what you described: open the modal, press enter key.
The form stays open and doesn't close...
I think this is because on the form there is now NO button of type submit (all buttons are of type = 'button').
So I tested this successfully


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

avatar dgt41
dgt41 - comment - 29 Dec 2017

You need to test this with Firefox

avatar Ruud68
Ruud68 - comment - 29 Dec 2017

I am testing this with Firefox (Quantum): 57.0.3 (64-bit)
cannot reproduce the case you are describing: sorry :(


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

avatar sandewt sandewt - test_item - 29 Dec 2017 - Tested unsuccessfully
avatar sandewt
sandewt - comment - 29 Dec 2017

I have tested this item ? unsuccessfully on 71bb5d9

This time a tested in Google Chrome 63.0.3239.108

Because here is it not a real issue, because I can not reproduce it !!!

See earlier test too.


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

I can not reproduce the case of @dgt41 in Firefox and Google Chrome.

avatar sandewt
sandewt - comment - 29 Dec 2017

@Ruud68 have you tested in Google Chrome (without the patch tester)? Result?
So not, can you test?

avatar Ruud68
Ruud68 - comment - 30 Dec 2017

Hi @sandewt I have just installed Google Chrome (Version 63.0.3239.108 (Official Build) (64-bit))
my patch works, and also the issue reported by @dgt41 regarding the closing of the modal when pressing the [enter] key: pressing the [enter] key does NOT close the modal (tested now on both Firefox and Chrome)

You tested unsuccessful, what is it that you tested? I am confused :)

avatar sandewt
sandewt - comment - 30 Dec 2017

Hi @Ruud68,

There is a misunderstanding.

I mean with unsuccessfull in Google Chrome that the plugin is (remains) checked in without and with the patch tester. So you don't need the patch tester!

I can't reproduce the case of @dgt41 in Firefox and Google Chrome.

Gr.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19116.
Note: Tested in Firefox 57.0.3 successfull.

avatar Ruud68
Ruud68 - comment - 31 Dec 2017

Okay, retested everything both with FF and Chrome.

without patch:
Firefox has the issue that the plugin is not checked in when closing the modal window via the [close] button
Chrome does NOT have this issue: the modal is checked in correct (as found by @sandewt )
The issue reported by @dgt41 that pressing the enter key in the modal window closes the modal is NOT reproducible on both FF and Chrome.

with the patch applied:
Firefox checks in the modal CORRECT when closing the modal with the [close] button
Chrome checks in the modal CORRECT when closing the modal with the [close] button
Again: The issue reported by @dgt41 that pressing the enter key in the modal window closes the modal is NOT reproducible on both FF and Chrome.

So the issue raised by @dgt41 that blocks this patch from becoming RTC CANNOT be reproduced (at least by me and @sandewt ). I have tried to reproduce on both a clean install as on (multiple) production sites).

How to proceed?


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

avatar dgt41
dgt41 - comment - 31 Dec 2017

@Ruud68 I raised the issue because I had to patch this couple of times in the past, if this is not an issue anymore then this is RTC!
Just to be clear here I was talking about #14483
@franz-wohlkoenig you can move this to RTC again

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Dec 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Dec 2017

Ready to Commit as stated above.

avatar mbabker mbabker - change - 3 Jan 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-01-03 00:12:59
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 3 Jan 2018
avatar mbabker mbabker - merge - 3 Jan 2018

Add a Comment

Login with GitHub to post a comment