? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
25 Apr 2017

Pull Request for Issue #15305 .

Summary of Changes

Using data attributes for passing php data to javascript is totally fine (and very welcome) but in this particular occasion we need another way, since all the front end templates either need to update to echo this data attribute (not very likely to happen) or will not work.

So lets use the language strings (since what we're passing is just a word/string)...

Testing Instructions

Create a com_content custom field and edit an article from the front end.

Expected result

Actual result

no errorSpinning logo appears correctly, no error 404 not found in the browser's console

Documentation Changes Required

Nope

8745f48 25 Apr 2017 avatar dgt41 init
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 Administration Templates (admin) Libraries JavaScript
avatar dgt41 dgt41 - change - 25 Apr 2017
The description was changed
avatar dgt41 dgt41 - edited - 25 Apr 2017
avatar brianteeman
brianteeman - comment - 12 May 2017

I have tested this item ? unsuccessfully on 8745f48

something in this PR is killing things like patchtester


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

avatar brianteeman brianteeman - test_item - 12 May 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 May 2017

Open without PR an Article, Tab "Content" or Tab "Fields", got in Console/JS: Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-migrate.min.js:2:1714

avatar AlexRed
AlexRed - comment - 19 May 2017

I can confirm the problem on Joomla! 3.7.2-Dev (nightly Build)

avatar brianteeman
brianteeman - comment - 22 May 2017

after applying the patch all i get anywhere is

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in C:\Apache24\htdocs\cms\libraries\cms\html\html.php on line 66

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0

Warning: Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0
avatar rdeutz rdeutz - change - 27 May 2017
Labels Added: ?
avatar Fedik
Fedik - comment - 15 Jun 2017

@dgt41 there an alternative solution #16701

avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Jun 2017
Status Pending Information Required
avatar dgt41 dgt41 - change - 15 Jun 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-06-15 16:55:58
Closed_By dgt41
avatar dgt41 dgt41 - close - 15 Jun 2017

Add a Comment

Login with GitHub to post a comment