Plone.formwidget.contenttree + plone.formwidget.autocomplete under Python 3 and Plone 5.2?

Is anyone aware of how to fix plone.formwidget.contenttree and plone.formwidget.autocomplete?

There is already a Python 3 compatibile branch for contentree however the current autocomplete module code throws this error:


VM462:13 Uncaught ReferenceError: formwidget_autocomplete_parser is not defined
    at HTMLDocument.eval (eval at <anonymous> (jquery.min.js:2), <anonymous>:13:24)
    at j (jquery.min.js:2)
    at Object.add [as done] (jquery.min.js:2)
    at m.fn.init.m.fn.ready (jquery.min.js:2)
    at eval (eval at <anonymous> (jquery.min.js:2), <anonymous>:2:13)
    at eval (eval at <anonymous> (jquery.min.js:2), <anonymous>:53:7)
    at eval (<anonymous>)
    at jquery.min.js:2
    at Function.globalEval (jquery.min.js:2)
    at m.fn.init.domManip (jquery.min.js:4)

@zopyx We worked on a Plone 5 branch for plone.formwidget.autocomplete if you still need it.
It fixes the ReferenceError: formwidget_autocomplete_parser is not defined error.

--> Pull request https://github.com/plone/plone.formwidget.autocomplete/pull/25

@laulaz you couldn't add links because there is still a lot of spam-users registering, and that was put in as a safety measure for new user registrations. Now you have shown yourself to be a real person you're upgraded :wink:

1 Like

@polyester Thanks a lot :wink: