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

Raid registering issue tracker #524

Open
4 of 14 tasks
maximeroucher opened this issue Aug 18, 2024 · 2 comments
Open
4 of 14 tasks

Raid registering issue tracker #524

maximeroucher opened this issue Aug 18, 2024 · 2 comments
Assignees

Comments

@maximeroucher
Copy link
Member

maximeroucher commented Aug 18, 2024

Since we want to publish as soon as possible, some things can be improved after, here is the list :

  • Raid - T-Shirt on participant update #556
  • Raid - Foreign key constraint violation on update security file #555
  • Raid - all documents are id cards #553
  • 1 - Join team sometimes fail
  • 1 - Security file issue with emergency person
  • 2 - Don't keep PDF files that won't be linked to a document, if the second call, after the upload fail. We could technically have orphan sensitive documents
  • 2 - Don't let the module choose path on the file system but use existing utils
  • 2 - run post_update_action in a separate thread
  • 3 - Adding missing tests to improve coverage
  • 3 - Adding delete all team button
  • 3 - Restricting file size
  • 3 - Remove the two pdf python dependencies used only for this module
  • 3 - Run postupgradeactions as a background task
  • 3 - Maybe remove get_drive_file_manager dependency
@maximeroucher maximeroucher self-assigned this Aug 18, 2024
@armanddidierjean
Copy link
Member

500 for raid/security_file/?participant_id= when updating security file:

sqlalchemy.exc.IntegrityError: (sqlalchemy.dialects.postgresql.asyncpg.IntegrityError) <class 'asyncpg.exceptions.ForeignKeyViolationError'>: update or delete on table "raid_security_file" violates foreign key constraint "raid_participant_security_file_id_fkey" on table "raid_participant"

@armanddidierjean
Copy link
Member

Error while creating pdf Traceback (most recent call last): File "/app/app/modules/raid/utils/utils_[raid.py](http://raid.py/)", line 142, in save_team_info file_path = pdf_writer.write_team(team) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/app/modules/raid/utils/pdf/pdf_[writer.py](http://writer.py/)", line 114, in write_team return self.add_pdf() ^^^^^^^^^^^^^^ File "/app/app/modules/raid/utils/pdf/pdf_[writer.py](http://writer.py/)", line 76, in add_pdf writer.write("data/raid/" + self.file_name) File "/usr/local/lib/python3.11/site-packages/pypdf/_[writer.py](http://writer.py/)", line 1274, in write stream = FileIO(stream, "wb") ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: data/raid/Équipe de xxxx.pdf

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

No branches or pull requests

2 participants