-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Job Status tab bugs bugs #4867
Comments
Hi @ririen I could not reproduce Bug 1. Had you added any other data to fields not displayed in the screenshot, that could be causing the issue? I am looking into bugs 2 and 3. Adam |
and only return an error if there is no resume file AND there is not already a resume for the profile in Fixes: Bug 2 of gitcoinco#4867
@Adamits I have checked several browsers. It turns out that only in some of them the BUG 1 occurs.
What the problem then? From what I noticed, the mentioned browsers that have a bug change the numbers above one thousand to those with a space or other special character. That is, the field is automatically converted 1000 to 1 000 - which causes a server-side problem and write error. I know that this is a problem with these special characters because by intercepting the request and removing the gap between 1 and zeros, everything has been written correctly. |
@ririen Thanks a lot for looking into that. I will look into fixing this one when I have a chance. It looks like in chrome there is some feature that forces the value entered into the field to conform to a specification, so I think the best solution is to look into making it compatible with other browsers. |
Ah - this is not browser specific, but rather because this javascript autoupdated the value to 'NaN', which saved. I guess there are two issues here related to BUG 1:
|
* Correctly check error_response status for integer 400 Fixes: Bug 2 of #4867 * Do not overwrite current Resume with None when saving.
Describe the bug
A little honestly saying these bugs made me laugh, act quite specifically. It is about bugs related to the "Job Status" tab and its updating. They have quite an interesting logic of action.
Bug 1. After exceeding the number 999 in "Compensation expectation (monthly / USD)" the error "undefined" is displayed and the information about the work does not save. It means that entering 1000 there will be a bug in the screenshot.
Bug 2. You can not save job information without uploading a PDF file. This means that even if you have already added a PDF file and it is saved in the work profile, you still have to choose it from the computer again and add to want to save the profile. Otherwise, the "No file found" error will be displayed. Also another screen in the screenshots section.
Bug 3. Can't remove resume file and can't save profile without it.
To Reproduce
Bug 1: In the "Compensation expectation (monthly / USD)" field, enter 1000 or more choose pdf file and save.
Bug 2: In the "Compensation expectation (monthly / USD)" field, enter 999 or less and save without choose pdf file.
Bug 3: You can't delete resume and can't save profile without it.
Expected behavior
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: