Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload button does not like me #2342

Closed
fourthletter opened this issue Apr 21, 2021 · 9 comments
Closed

Upload button does not like me #2342

fourthletter opened this issue Apr 21, 2021 · 9 comments
Assignees
Labels
Type: Bug Bugs! Things that are broken :-/

Comments

@fourthletter
Copy link
Contributor

fourthletter commented Apr 21, 2021

(__/)
(•ㅅ•)
/   づ🐞

I regret to inform you that I found a bug in the upload button that appears sometimes. Perhaps during a full moon?

Describe the bug

An error message appears when the applicant attempts to upload a document to their proposal.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a proposal
  2. Click on 'upload'
  3. See error

Expected behavior

The error message should not appear when the user upload a document.

Priority

  • High (keeping you from completing day-to-day tasks)

Screen Shot 2021-04-06 at 12 23 26 PM

@ei8fdb
Copy link
Contributor

ei8fdb commented Apr 27, 2021

What are the steps to replicate this issue @fourthletter?

@vimal1083
Copy link
Contributor

@fourthletter couldn't reproduce the issue in test site. Could you share the django log If you get the error in your live site?

@fourthletter
Copy link
Contributor Author

@vimal1083 Please let me know if you have other questions. I don't see it in the django log, here is my Chrome browser log (Version 90.0.4430.85 (Official Build) (x86_64) ):

DevTools failed to load SourceMap: Could not load content for https://apply.opentech.fund/static/tinymce/js/tinymce/skins/lightgray/skin.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
file_form.3305d00fcaaf.js:7 PATCH https://apply.opentech.fund/upload/upload/06d4f8af-424a-4069-9257-18a603c431b6 410
(anonymous) @ file_form.3305d00fcaaf.js:7
value @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
Promise.then (async)
zp @ file_form.3305d00fcaaf.js:7
value @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
Promise.then (async)
value @ file_form.3305d00fcaaf.js:7
value @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
Promise.then (async)
value @ file_form.3305d00fcaaf.js:7
value @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
Promise.then (async)
value @ file_form.3305d00fcaaf.js:7
value @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
l @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
ha @ file_form.3305d00fcaaf.js:1
a @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
l @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
ha @ file_form.3305d00fcaaf.js:1
a @ file_form.3305d00fcaaf.js:1
Promise.then (async)
ha @ file_form.3305d00fcaaf.js:1
a @ file_form.3305d00fcaaf.js:1
Promise.then (async)
ha @ file_form.3305d00fcaaf.js:1
a @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:1
(anonymous) @ file_form.3305d00fcaaf.js:7
(anonymous) @ file_form.3305d00fcaaf.js:7
c @ rocket-loader.min.js:1

Screen Shot 2021-04-28 at 10 13 04 AM

@vimal1083
Copy link
Contributor

@fourthletter

Most probably there is an issue in the cloudfare CDN where we upload the files. Kindly open the server django log, at the same time try upload a file in the application. you would see some error log, post that log here.

@Parbhat
Copy link
Contributor

Parbhat commented Apr 28, 2021

@frjo Can you please take a look into the bug if it is reproducible?

@fourthletter
Copy link
Contributor Author

@frjo I created this just for you. @Parbhat I hope things are well with you and your team.

DocUpload.Bug.2021.mp4

@Parbhat
Copy link
Contributor

Parbhat commented May 17, 2021

@fourthletter Are you experiencing it on live or test site?

I and my team are safe from the second wave till now. Hope things become better soon. Thanks.

@fourthletter
Copy link
Contributor Author

fourthletter commented May 17, 2021

@Parbhat I'm glad to hear you are safe. I'm only experiencing this error on the live site because it's a database issue #2342 (comment)

@fourthletter
Copy link
Contributor Author

This is a not an upload issue, this is a UI issue. The upload button is able to successfully upload a document, but the UI presents the message 'Upload fail' in red. I'm closing this issue because it's related to #2462

OTF Development Roadmap automation moved this from Backlog to Done Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bugs! Things that are broken :-/
Projects
No open projects
Development

No branches or pull requests

5 participants