JackAdams / meteor-editable-text

Drop-in editable text widget for meteor

Home Page:http://editable-text-demo.taonova.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debug.js:43 Exception while simulating the effect of invoking '_editableTextWrite' TypeError: Cannot read property 'simpleSchema' of undefined(…) TypeError: Cannot read property 'simpleSchema' of undefined

neutron92 opened this issue · comments

debug.js:43 Exception while simulating the effect of invoking '_editableTextWrite' TypeError: Cannot read property 'simpleSchema' of undefined(…) TypeError: Cannot read property 'simpleSchema' of undefined
at Meteor.methods._editableTextWrite (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:912:107)
at http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3957:25
at _.extend.withValue (http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:1077:17)
at _.extend.apply (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3948:54)
at _.extend.call (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3824:17)
at Object.EditableText.update (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:343:12)
at Object.EditableText._makeUpdate (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:517:27)
at Object.EditableText.okCancelEvents.ok (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:626:28)
at Object.events.(anonymous function) (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:443:16)
at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3718:20
editable_text.js:77 errorClass {error: 500, reason: "Internal server error", details: undefined, message: "Internal server error [500]", errorType: "Meteor.Error"}

Make sure there is an _id field in your mongo selector (reason: those aren't real mongo selectors) - see the docs for more about this.

Sent from my iPhone

On Apr 26, 2016, at 10:22 PM, hichem chouaibi notifications@github.com wrote:

debug.js:43 Exception while simulating the effect of invoking '_editableTextWrite' TypeError: Cannot read property 'simpleSchema' of undefined(…) TypeError: Cannot read property 'simpleSchema' of undefined
at Meteor.methods._editableTextWrite (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:912:107)
at http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3957:25
at _.extend.withValue (http://localhost:3000/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:1077:17)
at _.extend.apply (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3948:54)
at _.extend.call (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3824:17)
at Object.EditableText.update (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:343:12)
at Object.EditableText._makeUpdate (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:517:27)
at Object.EditableText.okCancelEvents.ok (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:626:28)
at Object.events.(anonymous function) (http://localhost:3000/packages/babrahams_editable-text.js?hash=fabef52101aa31e5a3e218f979b961edc8d96bd4:443:16)
at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3718:20
editable_text.js:77 errorClass {error: 500, reason: "Internal server error", details: undefined, message: "Internal server error [500]", errorType: "Meteor.Error"}


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

please how to fix it this is the code

http://pastebin.com/9QEjGbUy

You need to get rid of context=singlePostDocument in the first widget.

Sent from my iPhone

On Apr 26, 2016, at 10:37 PM, hichem chouaibi notifications@github.com wrote:

please how to fix it this is the code

http://pastebin.com/9QEjGbUy


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Remove context=singlePostObject from your html

Sent from my iPhone

On Apr 26, 2016, at 10:46 PM, hichem chouaibi notifications@github.com wrote:

i didn't understand you


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

same prob

{{> editableText collection="TemplatesCompany" field="branch" emptyText="No title"}}

Your collection names in the widget are wrong. They should be templatecompany not TemplateCompany.

Sent from my iPhone

On Apr 26, 2016, at 10:37 PM, hichem chouaibi notifications@github.com wrote:

please how to fix it this is the code

http://pastebin.com/9QEjGbUy


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

it works thanks

have you any idea how do image upload with this plugin?

You can't do image upload with this widget. It's just for editable text.

Sent from my iPhone

On Apr 26, 2016, at 10:55 PM, hichem chouaibi notifications@github.com wrote:

have you any idea how do image upload with this plugin?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

ok thanks last Q please i want when to use selectize instead of input text can i change the type?