FancyMenu Conflict: `controlify:open-settings` action ID still on the LTS branch

Open Beginner friendly
#1,029 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
83/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
backend

Research direction

Read compatibility/fancymenu/OpenControlifySettingsAction.java on the lts branch and compare its action ID with the fix in commit d11ab34 on main. Backport the identifier change, then launch with FancyMenu 3.11.0 and Controlify 3.0.1 LTS on Fabric 1.21.1; done means the action registers without the illegal-character error and FancyMenu compatibility remains enabled.

Written by the indexing model from the issue text.

Description

mod-compatibility

Mod Info (fill out the following information)

  • Mod name: FancyMenu
  • Mod version: 3.11.0 for 1.21.1 (Fabric)

Describe the problem
On the lts branch, Controlify's FancyMenu compat registers the action controlify:open-settings (OpenControlifySettingsAction.java#L13). FancyMenu doesn't allow : in action identifiers, so the registration throws and Controlify disables its whole FancyMenu compat for the instance.

This is already fixed on main in d11ab34 (#1026), but lts still uses the old ID, so the 3.0.x LTS builds are still affected. It can't be fixed on FancyMenu's side.
Our issue: https://github.com/Keksuccino/FancyMenu/issues/1910

To Reproduce

  1. Install FancyMenu 3.11.0 and Controlify 3.0.1 LTS on Fabric 1.21.1
  2. Launch the game
  3. See this in the log during client startup:
[FANCYMENU] Tried to register action with illegal character ':' in identifier: controlify:open-settings
Failed to run compatibility code for fancymenu, potentially unsupported version? Disabling 'fancymenu' compat for this instance.

Expected behavior
The action registers and the FancyMenu compat stays on.

Screenshots
N/A

Minecraft Info (please complete the following information):

  • OS: Any (not OS-specific)
  • Minecraft Version: 1.21.1 (Fabric Loader 0.20.1, Fabric API 0.116.18)
  • Controlify Version: 3.0.1+lts

Additional context
Possible fix: backport d11ab34 to lts, so change super("controlify:open-settings") to super("controlify-open-settings") in compatibility/fancymenu/OpenControlifySettingsAction.java.

Dominant language
Java
Stars
361
Forks
112
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from isXander/Controlify

All issues in isXander/Controlify

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.