Editing link throws JavaScript errors

Permalink 0 0 Browser Info Environment
Clean install of Concrete 5.8.2.1. Open Chrome developer console.

1. Login
2. On homepage, add a Content block. Type a few words. Highlight a word.
3. Click the "Link" icon to add a link. Click "Sitemap" in the popup menu.
4. Select "Home" or any other page you've previously added.
5. The link is added successfully. Put the block back in edit mode, click the link and select "Sitemap" again and choose any page. When you click "OK" a JavaScript error is thrown.

If you keep doing this on and off with different blocks various JavaScript errors are thrown. Screenshot is attached. Looks like this was introduced in 8.2.1 because previous versions do not appear to be doing this.

The first exception that is thrown is on line 85 of:

/concrete/js/ckeditor4/core/concrete5link/plugin.js


I'm surprised this made it into this release :/

1 Attachment


Status: New
stephendmalloy

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages
None

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.26 (Unix) OpenSSL/1.0.2l PHP/7.1.7 mod_perl/2.0.8-dev Perl/v5.16.3

# Server API
apache2handler

# PHP Version
7.1.7

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2000
memory_limit - 128M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36