Energinet-DataHub / ARCHIVED-geh-charges

Apache License 2.0
7 stars 3 forks source link

GUI: Changing datetime picker sometimes returns no result #1860

Open ShaBloze opened 1 year ago

ShaBloze commented 1 year ago

Step to reproduce the problem:

  1. Open a Charge with Prices and Messages
  2. Change DateTimeFrom year to 2021. Ensure that there's data in both "Prices" and "Messages".
  3. Navigate to "Message" tab and change the ToDateTime year to 2023. Now there's no data.

Tech Notes In Network the fromDateTime is set to today. Problem might be in drawer-datepicker.service.ts image.png

Acceptance Criteria

IreneDataHub commented 1 year ago

Test 25.11. Envirommnet t-001 Price ID Irene Per Set up as step 1 to 3, but I dont get any message if I change datapick to 2023 in message

Step 1 image.png

Step 2: image.png

Step 3 image.png

And after that preice data picjk is changing back to 2022 instead of keeping 2021 in the datapick image.png

HenrikSommer commented 1 year ago

I have debugged these issues with Dzhavat today, and the preliminary conclusion is that it is caused by a bug in the Watt DatePicker component. Dzhavat will create a new issue in the Watt design system repo.

HenrikSommer commented 1 year ago

New issue was created in the Greenforce-frontend repo: https://github.com/Energinet-DataHub/greenforce-frontend/issues/1175