Skip to content

PB-531: Improve report a problem error management for big files#852

Merged
ltshb merged 2 commits intodevelopfrom
bug-PB-531-report-problem-file-limit
May 23, 2024
Merged

PB-531: Improve report a problem error management for big files#852
ltshb merged 2 commits intodevelopfrom
bug-PB-531-report-problem-file-limit

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented May 22, 2024

The backend only support attachement up 10MB, above it returns a 413 error.
Same for kml it only support kml up to 2MB.

So do the validation up front and provide a nice message to the user.

image

Test link

@github-actions github-actions bot added the bug label May 22, 2024
@ltshb ltshb requested review from hansmannj and pakb May 22, 2024 11:30
@cypress
Copy link

cypress bot commented May 22, 2024

Passing run #2263 ↗︎

0 206 20 0 Flakiness 0

Details:

PB-531: Use vue-i18n tool for string interpolations
Project: web-mapviewer Commit: a4d11df37f
Status: Passed Duration: 05:16 💡
Started: May 23, 2024 9:23 AM Ended: May 23, 2024 9:28 AM

Review all test suite changes for PR #852 ↗︎

@ltshb ltshb force-pushed the bug-PB-531-report-problem-file-limit branch from 29c3153 to 9a0b16f Compare May 22, 2024 11:49
Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adapting validation and throwing a detailed error message!
LGTM 👍

@ltshb ltshb force-pushed the bug-PB-531-report-problem-file-limit branch from 9a0b16f to 276be4b Compare May 23, 2024 07:33
@ltshb ltshb force-pushed the bug-PB-531-report-problem-file-limit branch 2 times, most recently from f0de5f6 to 059bda5 Compare May 23, 2024 08:57
ltshb added 2 commits May 23, 2024 11:19
The backend only support attachment up 10MB, above it returns a 413 error.
Same for kml it only support kml up to 2MB.

So do the validation up front and provide a nice message to the user.
@ltshb ltshb force-pushed the bug-PB-531-report-problem-file-limit branch from 059bda5 to a4d11df Compare May 23, 2024 09:19
@ltshb ltshb merged commit ade0f7b into develop May 23, 2024
@ltshb ltshb deleted the bug-PB-531-report-problem-file-limit branch May 23, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants