mdsplus icon indicating copy to clipboard operation
mdsplus copied to clipboard

mdsplus8: traverser does not allow adding long node names

Open mwinkel-dev opened this issue 1 year ago • 0 comments

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:

  1. Using the mdsplus8 branch, launch "traverser" and then create a new tree and open it for edit.
  2. Select the "Add Node" menu item.
  3. In the pop-up dialog box, enter a 20 character node name or longer (mdsplus8 support up to 63 characters).
  4. Click on the OK button.
  5. Then an Error window appears with this message: "Node names must be no more than 12 characters long"

Expected behavior

  1. Accepts node names of 1 to 63 characters.
  2. Error message appears if node name is longer than 63 characters (or empty).
  3. Text of error message mentions 63 characters is the maximum (not 12 characters).

Screenshots Screenshot 2023-06-22 at 12 02 10 PM

Additional context Surprisingly, "traverser" does allow renaming nodes with very long names. (Names longer than 63 characters are truncated.)

mwinkel-dev avatar Jun 22 '23 20:06 mwinkel-dev