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

Information de conservation des enregistrements #118

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

azmeuk
Copy link
Collaborator

@azmeuk azmeuk commented Mar 27, 2024

Cette PR rajoute l’affichage de la date de création et la date d'expiration des enregistrements.

fix #98

@azmeuk azmeuk added the fonctionnalité Nouvelle fonctionnalité ou amélioration d'une fonctionnalité existante label Mar 27, 2024
@azmeuk azmeuk force-pushed the issue-98-recordings-data branch from f3b20bb to 24466aa Compare March 27, 2024 11:11
@BHoury
Copy link
Collaborator

BHoury commented Mar 28, 2024

Teste sur https://visio-recette.education.fr mais erreur 500 quand on clique sur "mes enregistrements" après avoir enregistré une visio.
Logs d'erreur :

ERROR in app: Exception on /meeting/recordings/1 [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1463, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 872, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 870, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 855, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask_pyoidc/flask_pyoidc.py", line 230, in wrapper
    return view_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/bbb-visio/b3desk/session.py", line 47, in decorator
    return view_function(*args, owner=user, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/bbb-visio/b3desk/endpoints/meetings.py", line 116, in show_meeting_recording
    return render_template(
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 150, in render_template
    return _render(app, template, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/templating.py", line 131, in _render
    rv = template.render(context)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/opt/bbb-visio/b3desk/templates/meeting/recordings.html", line 1, in top-level template code
    {% extends 'layout.html' %}
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/bbb-visio/b3desk/templates/layout.html", line 52, in top-level template code
    {% block main %}{% endblock %}
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/bbb-visio/b3desk/templates/meeting/recordings.html", line 53, in block 'main'
    {% if looplayback.index is le(2) %}
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr
    return getattr(obj, attribute)
           ^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'looplayback' is undefined

@azmeuk
Copy link
Collaborator Author

azmeuk commented Mar 28, 2024

Effectivement. Je viens de pousser le correctif.

@klorydryk klorydryk merged commit 66c9c30 into numerique-gouv:main Mar 29, 2024
10 checks passed
@azmeuk azmeuk deleted the issue-98-recordings-data branch March 29, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fonctionnalité Nouvelle fonctionnalité ou amélioration d'une fonctionnalité existante
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Informations limite de conservation des enregistrements
3 participants