imls-dmt / imls-dmt/userinterface

Non-empty vocabulary types in the resource creation and update forms are included in Frameworks list

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Modify Existing Feature
Dominant language
Vue
Stars
0
Forks
1
Avg merge
1h 57m
Merged PRs (30d)
9

Description

Controlled vocabularies editable through the vocabulary edit interface that have ANY value in the "Type" field appear in the learning resource creation and edit forms as an available "Education Framework" that can be selected for a learning resource. This then also updates the list of associated nodes for that framework for selection in the interface.

This bug was identified when the "Contributor Types" and "Subject Disciplines" vocabularies were both inadvertently updated with "Type" values that should have added as additional vocabulary items instead. When these vocabularies had non-empty "Type" values they appeared as items in the "Education Framework" picklist. When the "Type" fields for these vocabularies were set to and empty string and the change saved they no longer appeared in the picklist.

This likely needs to be resolved in the API.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the API path that populates the Education Framework picklist used by the learning resource creation and edit forms. Reproduce the issue with the Contributor Types and Subject Disciplines vocabularies, then verify that vocabularies with unintended Type values no longer appear as selectable frameworks or add associated nodes to that list.

Written by the indexing model from the issue text.

Assessment

Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.