mdsplus
mdsplus copied to clipboard
mdsplus8: traverser does not allow adding long node names
Affiliation MIT PSFC
Version(s) Affected mdsplus8
Platform Ubuntu 20.04
Describe the bug The "traverser" program does not allow adding the long node names supported by mdsplus8.
To Reproduce Steps to reproduce the behavior:
- Using the mdsplus8 branch, launch "traverser" and then create a new tree and open it for edit.
- Select the "Add Node" menu item.
- In the pop-up dialog box, enter a 20 character node name or longer (mdsplus8 support up to 63 characters).
- Click on the OK button.
- Then an Error window appears with this message: "Node names must be no more than 12 characters long"
Expected behavior
- Accepts node names of 1 to 63 characters.
- Error message appears if node name is longer than 63 characters (or empty).
- Text of error message mentions 63 characters is the maximum (not 12 characters).
Screenshots
Additional context Surprisingly, "traverser" does allow renaming nodes with very long names. (Names longer than 63 characters are truncated.)