? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
29 Nov 2014

This removes some unneeded jQuery dependency on submit functions!

Test

apply patch and validate that form submission is working for administrator:
com_admin
com_banners
com_categories
com_contact
com_content
com_finder

avatar dgt41 dgt41 - open - 29 Nov 2014
avatar jissues-bot jissues-bot - change - 29 Nov 2014
Labels Added: ?
avatar dgt41 dgt41 - change - 30 Nov 2014
The description was changed
avatar zero-24
zero-24 - comment - 30 Nov 2014

@dgt41

Component Test result
com_admin issue
com_banners success
com_categories success
com_contact success
com_content success
com_finder success

Are the seach tools also in this PR?
I get there:
Uncaught TypeError: Cannot read property 'options' of null

  • (anonymous function)
    • index.php?option=com_content&view=articles:62
  • (anonymous function)
    • index.php?option=com_content&view=articles:74

com_admin:
Uncaught TypeError: undefined is not a function

  • Joomla.submitbutton:
    • index.php?option=com_admin&view=profile&layout=edit&id=XXX:31
  • onclick
    • index.php?option=com_admin&view=profile&layout=edit&id=XXX:172
avatar dgt41
dgt41 - comment - 30 Nov 2014

@zero-24 Thanks!

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 - test_item - 30 Nov 2014 - Tested successfully
avatar smanzi
smanzi - comment - 30 Nov 2014

@dgt41 @phproberto I think we are all-set... right? This PR needs one more test: can you test it, Roberto?

54890e6 30 Nov 2014 avatar dgt41 typos
avatar ghazal
ghazal - comment - 1 Dec 2014

In com_plugins,
com_plugins/views/plugin/tmpl/edit.php
Save and Save & close not working without :

jQuery(document).ready(function()
....

Should not it be this ?

        jQuery(document).ready(function() {
        Joomla.submitbutton = function(task)
    {
        if (task == 'plugin.cancel' || document.formvalidator.isValid(document.getElementById('style-form'))) {
            Joomla.submitform(task, document.getElementById('style-form'));
        }
    }
            });
avatar dgt41
dgt41 - comment - 1 Dec 2014

@ghazal actually what is missing is a ; at the end. Thanks for finding this. #5273 takes care of it!

avatar zero-24 zero-24 - change - 1 Dec 2014
Category JavaScript
avatar dgt41
dgt41 - comment - 3 Dec 2014

@anibalsanchez can you test this one?

avatar anibalsanchez
anibalsanchez - comment - 3 Dec 2014

com_admin OK
com_banners OK
com_categories OK
com_contact OK
com_content OK
com_finder Minor issue, the validator is allowing the form submission in Search Filters, and the mandatory field warning is caught server-side

avatar dgt41
dgt41 - comment - 3 Dec 2014

I guess that validator failure is caused from the not working script in that page, but we have a PR for that: #5099

avatar anibalsanchez
anibalsanchez - comment - 3 Dec 2014

@test success,

Minor issue with finder can be solved here #5099.

avatar anibalsanchez anibalsanchez - test_item - 3 Dec 2014 - Tested successfully
avatar brianteeman
brianteeman - comment - 3 Dec 2014

Two good tests setting to RTc - thanks

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

avatar brianteeman brianteeman - change - 3 Dec 2014
Status Pending Ready to Commit
avatar brianteeman brianteeman - change - 3 Dec 2014
Labels Added: ?
avatar wilsonge
wilsonge - comment - 10 Dec 2014

@dgt41 This looks similar to the PR that broke saving user notes (see #5363) can you confirm that you don't get the same issue here please?

avatar dgt41
dgt41 - comment - 10 Dec 2014

@wilsonge Some insights:
administrator/components/com_admin/views/profile/tmpl/edit.php no text area, everything ok
administrator/components/com_banners/views/banner/tmpl/edit.php text area at description saves ok
administrator/components/com_banners/views/client/tmpl/edit.php text area at Additional Information saves ok
administrator/components/com_categories/views/category/tmpl/edit.php version note is not saved ??
administrator/components/com_contact/views/contact/tmpl/edit.php saves ok
administrator/components/com_content/views/article/tmpl/edit.php saves ok
administrator/components/com_finder ok

avatar dgt41
dgt41 - comment - 11 Dec 2014

@wilsonge George I wanted to inform you that this pr solves a bug in profile edit (active right now on staging). There is a .id() where it should be .getElementById() here

avatar dgt41
dgt41 - comment - 14 Dec 2014

@wilsonge I stated above that version note is not saved, but that is wrong! the note is saved (you can see it in content history modal) but I guess the reload of the form doesn’t take account of any existing value. So all clear here!

avatar wilsonge wilsonge - close - 22 Dec 2014
avatar zero-24 zero-24 - close - 22 Dec 2014
avatar wilsonge wilsonge - change - 22 Dec 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-12-22 22:55:11
avatar wilsonge wilsonge - test_item - 22 Dec 2014 - Tested successfully
avatar wilsonge
wilsonge - comment - 22 Dec 2014

@test works fine here as well. Merging


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

avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment