Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@skarya22
Copy link
Contributor

@skarya22 skarya22 commented Oct 18, 2024

Brief summary of changes

  • Hide examiners from an instrument if they are inactive for the site
  • Does not hide them if they were already selected

Testing instructions (if applicable)

  1. Update an examiner in examiners_psc_rel to have active = 'N'
  2. Try to set them as examiner for an instrument, see that they do not appear
  3. Set them as someone else, then set them to active = 'N' and see that they are still there

CCNA OVERRIDE PR

@skarya22 skarya22 changed the title [Examiner] Hide inactive [NDB_BVL_Instrument] Hide inactive examiners for site from selection, unless if already selected Oct 31, 2024
Copy link
Contributor

@kongtiaowang kongtiaowang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kongtiaowang kongtiaowang added the Passed manual tests PR has been successfully tested by at least one peer label Nov 11, 2024
@maximemulder maximemulder added Project: CCNA Issue or PR related to the CCNA project and removed Priority: Projects labels Dec 2, 2024
@skarya22 skarya22 self-assigned this Dec 13, 2024
@skarya22 skarya22 added the State: Needs work PR awaiting additional work by the author to proceed label Dec 13, 2024
@skarya22 skarya22 requested a review from driusan December 13, 2024 21:17
@skarya22 skarya22 assigned driusan and unassigned kongtiaowang and skarya22 Dec 13, 2024
@skarya22 skarya22 removed the State: Needs work PR awaiting additional work by the author to proceed label Jan 22, 2025
@driusan driusan merged commit 03656d5 into aces:main Jan 22, 2025
19 checks passed
driusan pushed a commit that referenced this pull request Mar 11, 2025
…nary (#9667)

- raisinbread BMI instrument was not opening due to a change I made in
#9416 where getExaminerFields in NDB_BVL_Instrument now relied on data
being present in the instrument's dictionary.
- Unfortunately, when loading a LINST instrument with Direct Entry
enabled, it would first run _addMetadataFields, and then add metadata
fields to the dictionary
- _addMetadataFields would then call getExaminerFields causing it to
fail, since getExaminerFields relies on the dictionary having metadata,
but the metadata is added after _addMetadataFields
- The change has been made so _addMetadataFields is run _after_ metadata
is entered in the instance's dictionary. Further, metadata fields are
only added to the instances dictionary if direct entry is not enabled.
Otherwise they were added to the dictionary when they did not exist.

* Resolves #9582, #9644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Passed manual tests PR has been successfully tested by at least one peer Project: CCNA Issue or PR related to the CCNA project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants