? ? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
25 Apr 2017

Pull Request for Issue # .

Summary of Changes

  • remove or move code out of core.js
  • Rename global functions to Joomla.functionName (for testing and because it's not nice to pollute to have global functions)
  • fix the multi select console error

Testing Instructions

Apply patch and test any list view (e.g. articles that ALL the links, buttons work as expected)
Try the sendmail in Global Configuration
And also in the global configuration [System Settings] try the button refresh for the Help Server

Expected result

Actual result

Documentation Changes Required

e75b17d 25 Apr 2017 avatar dgt41 more
8f89dc1 25 Apr 2017 avatar dgt41 more
80c822b 25 Apr 2017 avatar dgt41 more
avatar dgt41 dgt41 - open - 25 Apr 2017
avatar dgt41 dgt41 - change - 25 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2017
Category Libraries JavaScript
avatar C-Lodder
C-Lodder - comment - 25 Apr 2017

Working so far:

  • Send mail
  • Help server refresh
  • List view toolbar buttons
  • List views multiselect
  • User field
avatar dgt41 dgt41 - change - 25 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2017
Category Libraries JavaScript Libraries JavaScript Unit Tests
avatar dgt41 dgt41 - change - 25 Apr 2017
Labels Added: ?
avatar rjcf18
rjcf18 - comment - 25 Apr 2017

I have tested this item ? unsuccessfully on a4a086a

So in the articles view in com_content when I click on the publish/unpublish and feature toggle buttons in the status column an error occurs.
deepinscreenshot20170425211828
deepinscreenshot20170425211849

Also when I order by status for instance and when hovering on other buttons like the ones on the status column another error occurs. Try hovering around and clicking to replicate this.
deepinscreenshot20170425213305

Regarding the rest of the buttons and links I've tried several of them and all seems to be working fine.
deepinscreenshot20170425211928

The rest (send mail and refresh help server) I'm not sure if it is working fine, not sure if the behaviour I've witnessed is the expected one.
Regarding the send mail part no errors in the console happened but an error message popped up, not sure if that was the expected behaviour:
deepinscreenshot20170425212335

And finally regarding the help server refresh no JS errors spotted and nothing happened on click, also not sure if this was the intended behaviour.
deepinscreenshot20170425212629


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15533.
avatar rjcf18 rjcf18 - test_item - 25 Apr 2017 - Tested unsuccessfully
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2017
Category Libraries JavaScript Unit Tests Administration com_contact com_content com_contenthistory com_messages com_redirect Libraries JavaScript Unit Tests
avatar dgt41
dgt41 - comment - 25 Apr 2017

@rjcf18 thanks!

  • So the first 2 are bugs but it should be fixed now.
  • tooltips error is due to bootstrap (is all over the backend not related to this PR)
  • Send mail is correctly showing you the error message
  • Help refresh is just refreshing the dropdown
avatar rjcf18
rjcf18 - comment - 25 Apr 2017

Ah ok nice! :)
The last two I was a bit unsure. I'll test again to check the other two bugs.

avatar rjcf18
rjcf18 - comment - 25 Apr 2017

I have tested this item ? unsuccessfully on 3ba1f01

There is still an error, a different one this time, in those same two buttons from the status column:
deepinscreenshot20170425234503
deepinscreenshot20170425234242


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

avatar rjcf18 rjcf18 - test_item - 25 Apr 2017 - Tested unsuccessfully
avatar dgt41
dgt41 - comment - 25 Apr 2017

@rjcf18 sorry my bad, wrong copy paste...

beabb76 25 Apr 2017 avatar dgt41 grrr
avatar rjcf18
rjcf18 - comment - 26 Apr 2017

I have tested this item successfully on beabb76

Problem has been solved, the two buttons on the status column are now working and no errors were spotted on console.


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

avatar rjcf18 rjcf18 - test_item - 26 Apr 2017 - Tested successfully
avatar ciar4n
ciar4n - comment - 26 Apr 2017

I have tested this item successfully on beabb76


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

avatar ciar4n ciar4n - test_item - 26 Apr 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Apr 2017

RTC after two successful tests.

avatar wilsonge
wilsonge - comment - 29 Apr 2017

Can we deprecate the core.js and fix conflicts please?

avatar dgt41
dgt41 - comment - 29 Apr 2017

Can we deprecate the core.js

The idea is to clean up the bloated code from core.js, rename that file to joomla.js or system.js and also introduce JHtml::_('behavior.system') (or something like that. So in short, core.js will be the same as 3.7
The main thing with the javascript is to establish a strategy to create the final files

avatar dgt41 dgt41 - change - 3 May 2017
Status Ready to Commit Pending
Labels
avatar dgt41
dgt41 - comment - 24 May 2017

I will redo this one later on..

avatar dgt41 dgt41 - change - 24 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-24 21:03:11
Closed_By dgt41
Labels
avatar dgt41 dgt41 - close - 24 May 2017

Add a Comment

Login with GitHub to post a comment