Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63635

QModbusDataUnit doesn't resize vector after construction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.9.2
    • SerialBus: MOD Bus
    • None

    Description

      setValueCount(...) does not resize m_values so that subsequent calls to setValue fails silently

      This becomes apparent when using the QModbusDataUnit(RegisterType type) constructor as it then becomes impossible to set values to nondefault values.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            morten Morten Jorgensen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes