Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow advanced MM patching of Subcategory definitions #23

Open
Rodg88 opened this issue Nov 10, 2024 · 1 comment
Open

Allow advanced MM patching of Subcategory definitions #23

Rodg88 opened this issue Nov 10, 2024 · 1 comment

Comments

@Rodg88
Copy link

Rodg88 commented Nov 10, 2024

Having Subcategories in top level/root confignodes means MM can't use more advanced checks for patching, such as & for "only create if doesn't already exist".

For eg, this fails:

&ORGANIZERSUBCATEGORY[interstages]
{
  name = interstages
  Label = Interstages
  Priority = 12
  CategoryPriority = 30
}

with the error Error - create command (&) is not valid on a root node

The current solution of just being able to handle duplicate subcategories may be good enough to not have to do anything about this, but having ORGANIZERSUBCATEGORY being a subnode of a VABO root node may be a better solution.

@ChrisAdderley
Copy link
Contributor

This is kinda unlikely to happen because it will require everyone to rewrite their patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants