Skip to content

fix: not resetting errors after reservePID or file upload actions#2272

Open
Ducica wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:contribution-remove-errors-reset-on-save
Open

fix: not resetting errors after reservePID or file upload actions#2272
Ducica wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:contribution-remove-errors-reset-on-save

Conversation

@Ducica
Copy link
Copy Markdown
Contributor

@Ducica Ducica commented Mar 13, 2026

  • When you upload a file or when you reserve pid, you lose all errors
  • previously existing in Redux, which is missleading

Description

Please describe briefly your pull request.

When you upload a file or reservePID the errors get cleared from the redux store. From UI perspective this is wrong, because it gives a wrong impression to the user. Also, logically speaking, I do not see a reason why these actions would clear existing errors from previous interactions with the server. I am not sure if there could be some obscure reason for explicitly resetting the errors in the reducer. I could not find any.

Screen.Recording.2026-03-13.at.11.10.08.mov

* When you upload a file or when you reserve pid, you lose all errors
* previously existing in Redux, which is missleading
@Ducica Ducica added this to v14 Mar 16, 2026
@Ducica Ducica moved this to Triage in v14 Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant