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

Can't delete a file even no user is currently opening the file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.4
    • Component/s: ZSS App
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Problem description

      in zssapp, CollaborationInfoEx keeps track of the current users who are opening a file. It will remove the relation when a user closes a file or a browser tab.

      But the desktop removal request is not reliably sent every time since a browser might crash or too busy to send. Hence, zssapp can't keep track of the real usage of a file, and this will cause an inconsistent state between clients and the server, which is no one is opening the file, but the zssapp still contains users are using that file.

      Current Result

      ZSSAPP prevents you from deleting a file

        Activity

        Hide
        hawk hawk added a comment - - edited

        Solution

        When users click "Delete" button, show a confirm dialog, if users confirm to delete a file, then delete the file even ZSSAPP thinks there are users opening the file.

        Show
        hawk hawk added a comment - - edited Solution When users click "Delete" button, show a confirm dialog, if users confirm to delete a file, then delete the file even ZSSAPP thinks there are users opening the file.

          People

          • Assignee:
            hawk hawk
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: