ITEM.LASTVALUE truncates string to 2048 bytes

XMLWordPrintable

      {ITEM.LASTVALUE} truncates history value to 2048 bytes. It causes splitting unicode character if history is unicode string more than 2048 bytes, then leads db insert error for alerts table.

      DBItem_lastvalue() uses tmp[MAX_STRING_LEN], it should be replaced with MAX_BUFFER_LEN.

            Assignee:
            Unassigned
            Reporter:
            Kodai Terashima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: