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

User gets error message in frontend when starting a calculation crossing May 1st. 2023. #2149

Closed
4 tasks
MadsBloendAndersen opened this issue Apr 19, 2024 · 4 comments

Comments

@MadsBloendAndersen
Copy link
Contributor

MadsBloendAndersen commented Apr 19, 2024

User gets exception when starting a calculation crossing May 1st. 2023.

Acceptance Criteria

PROD + PREPROD

  • Scenario 1: User gets an exception when starting a calculation crossing May 1st, 2023

Given the user is trying to start a calculation that crosses May 1st, 2023
When the user starts the calculation
Then the user should get an exception or error message

  • Scenario 2: Exception message is clear and informative

Given the user is trying to start a calculation that crosses May 1st, 2023
When the user starts the calculation
Then the exception message should clearly state the issue and guide how to resolve it

DEV + TEST

  • Scenario 1: User gets an exception when starting a calculation crossing Feb. 1st, 2023

Given the user is trying to start a calculation that crosses Feb. 1st, 2023
When the user starts the calculation
Then the user should get an exception or error message

  • Scenario 2: Exception message is clear and informative

Given the user is trying to start a calculation that crosses Feb. 1st, 2023
When the user starts the calculation
Then the exception message should clearly state the issue and guide how to resolve it

@BjarkeMeier
Copy link
Contributor

@MadsBloendAndersen, you never want to ask for exceptions. Exception is a technical term that occurs when something bad happens. What you want here is a proper user experience where the user is informed that it is now allowed - OR the UI simply prevents being able to select dates crossing the cutover date. But those details should probably be decided together with the UI/UX expert (@ManBearTM ).

@MadsBloendAndersen MadsBloendAndersen changed the title User gets exception when starting a calculation crossing May 1st. 2023. User gets error message in frontend when starting a calculation crossing May 1st. 2023. Apr 23, 2024
@ManBearTM ManBearTM self-assigned this Apr 24, 2024
@MadsBloendAndersen
Copy link
Contributor Author

MadsBloendAndersen commented May 13, 2024

@ManBearTM
Kunne man tilføje lidt ekstra her:

Noget med: "... Hvilket ikke er tilladt, fordi opløsningen går fra time til kvarter..."

image.png

@MadsBloendAndersen
Copy link
Contributor Author

MadsBloendAndersen commented May 13, 2024

@ManBearTM

Kan godt se at det faktisk ikke er nævnt på storien, men denne fejl skal faktisk kun gælde for beregningstyperne "Aggregering" og "Balance fiksering"

Dvs. at hvis jeg fx. lavede en engros fiksering eller en korrektions afregning, så skal denne fejl besked ikke komme.

Kan vi lave det på denne story? eller skal jeg lave en ny?

@ClausQAEnerginet
Copy link
Contributor

Testet på

  • t-01

  • preprod

  • Bekræftet at fejlmeddelelsen ikke kommer op til og fra skæringsdatoen

  • Bekræftet af fejlmeddelsen kommer henover skæringsdatoen

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

No branches or pull requests

4 participants