? Success
Related to # 6509

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
20 Mar 2015

This is the follow up to this here: #6509

Define the Joomla 'core' function inside of a strict closure, fix all the ensuing problems.

  • missing semicolons: fixed
  • undeclared variables: fixed
  • nonsense code: sort of fixed

Testing

These functions are used all over the place and, since the file was not in strict mode before, the mistakes in it were not apparent anyway. So the best way to test is to first try #6509 and see where it goes wrong. There is usually a comment above each function to tell where it is used. These are generally reliable.

There are certainly several functions which are no longer used at all and some which are specifically deprecated. There is some chance that a 3rd party is using them but there should be a plan for removing all the junk.

avatar okonomiyaki3000 okonomiyaki3000 - open - 20 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2015
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2015
Labels Added: ?
avatar okonomiyaki3000 okonomiyaki3000 - change - 20 Mar 2015
Title
Fix up the 'core' javscript file
Fix up the 'core' javascript file
avatar zero-24 zero-24 - change - 20 Mar 2015
Rel_Number 6509
Relation Type Related to
avatar zero-24 zero-24 - change - 20 Mar 2015
Easy No Yes
avatar zero-24 zero-24 - change - 22 Mar 2015
Category JavaScript
avatar Fedik
Fedik - comment - 14 Jun 2015

@okonomiyaki3000 please check the core.js, there was some changes to Joomla.submitform, and maybe some other ... that cause the merge conflict

avatar okonomiyaki3000
okonomiyaki3000 - comment - 16 Jun 2015

Uh. Great. These errors have nothing to do with any of these changes. Thanks, Travis.

avatar okonomiyaki3000
okonomiyaki3000 - comment - 16 Jun 2015

It seems that FOFPlatform (whatever it is) does not implement the method logAddLogger which it is supposed to do. So this causes Travis to fail. Please note that FOFPlatform has nothing to do with the core javascript file which is the only thing modified by this PR.

avatar Fedik
Fedik - comment - 16 Jun 2015

test works good for me

avatar Fedik Fedik - test_item - 16 Jun 2015 - Tested successfully
avatar Bakual
Bakual - comment - 16 Jun 2015

These errors have nothing to do with any of these changes. Thanks, Travis.

Travis recently sometimes stalls because it takes to long to fetch the dependencies with composer.
I've restarted the failing job, hopefully it will pass now.

avatar anibalsanchez
anibalsanchez - comment - 20 Jun 2015

#TEST OK

Nice to have a cleaner Javascript implementation.


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

avatar anibalsanchez anibalsanchez - test_item - 20 Jun 2015 - Tested successfully
avatar zero-24 zero-24 - change - 21 Jun 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 21 Jun 2015

RTC Thanks :smile:


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

avatar zero-24 zero-24 - change - 21 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 2 Jul 2015
Milestone Added:
avatar zero-24 zero-24 - change - 2 Jul 2015
Milestone Added:
avatar Kubik-Rubik Kubik-Rubik - change - 9 Jul 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-07-09 08:44:26
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 9 Jul 2015
avatar Kubik-Rubik Kubik-Rubik - close - 9 Jul 2015
avatar zero-24 zero-24 - close - 9 Jul 2015
avatar Kubik-Rubik
Kubik-Rubik - comment - 9 Jul 2015

Thank you @okonomiyaki3000. I've fixed the conflicts and merged the PR.

avatar javigomez
javigomez - comment - 9 Jul 2015

@Kubik-Rubik I think this merge cause this issue: http://issues.joomla.org/tracker/joomla-cms/7388

avatar Kubik-Rubik
Kubik-Rubik - comment - 9 Jul 2015

@javigomez Thank you, we have to check it.

@okonomiyaki3000 @Fedik @anibalsanchez Could you also take a look?

avatar Fedik
Fedik - comment - 9 Jul 2015

yes, need some time, and I will make a pull ... if no one will make it faster :smile:

avatar Fedik
Fedik - comment - 9 Jul 2015

@Kubik-Rubik there it is #7391

avatar Kubik-Rubik
Kubik-Rubik - comment - 9 Jul 2015

@Fedik Wow, that was fast. Thank you, I will check it soon. @javigomez Could you please test this PR #7391 by Fedik?

avatar okonomiyaki3000
okonomiyaki3000 - comment - 10 Jul 2015
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?
avatar okonomiyaki3000 okonomiyaki3000 - head_ref_deleted - 25 Jan 2016

Add a Comment

Login with GitHub to post a comment