Skip to content

Cannot Initialize List Parameter for Procedural Scheduling Goal #1985

Description

@Mythicaeda

Checked for duplicates

No - I haven't checked

Is this a regression?

No - This is a new bug

Version

develop

Describe the bug

In the event that a procedural scheduling goal has a List parameter with no default value, upon clicking the "Add Value" button to initialize this list causes nothing to happen. Note that the "Add Value" and "Remove Value" buttons work as expected once the list has been initialized (by manually doing so via the API)

Video of the bug (the derivationGroups parameter has been manually initialized in the DB):

Screen.Recording.2026-08-08.at.9.11.58.PM.mov

Reproduction

  1. Unzip and upload the attached procedural scheduling goal to the UI
  2. Add an invocation of the goal to a plan
  3. Attempt to edit the invocation's arguments on the Plan's page

ExternalEventsTypeQueryGoal.jar.zip

Logs

No server logs generated

Firefox logs:
Uncaught TypeError: ({eventTypes:[], derivationGroups:[]}) is not iterable
    Immutable 2
        d
        ke
aaE5PG7-.js:1:7750
    Immutable 2
        d
        ke


Chrome Logs:
aaE5PG7-.js:1 Uncaught TypeError: ((intermediate value)(intermediate value)(intermediate value) ?? []) is not iterable
    at HTMLButtonElement.d (aaE5PG7-.js:1:7767)
    at HTMLButtonElement.<anonymous> (D_pnKt3Y.js:1:4625)
d @ aaE5PG7-.js:1
(anonymous) @ D_pnKt3Y.js:1

System Info

Mac OS, Firefox and Chrome

Severity

Minor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingschedulingAnything related to the scheduling domain

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions