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

オープン
#249 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
php
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
46
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

catalyst/moodle-tool_trigger のほかの issue

catalyst/moodle-tool_trigger の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。