Missing (non-functioning) Dropdown at Moodle 5.1+ (Build: 20251030)

Abierto
#249 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
php
Área
backend

Línea de trabajo

The report identifies renderer.php under moodle/public/admin/tool/trigger/classes/output/workflowhistory and the dropdown attributes as the failing area. Read that renderer and check how it marks the dropdown toggle for Moodle 5.1+. Done means the manual trigger dropdown works again; the issue gives a concrete change to investigate but no test or maintainer response is mentioned.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

To whom it may concern:

Here is some information about using Moodle 5.1+.

We had a problem with the plugin (installed Version 2024111900) because we could no longer use the drop-down menu to manually trigger after the upgrade.

Image

After a long search, we came across the following post:

https://moodle.org/mod/forum/discuss.php?d=469600&parent=1885270

Quote:
“Our problem was that the old syntax ”data-“ was being used. After I replaced all ”data-“ with ”data-bs-“ in the source code, it worked. Maybe this will help someone else.”

With this information and the linked video, I started searching within the plugin. Changing the file renderer.php under moodle/public/admin/tool/trigger/classes/output/workflowhistory did the trick. Here, I changed all “dropdown-toggle” from “data-toggle” to “data-bs-toggle.”

Image Image

After that, the functionality at the moment is back.

Image

I just wanted to let you know.

Lenguaje dominante
PHP
Estrellas
46
Forks
29
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de catalyst/moodle-tool_trigger

Todos los issues de catalyst/moodle-tool_trigger

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.