orionjs / orioncms

[Old] Orion is an open source framework built on Meteor that makes complex as well as simple apps possible with minimal effort.
http://orionjs.org
MIT License
715 stars 129 forks source link

orionjs summernote / s3 upload issue #164

Open anthonylebrun opened 9 years ago

anthonylebrun commented 9 years ago

Hey folks,

I just uploaded an image file via summernote using the orionjs:s3 providers and while it looks like the upload was successful (I confirmed the image was in my s3 bucket), it never gets inserted into the editor and I get the following error:

Exception from Tracker recompute function:
meteor.js:888 TypeError: Cannot read property 'insertImage' of undefined
    at orionjs_summernote.js:160
    at Tracker.Computation._compute (tracker.js:327)
    at Tracker.Computation._recompute (tracker.js:346)
    at Object.Tracker._runFlush (tracker.js:485)
    at onGlobalMessage (meteor.js:372)

Thoughts?

anthonylebrun commented 9 years ago

Has anyone been able to reproduce this?

nicolaslopezj commented 9 years ago

@rwatts3 can you confirm this?

rwatts3 commented 9 years ago

Yes I'll take a look at this one. On Wed, Jun 10, 2015 at 11:38 AM Nicolás López notifications@github.com wrote:

@rwatts3 https://github.com/rwatts3 can you confirm this?

— Reply to this email directly or view it on GitHub https://github.com/orionjs/orion/issues/164#issuecomment-110870822.

robinleboe commented 9 years ago

Any progress on this issue? I'm getting a similar error:

TypeError: Cannot read property 'insertImage' of undefined
    at summernote.js:21
    at Tracker.Computation._compute (tracker.js:294)
    at Tracker.Computation._recompute (tracker.js:313)
    at Object.Tracker._runFlush (tracker.js:452)
    at onGlobalMessage (setimmediate.js:102)

Image definitely goes to S3 and is stored in the orionjs directory.

macrozone commented 8 years ago

The issue also occures with vsivsi:orion-file-collection.

It seems that orion's summernote-plugin relies on this PR, that hasn't been merged yet:

https://github.com/summernote/summernote/pull/1295