Impossible d'annuler une inscription à un événement

Hello,

en testant l’inscription à un événement, je remarque que l’annulation de l’inscription à un événement ne fonctionne pas.
En ouvrant la console je vois les messages suivants :

EV00952-atelier-decouvert-des-intellig:1 The resource https://fablabecocentre.dokos.cloud/website_script.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
website.js:92 
        
        
       POST https://fablabecocentre.dokos.cloud/ 500 (INTERNAL SERVER ERROR)
send @ jquery.js:9930
ajax @ jquery.js:9511
call @ website.js:92
(anonymous) @ EV00952-atelier-decouvert-des-intellig:3342
dispatch @ jquery.js:5135
Ct.handle @ jquery.js:4939


website.js:192 Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 106, in application
    frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 48, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 84, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1731, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/utils/typing_validations.py", line 30, in wrapper
    return func(*args, **kwargs)
  File "apps/erpnext/erpnext/venue/doctype/event_registration/event_registration.py", line 601, in cancel_registration
    docname = frappe.get_value("Event Registration", dict(user=user, event=event, docstatus=1))
  File "apps/frappe/frappe/__init__.py", line 2035, in get_value
    return db.get_value(*args, **kwargs)
  File "apps/frappe/frappe/database/database.py", line 467, in get_value
    result = self.get_values(
  File "apps/frappe/frappe/database/database.py", line 564, in get_values
    out = self._get_values_from_table(
  File "apps/frappe/frappe/database/database.py", line 831, in _get_values_from_table
    return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
  File "apps/frappe/frappe/query_builder/utils.py", line 84, in execute_query
    result = frappe.db.sql(query, params, *args, **kwargs)  # nosemgrep
  File "apps/frappe/frappe/database/database.py", line 216, in sql
    self._cursor.execute(query, values)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 558, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 822, in _read_query_result
    result.read()
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 1200, in read
    first_packet = self.connection._read_packet()
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 772, in _read_packet
    packet.raise_for_error()
  File "env/lib/python3.10/site-packages/pymysql/protocol.py", line 221, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "env/lib/python3.10/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1305, 'FUNCTION _332ca13292995002.DokosEvent does not exist')

process_response @ website.js:192
(anonymous) @ website.js:126
F @ jquery.js:3213
fireWith @ jquery.js:3343
dn @ jquery.js:9619
(anonymous) @ jquery.js:9878
load (async)
send @ jquery.js:9897
ajax @ jquery.js:9511
call @ website.js:92
(anonymous) @ EV00952-atelier-decouvert-des-intellig:3342
dispatch @ jquery.js:5135
Ct.handle @ jquery.js:4939

Je ne sais pas si cela vient d’un mauvais paramétrage ou bien si c’est un bug ?

Les paramètres de l’événement de test :

Merci Nathan pour la remontée du problème, c’est effectivement un bug.
Je l’ai corrigé ici et cette correction devrait être disponible rapidement.

Corentin