Bug #53276

Uncaught TypeError: Cannot call method 'replace' of undefined (ContentModule-built.js)

Added by Andreas Sander almost 2 years ago. Updated 10 months ago.

Status:Closed Start date:2013-11-01
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:JavaScript
Target version:-

Description

The JS Error:

Uncaught TypeError: Cannot call method 'replace' of undefined

inside ContentModule-built.js occurs after:

  1. Creating a new image element
  2. Click on the placeholder image inside to change it
  3. Click on an image inside the media explorer

define("Shared/Utility", ["emberjs"], function(e) {
return e.Object.extend({isValidJsonString: function(e) {
return !/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(e.replace(/"(\\.|[^"\\])*"/g, ""))
}}).create()

e seems to be undefined here while trying to access it.

History

#1 Updated by Jonas Renggli 10 months ago

  • Status changed from New to Closed

Thanks for your bug report.
I tried to reproduce your scenario in Neos 1.1.2. But the behavior is as expected.
Please try to update to Neos 1.1.2 and check it there. If there is still an issue just create a new ticket on https://jira.typo3.org/

Also available in: Atom PDF