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

(PC-31907)[API] fix: Export bookings csv/xlsx #14217

Merged

Conversation

damien-ramelet
Copy link
Contributor

Our tests was populate with wrong data. Offers used to had OffererAddress, while this isn’t the case in reality. Moreover, the joins on the query fetching the rows wasn’t under FF.

But de la pull request

Ticket Jira (ou description si BSR) : https://passculture.atlassian.net/browse/PC-31907

Vérifications

  • J'ai écrit les tests nécessaires
  • J'ai mis à jour le fichier des plans de tests du portail pro si nécessaire
  • J'ai mis à jour la liste des routes et des titres de pages du portail pro si j'en ai rajouté/modifié ou supprimé une.
  • J'ai relu attentivement les migrations, en particulier pour éviter les locks, et je préviens les équipes Shérif et Data
  • J'ai ajouté des screenshots pour d'éventuels changements graphiques

@damien-ramelet damien-ramelet force-pushed the dramelet/PC-31907-fix-bookings-export-when-no-oa branch 8 times, most recently from 15e2d37 to d9ff64a Compare September 19, 2024 07:34
@@ -219,6 +219,7 @@ def when_user_has_rights_on_managing_offerer(self, client, db_session):
"postalCode": "75000",
"inseeCode": "75102",
"city": "Paris",
"departementCode": 75,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"departementCode": 75,
"departementCode": "75",

Our tests was populated with wrong data. Offers use to had
an OffererAddress, while this isn’t the case in reality (yet).
Moreover, the joins on the query fetching the rows
wasn’t under FF.
@damien-ramelet damien-ramelet force-pushed the dramelet/PC-31907-fix-bookings-export-when-no-oa branch from d9ff64a to 774399b Compare September 19, 2024 08:02
@damien-ramelet damien-ramelet merged commit 72ac852 into master Sep 19, 2024
22 of 23 checks passed
@damien-ramelet damien-ramelet deleted the dramelet/PC-31907-fix-bookings-export-when-no-oa branch September 19, 2024 08:24
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.

3 participants