pucardotorg / dristi

MIT License
2 stars 12 forks source link

[BUG]: File upload error reporting #2401

Open devarajd94 opened 1 week ago

devarajd94 commented 1 week ago

In EFiling when faulty files/wrongly formatted files are uploaded the following error message needs to be shown:

The uploaded is faulty or corrupted and could not be parsed. Kindly re-upload a valid document.

mehulseg24 commented 1 week ago

Error Figma: https://www.figma.com/design/fMbBvJGlgA5hh4YD2bOF2I/On-court-Landing-Page?node-id=280-63&t=55XTHjMLxH7DABOT-4

ashishbeehyv commented 1 week ago

hi @mehulseg24 do we need to show this error page, I thought we have to show pop up message stating "Check File format" or something like that.. cc: @Ramu-kandimalla @devarajd94

mehulseg24 commented 1 week ago

This is what Atul and I have been indicating, any challenge in doing so?

ashishbeehyv commented 6 days ago

There are 2 different scenarios possible on uploading faulty files: 1: when we convert a file type by just renaming it, for ex. file.jpg to file.png, and upload it, there is an error in uploading it which s provided by filestore api if that is used, and the api which is used for combining documents into single doc also gives this error. this part is resolved. 2: when we upload a faulty file which is converted online, it does not throw error at the time of uploading, but when case pdf is generated it throws error. this part of the uploading faulty file issue is not resolved yet because of inconsistent output from backend. @rajeshcherukumalli please test this issue, changes are merged in dpg dev. cc: @devarajd94 @Ramu-kandimalla

bhuvanyuguru commented 6 days ago

Ticket Reference #1776

Hi @ashishbeehyv, @rajeshcherukumalli, @Ramu-kandimalla

Upload Scenario 1: (Changing File extension)

This Scenario is working fine in DPG-DEV,

Refer Screenshot

Image

bhuvanyuguru commented 6 days ago

Hi @Ramu-kandimalla, @rajeshcherukumalli ,@devarajd94

This Issue is resolved in UAT

Refer Screenshot Image