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

GO-141 Do not inform user about message_draft diff in validations #487

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

luciajanikova
Copy link
Member

Kedze nemame zanalyzovane, co vsetko sa v diffe moze vyskytovat a ako presne to chceme pouzivatelovi komunikovat, tak zatial by sme si to iba logovali a pouzivatelovi nic o diffe nehovorili.

app/jobs/fs/validate_message_draft_result_job.rb Outdated Show resolved Hide resolved
}
message_draft.add_cascading_tag(message_draft.tenant.submission_error_tag)

diff = response[:body]['problems']&.select { |problem| problem['level'] == 'diff' }
Copy link
Member

Choose a reason for hiding this comment

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

nechceme si ten diff odlozit do metadat radsej ako do logu?

Copy link
Member Author

Choose a reason for hiding this comment

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

mozeme, ale drafty sa budu mazat po submite & stiahnuti plnohodnotnej spravy

Copy link
Member

Choose a reason for hiding this comment

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

aha, dobra poznamka. Nemali by sme si tie warningy a metadata skopirovat tiez (tak podobne ako tagy). Asi by som cakal, ze ked tam bol nejaky warning tak nechcem aby zmizol.

@luciajanikova luciajanikova merged commit 8a99e68 into main Nov 14, 2024
3 checks passed
@luciajanikova luciajanikova deleted the GO-141/do_not_inform_user_about_diff branch November 14, 2024 11:20
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

Successfully merging this pull request may close these issues.

2 participants