? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
8 Nov 2014

Executive summary

This PR converts the form validation on com_users to use plain jquery (no mootools call on every form ).
Also NO MORE INLINE SCRIPTS!

Testing

  1. Apply first PR #4888 (!important)
  2. Apply this PR
  3. In the admin area go to com_users and try to submit any form.

If no javascript errors are logged in your browser and the functionality remains the same your test is a pass in any other case please report the errors here

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar dgt41 dgt41 - open - 8 Nov 2014
avatar jissues-bot jissues-bot - change - 8 Nov 2014
The description was changed
Labels Added: ?
avatar dgt41 dgt41 - change - 8 Nov 2014
The description was changed
avatar zero-24 zero-24 - change - 9 Nov 2014
Category JavaScript
avatar smanzi
smanzi - comment - 11 Nov 2014

@test success

avatar anibalsanchez
anibalsanchez - comment - 13 Nov 2014

@test success!

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

avatar anibalsanchez anibalsanchez - test_item - 13 Nov 2014 - Tested successfully
avatar dgt41
dgt41 - comment - 13 Nov 2014

@smanzi @anibalsanchez Thank you very much for testing all these PRs. I owe you some beers ????

avatar smanzi
smanzi - comment - 13 Nov 2014

@dgt41 @anibalsanchez That would be great! :beer:

avatar roland-d roland-d - alter_testresult - 18 Nov 2014 - smanzi: Tested successfully
avatar roland-d roland-d - change - 18 Nov 2014
Status Pending Ready to Commit
avatar roland-d
roland-d - comment - 18 Nov 2014

Moving to RTC as we have 2 successful tests.

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

avatar roland-d roland-d - change - 18 Nov 2014
Labels Added: ?
avatar roland-d roland-d - change - 18 Nov 2014
Labels Removed: ?
avatar jissues-bot jissues-bot - change - 18 Nov 2014
Labels Added: ?
avatar phproberto
phproberto - comment - 20 Nov 2014

I think we need at least an extra test to validate that my latest changes to the group management work.

How to test it

  • When trying to delete a group with users inside you should see an alert box asking you confirmation
  • When trying to delete a group with no users you should be able to delete it without confirmation
avatar Fedik Fedik - test_item - 21 Nov 2014 - Tested successfully
avatar Fedik
Fedik - comment - 21 Nov 2014

test
works good for me

avatar anibalsanchez
anibalsanchez - comment - 21 Nov 2014

@test OK

  • Group deletion without users, Ok
  • Group deletion with users, standard alert, confirmation Yes, OK (group deleted)
  • Group deletion with users, standard alert, confirmation No, OK (group not deleted)
avatar dgt41
dgt41 - comment - 21 Nov 2014

@Fedik @anibalsanchez Thanks, your help is really appreciated. Can I ask you to check also, if you have spare time,
#5047 (administrator/components/com_menus/views/item/tmpl/edit_modules.php AND administrator/components/com_menus/views/menutypes/tmpl/default.php)
#5046 (administrator/components/com_languages/views/override/tmpl/edit.php)

avatar smanzi
smanzi - comment - 25 Nov 2014

@test success (all groups deletion conditions too...)

Just be a little bit picky, I hate alert messages (the "standard" ones), also because they can be switched off at the browser level. I think we should design our own modal-based alert/confirmation message...

avatar smanzi
smanzi - comment - 30 Nov 2014

@test success for this PR
Tested the set of: #5046 #5048 #5049 #5050 #5051 #5052 #5053 #5054 #5056 #5058 #5113 #5255

avatar smanzi
smanzi - comment - 30 Nov 2014

@test success for this PR (created new article in front-end, no prob!)
Tested the set of: #5046 #5048 #5049 #5050 #5051 #5052 #5053 #5054 #5056 #5058 #5113 #5255

avatar smanzi
smanzi - comment - 30 Nov 2014

sorry, misplaced comment above!

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

avatar phproberto
phproberto - comment - 30 Nov 2014

I'm confused here. Didn't we get rid of that inline scripts? I submitted a PR dgt41#10 and @dgt41 merged it but I cannot see it?

avatar smanzi
smanzi - comment - 30 Nov 2014

@phproberto: @dgt41 merged your PR 9 days ago, but I don't see signs of commits here at the same time...

avatar smanzi
smanzi - comment - 30 Nov 2014

Wrong: there is the commit. It is bb11e3a

avatar smanzi
smanzi - comment - 30 Nov 2014

... or not ...

avatar phproberto
phproberto - comment - 30 Nov 2014

No. Inline scripts are back and my commit is gone.

My branch is still online in case you need it @dgt41 https://github.com/phproberto/joomla-cms/commits/dgt41-5058-2

avatar smanzi
smanzi - comment - 30 Nov 2014

It seems good Dimitris gone :zzz: .... :smile:

avatar dgt41
dgt41 - comment - 30 Nov 2014

Still here try to figure out what happen…

avatar smanzi
smanzi - comment - 30 Nov 2014

ah, OK, sorry!!!

6a66dac 30 Nov 2014 avatar dgt41 fix
9999882 30 Nov 2014 avatar dgt41 CS
avatar dgt41
dgt41 - comment - 30 Nov 2014

The strange thing is that in commit dgt41@9999882 the code is there and disappears out of the blue!
Can we test it one more time?

avatar dgt41
dgt41 - comment - 30 Nov 2014

@smanzi @phproberto here is ok!

avatar smanzi
smanzi - comment - 30 Nov 2014

here too! e.g.: the patch downloaded by com_patchtester has at line 26-31 of administrator/components/com_users/views/groups/tmpl/default.php:

$script = '
    Joomla.submitbutton = function(task) {
        if (task == "groups.delete")
        {
            var f = document.adminForm;
            var cb="";';
avatar dgt41
dgt41 - comment - 30 Nov 2014

Yeah I pushed the code again…

avatar smanzi
smanzi - comment - 30 Nov 2014

... but I didn't reapply the patch: this is from my original patch that applied when started testing tonight...

avatar smanzi
smanzi - comment - 30 Nov 2014

do you want me to re-apply & re-test this?

avatar dgt41
dgt41 - comment - 30 Nov 2014

if you can but give me a minute

avatar smanzi
smanzi - comment - 30 Nov 2014

no prob, give me the "go"...

avatar dgt41
dgt41 - comment - 30 Nov 2014

go!

avatar dgt41
dgt41 - comment - 30 Nov 2014

Is looking good here!

avatar smanzi
smanzi - comment - 30 Nov 2014

Yes, now code different and anyway @test success!

avatar phproberto
phproberto - comment - 30 Nov 2014

Thanks. All seems ok now. We need to wait to travis so I'll go to sleep.

You did an awesome work tonight. Thanks!!

avatar smanzi
smanzi - comment - 30 Nov 2014

again @test success!

avatar smanzi
smanzi - comment - 30 Nov 2014

Good night, everybody! :sleeping:

avatar dgt41
dgt41 - comment - 30 Nov 2014

Its time ????

avatar Fedik
Fedik - comment - 30 Nov 2014

test
works good for me

avatar anibalsanchez
anibalsanchez - comment - 1 Dec 2014

@test OK

  • New user,mandatory fields
  • User Modification, mandatory fields
  • Group deletion without users, Ok
  • Group deletion with users, standard alert, confirmation Yes, OK (group deleted)
  • Group deletion with users, standard alert, confirmation No, OK (group not deleted)
avatar anibalsanchez anibalsanchez - test_item - 1 Dec 2014 - Tested successfully
avatar Bakual Bakual - close - 2 Dec 2014
avatar Bakual Bakual - change - 2 Dec 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-12-02 20:08:33
avatar Bakual
Bakual - comment - 2 Dec 2014

Merged into staging. Thanks!

Add a Comment

Login with GitHub to post a comment