? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
2 Dec 2017

Summary of Changes

Remove all jQuery from indexer.js (apart from 1 line which I'm not sure about)

Testing Instructions

Ensure the smart search indexer still works.

There is an open issue (#18861) by which the index doesn't work with sample data on a multilang site. So testing can be done on a installation with no sample data.

@franz-wohlkoenig Can you check if this solves the issue you raised? Don't think it will but just incase.

avatar C-Lodder C-Lodder - open - 2 Dec 2017
avatar C-Lodder C-Lodder - change - 2 Dec 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Dec 2017
Category JavaScript
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Dec 2017

can test in a few Days (reminder #18861)

avatar C-Lodder C-Lodder - change - 2 Dec 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Dec 2017
Category JavaScript Administration com_finder JavaScript
avatar C-Lodder
C-Lodder - comment - 2 Dec 2017

Errors fixed

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 8 Dec 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Dec 2017

I have tested this item successfully on 7829e5b


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Dec 2017
Easy No Yes
avatar wilsonge wilsonge - change - 10 Dec 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-12-10 15:52:07
Closed_By wilsonge
avatar wilsonge wilsonge - close - 10 Dec 2017
avatar wilsonge wilsonge - merge - 10 Dec 2017
avatar infograf768
infograf768 - comment - 11 Dec 2017

@C-Lodder
This does not work here. The modal remains open and indexing never completes.
I get the same error in min and full js

"SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 2732 of the JSON data"

screen shot 2017-12-11 at 09 05 19

avatar C-Lodder
C-Lodder - comment - 11 Dec 2017

Hmm ok same error as before. I see you have debug enabled so I'll test tonight

avatar infograf768
infograf768 - comment - 13 Dec 2017

Also when indexing or simply displaying the Manager I get:

[13-Dec-2017 12:01:10 Europe/Berlin] PHP Notice: Undefined variable: name in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_finder/Field/ContentmapField.php on line 99
[13-Dec-2017 12:01:10 Europe/Berlin] PHP Notice: Undefined variable: name in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_finder/Field/ContentmapField.php on line 110
[13-Dec-2017 12:01:10 Europe/Berlin] PHP Notice: Undefined variable: name in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_finder/Field/ContentmapField.php on line 115

avatar C-Lodder
C-Lodder - comment - 13 Dec 2017

@infograf768 Please open a new issue.

I can see why this is happening but I have no idea what the default value for $name should be in that file as I've never used com_fields before

avatar infograf768
infograf768 - comment - 13 Dec 2017

com_finder you mean I guess . ?

avatar C-Lodder
C-Lodder - comment - 13 Dec 2017

Oops, yes.

I compared to J3.x and the files looks like it would have the same problem there too. $name isn't defined before the if/else statement

avatar infograf768
infograf768 - comment - 14 Dec 2017

indeed, although I don't remember getting the error in 3.x

Add a Comment

Login with GitHub to post a comment