Cannot Initialize List Parameter for Procedural Scheduling Goal
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Reproduce the issue on the Plan page with the attached procedural scheduling goal, then start from the Plan invocation argument editor and the Add Value button that produces the browser TypeError. Done means a List parameter without a default initializes from Add Value, after which Add Value and Remove Value continue to work.
Written by the indexing model from the issue text.
Description
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):
https://github.com/user-attachments/assets/3f867023-6c32-4713-9a23-18698b9ba344
Reproduction
- Unzip and upload the attached procedural scheduling goal to the UI
- Add an invocation of the goal to a plan
- 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
- Dominant language
- Svelte
- Stars
- 42
- Forks
- 14
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NASA-AMMOS/plandev-ui
-
clipper feature sequencing
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
NASA-AMMOS/plandev-ui#1978 ·
-
Double-clicking "Update" in the Manage Scheduling Goals modal creates duplicate goal invocations Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
NASA-AMMOS/plandev-ui#1974 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NASA-AMMOS/plandev-ui#1963 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NASA-AMMOS/plandev-ui#1930 · 2 comments · 1 reaction ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NASA-AMMOS/plandev-ui#1893 ·
All issues in NASA-AMMOS/plandev-ui
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bvaughn/react-resizable-panels#751 · 1 comment ·
-
www.wiwo.de OpenN: AdGuard Browser Extension P3: Medium T: Annoyance
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AdguardTeam/AdguardFilters#242026 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100