"this.blank is not a function"

(Uwe Keim) #1

Being on the latest Github version, a user fails to save a new post with “An error occurred”.

In the log I found:

Uncaught TypeError: this.blank is not a function
Url: /discourse/controllers/composer
Line: 164
Column: 22
Window Location: http://entwicklergate.de/

Call stack:

TypeError: this.blank is not a function
    at __exports__.default.Ember.ObjectController.extend.toggle (/discourse/controllers/composer:164:22)
    at __exports__.default.Ember.ObjectController.extend.actions.toggle (/discourse/controllers/composer:45:16)
    at mixin.Mixin.create.send (/ember.prod:27080:54)
    at runRegisteredAction (/ember.prod:17899:25)
    at Object.Backburner.run (/ember.prod:218:27)
    at Object.run [as default] (/ember.prod:15458:27)
    at Object.handleRegisteredAction [as handler] (/ember.prod:17897:23)
    at HTMLAnchorElement.eval (/ember.prod:36149:25)
    at HTMLElement.n.event.dispatch (/jquery.prod:4:6444)
    at HTMLElement.r.handle (/jquery.prod:4:3219)


HTTP_HOST: entwicklergate.de
REQUEST_URI: /logs/report_js_error
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
HTTP_REFERER: http://entwicklergate.de/

  message: Uncaught TypeError: this.blank is not a function
Url: /discourse/controllers/composer
Line: 164
  url: /discourse/controllers/composer
  line: 164
  column: 22
  window_location: http://entwicklergate.de/
  stacktrace: TypeError: this.blank is not a function
    at __exports__.default.Ember.ObjectController.extend.togg

Any idea how/whether I can fix it?

(Sam Saffron) #2

@eviltrout is this ember upgrade related ?

Do you have any plugins?

(Sam Saffron) #3

We just picked up one of these in our logs as well.

(Sam Saffron) #4

Repro … open composer
click V arrow

@zogstrip is having a look.

(Uwe Keim) #5


I’m only having the official tagging plug-in, IIRC. These are the plug-ins:

(Régis Hanol) #6

Just pushed a fix :cow2:


(Uwe Keim) #7

I’ve just updated to ‘ab80240’ with no improvement.

Although no more log entry, still no save possible. Generic error message:

Sorry, an error has occurred.

(Régis Hanol) #8

Are all users unable to save posts or just one? Did s/he refreshed his/her browser’s cache?

(Uwe Keim) #9

My forum is very low traffic. So it is only one user that experienced it.

Luckily it is the co-worker sitting at the other here in my office room :smile:

I’ll ask him…

(Uwe Keim) #10

Asked him. The error still persists.

It is a posting with 3 images, maybe this is the reason?

Also I manually enhanced the user’s trust level in the admin area from 0 to 4.

(Christian Abele) #11

Identified problem.

Desired title “EF6 model first + Oracle.ManagedDataAccess.Client.EntitiyFramework” didn’t work.

Error: Entschuldige, es ist ein Fehler aufgetreten.

Changing title however to “EF6 model first” workes fine.

(Jeff Atwood) #15