emanchado / narrows

Online storytelling system
http://hardcorenarrativist.org/narrows/
BSD 3-Clause "New" or "Revised" License
113 stars 7 forks source link

Error when uploading new background image on chapter page. #7

Closed tessgadwa closed 6 years ago

tessgadwa commented 7 years ago

I received the following error when attempting to load a new image onto the chapter page:

Error upload media file: Cannot add new media file: TypeError: Cannot read property 'name' of undefined

In addition, load time was very slow.

However, the new background image did in fact upload.

emanchado commented 7 years ago

Was this in a chapter that had never been saved (ie. the URL was still /narrations/{id}/new)?

If so, I know what the problem is, but I'm afraid it's not easy to solve :-( I might need to disable the button or whatever :-(

emanchado commented 7 years ago

No, wait, that should work, too. I'm confused. I seem to recall there's something that is not easy to make work when a chapter hasn't been saved yet, but it's not images.

Also, the title says "background image", but the description suggests it's images inside the chapter text that are the problem. Can you confirm which one it is?

tessgadwa commented 7 years ago

The label for the field says "Background Image:" Hopefully this screenshot clarifies. screen shot 2017-08-25 at 3 01 01 pm

tessgadwa commented 7 years ago

Also, I was not able to reproduce the error when I tried.

emanchado commented 7 years ago

Ah, I see. Background images, then.

But I'm really confused that it would give that error, but upload the image anyway. I'll think about it, but it might be a mystery that is never resolved :-(

tessgadwa commented 7 years ago

I'll let you know if it crops up again. But I wouldn't be too concerned.

On Fri, Aug 25, 2017 at 11:23 PM, Esteban Manchado Velázquez < notifications@github.com> wrote:

Ah, I see. Background images, then.

But I'm really confused that it would give that error, but upload the image anyway. I'll think about it, but it might be a mystery that is never resolved :-(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emanchado/narrows/issues/7#issuecomment-325092953, or mute the thread https://github.com/notifications/unsubscribe-auth/AGLNG-ERtoCcyUinkmLiG8u_ICJsaB3Nks5sb7nbgaJpZM4PCI4o .

--

Tess Gadwa

Chief Executive Officer


Yes Exactly, Inc. | yesexactly.com | 413.325.8251

emanchado commented 6 years ago

Closing for now, maybe it was fixed through some unrelated change.