?
avatar brianteeman
brianteeman
7 Jun 2017

It is not possible to select a category for an article or a parent category for a new category. there is no select box its just a field
screenshotr16-47-11


jQuery.Deferred exception: Cannot read property '0' of undefined TypeError: Cannot read property '0' of undefined
    at s.t.set_default_values (http://127.0.0.1/cms4/media/system/js/legacy/chosen.min.js?605f863c2eadd5af3ad0254903be4c0c:1:2364)
    at s.t (http://127.0.0.1/cms4/media/system/js/legacy/chosen.min.js?605f863c2eadd5af3ad0254903be4c0c:1:1848)
    at new s (http://127.0.0.1/cms4/media/system/js/legacy/chosen.min.js?605f863c2eadd5af3ad0254903be4c0c:1:11095)
    at HTMLInputElement.<anonymous> (http://127.0.0.1/cms4/media/system/js/legacy/chosen.min.js?605f863c2eadd5af3ad0254903be4c0c:1:10982)
    at Function.each (http://127.0.0.1/cms4/media/vendor/jquery/js/jquery.min.js?605f863c2eadd5af3ad0254903be4c0c:2:2715)
    at r.fn.init.each (http://127.0.0.1/cms4/media/vendor/jquery/js/jquery.min.js?605f863c2eadd5af3ad0254903be4c0c:2:1003)
    at r.fn.init.chosen (http://127.0.0.1/cms4/media/system/js/legacy/chosen.min.js?605f863c2eadd5af3ad0254903be4c0c:1:10895)
    at HTMLDocument.<anonymous> (http://127.0.0.1/cms4/administrator/index.php?option=com_content&view=article&layout=edit:50:27)
    at j (http://127.0.0.1/cms4/media/vendor/jquery/js/jquery.min.js?605f863c2eadd5af3ad0254903be4c0c:2:29999)
    at k (http://127.0.0.1/cms4/media/vendor/jquery/js/jquery.min.js?605f863c2eadd5af3ad0254903be4c0c:2:30313) undefined
r.Deferred.exceptionHook @ jquery.min.js?605f863…:2
k @ jquery.min.js?605f863…:2
jquery.min.js?605f863…:2 Uncaught TypeError: Cannot read property '0' of undefined
    at s.t.set_default_values (chosen.min.js?605f863…:1)
    at s.t (chosen.min.js?605f863…:1)
    at new s (chosen.min.js?605f863…:1)
    at HTMLInputElement.<anonymous> (chosen.min.js?605f863…:1)
    at Function.each (jquery.min.js?605f863…:2)
    at r.fn.init.each (jquery.min.js?605f863…:2)
    at r.fn.init.chosen (chosen.min.js?605f863…:1)
    at HTMLDocument.<anonymous> (index.php?option=com_content&view=article&layout=edit:50)
    at j (jquery.min.js?605f863…:2)
    at k (jquery.min.js?605f863…:2)
t.set_default_values @ chosen.min.js?605f863…:1
t @ chosen.min.js?605f863…:1
s @ chosen.min.js?605f863…:1
(anonymous) @ chosen.min.js?605f863…:1
each @ jquery.min.js?605f863…:2
each @ jquery.min.js?605f863…:2
chosen @ chosen.min.js?605f863…:1
(anonymous) @ index.php?option=com_content&view=article&layout=edit:50
j @ jquery.min.js?605f863…:2
k @ jquery.min.js?605f863…:2

avatar brianteeman brianteeman - open - 7 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Jun 2017
avatar brianteeman brianteeman - change - 7 Jun 2017
The description was changed
avatar brianteeman brianteeman - edited - 7 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jun 2017
Category com_categories
avatar Bakual
Bakual - comment - 7 Jun 2017

I think this PR should fix that: #16419

avatar brianteeman
brianteeman - comment - 7 Jun 2017

nope - tried that

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Jun 2017
Status New Discussion
avatar dgt41
dgt41 - comment - 7 Jun 2017

@brianteeman is the chosen.js script loaded?

avatar brianteeman
brianteeman - comment - 7 Jun 2017

yes but see the error message i posted

avatar dgt41
dgt41 - comment - 7 Jun 2017

@brianteeman hmm, with the latest 4.0-dev I don't have com_categories at all, is that folder there (under administrator/components)?

IGNORE this, grrrr

avatar Bakual
Bakual - comment - 7 Jun 2017

@laoneo The formfield doesn't even get loaded as far as I saw. Maybe @wilsonge broke something when he merged the new media manager? Or when resolving the merge conflicts?

avatar laoneo
laoneo - comment - 7 Jun 2017

Does that help #16419?

avatar Bakual
Bakual - comment - 7 Jun 2017

@laoneo No, as written above by Brian. Was my first thought as well ?

avatar laoneo
laoneo - comment - 8 Jun 2017

Does that one help #16580?

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Jun 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-06-08 05:05:18
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 8 Jun 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 8 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Jun 2017

Closd as having PR #16580


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

Add a Comment

Login with GitHub to post a comment