Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-578

Insert a picture at Range(0,0) and drag it left or top will cause null pointer exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      1. Use the attach file "test.zul"
      2. click insert picture button
      3. drag picture left or top will cause NPE

      It cause by client sending null value to server
      data_1:

      {"sheetId":"z3_sheet_8","wgtType":"image","action":"move","wgtId":"z3_pic_0","dx1":null,"dy1":26,"dx2":null,"dy2":13,"col1":null,"row1":0,"col2":null,"row2":4}

        Activity

        Show
        henrichen henrichen added a comment - 3.5 https://github.com/zkoss/zkspreadsheet/commit/e892956493d2096274d1d3ffc0cb324b870345f8 https://github.com/zkoss/zsscml/commit/395951664cb83ab7284732d7bc54e354536aed64
        Hide
        henrichen henrichen added a comment -

        Fixed.

        Show
        henrichen henrichen added a comment - Fixed.

          People

          • Assignee:
            henrichen henrichen
            Reporter:
            roliroli roliroli
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: