Skip to content

Issue-428 Blanking out NCCID for Other or Staff Ready For Testing

Brad Evangelista requested to merge Issue-428 into main

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

Issue-428

Related Issues

(List any related issues here or any issues this closes here.) Closes #428 (closed)

Description

This merge allows people of affiliation "staff" or "other" to bypass the need for an N#. We superseded the original default N# for a blank N# which was a bunch of zeroes and replaced it with N/A

Steps to Test

(List the steps needed to test this merge request here using bullets, for ex:)

  1. Step 1 we looked at the SecondFragment.java file to look at the default value for N# when other is chosen and replace it with N/A
  2. Step 2 we go to the onViewCreateMethod and under the next button binding variable we put a condition that when other or staff is clicked we send the changed variable to result and that will be sent to the third fragment java file
  3. Step 3 lastly, in the SummaryFragment.java file when retrieving info from the second fragment we put a condition statement that when nccID equals N/A then it will set it to N/A and if not it will set the users N#

Relevant Screenshots

(Post any relevant screenshots here.)

Relevant Logs

(Paste any relevant logs here.)

Developer Notes

(List any notes you have about what you did here using bullets, for ex:)

  • Note 1 in the SecondFragment.java file when changing the value for variable otherNCCID it would display "NN/A"
  • Note 2 to figure out how to delete the first N when its displayed we went to the SummaryFragment.java file
  • Note 3 when we added code to the summary.java file we retrieve the info from second fragment using fragment manager. Under this we added a condition that when id is equal to the String "N/A" it will set it this value and if not it will have the leading N
Edited by Brad Evangelista

Merge request reports