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

Response from CSV-data-export hangs out (does not returns) #21

Open
framirez07 opened this issue Jan 30, 2020 · 0 comments
Open

Response from CSV-data-export hangs out (does not returns) #21

framirez07 opened this issue Jan 30, 2020 · 0 comments
Assignees

Comments

@framirez07
Copy link

When the export data is requiered with model 'UserInfo', the browser keeps loading and does not returns.

On the server side, the following error message can be seen:
(node:63) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Following image shows, in the left, how the browser keeps loading, and in the right, the full message from the server:
image

This error points to line 155 of file server.js:
image

From these error can be deduced that the promise returned by simpleExport() is being rejected for this particular model.

It should be noted that this does not happen with other models, such as the user model or role. Some of the differences between these models are that UserInfo model contains data types: DATE, DATETIME and TIME, and the other two does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants