uniadaptiveLTI / uniadaptiveLTI-Front

GNU General Public License v3.0
0 stars 2 forks source link

Cuando se importa desde moodle un curso con insignias da error #82

Closed rafaugr closed 10 months ago

rafaugr commented 10 months ago

error en components/Header.js:390

Unhandled Runtime Error ReferenceError: nodes is not defined

Javiondox commented 10 months ago

Can you explain when this occurs, without context is impossible to know.

jumarub commented 10 months ago

The issue appears to be related to a change in variable naming convention, where "nodes" should be replaced with "NODES." If the error persists, please provide more context about the problem for further investigation.

rafaugr commented 10 months ago

Con el código actualizado a la versión actualizada ayer, ahora el error es el siguiente: Uncaught (in promise) ReferenceError: NEW_NODE is not defined at parseMoodleBadges (Moodle.js:55:2) at eval (Header.js:419:34) at Array.map (<anonymous>) at handleImportedMap (Header.js:418:26)

Pasos para reproducir el error:

  1. Abrir la herramienta desde un curso que tiene insignias
  2. Importar desde moodle
jumarub commented 10 months ago

In both commits, the issue has been resolved. Thank you.

Javiondox commented 10 months ago

It will be merged to the main project via Pull Request in short.

Javiondox commented 10 months ago

Closing issue. Comment here to reopen the issue if it persists.