Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109048

Cloud sync bandwidth limit integer conversion on editing

    XMLWordPrintable

    Details

    • Impact:
      Low

      Description

      I ran into an issue setting up bandwidth limits, for a cloud task. For the task, I wanted to limit to 1.5M, and when i save the task I recieve the error that 1.5 is not an integer, and that I need to enter an integer.

      I then enter 1500K as the value, and this saves the task sucessfully. (1, on the attached image) But when I go to edit the task the value 1500K has been converted to 1.46M.(2, on the attached image)  and if I try to save this will throw an error that once again I I cant use integers. (3, on the attached image) 

      It apperars that the value is being converted to the next largest unit when above a the value of that unit. as when I use a value of 800K it doesnt convert to 0.8M 

      From my inital test the sync task does run correctly when saving 1500K as a value. (Limiting to the 1500K specified)

      The issue is that I cannot change any proporties of the task without also needing to reenter all bandwidth limit values that have converted. 

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                PrSharkey Patrick
                Watchers:
                Bonnie Follweiler, Patrick
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: