Uploaded image for project: 'Kopano WebApp'
  1. Kopano WebApp
  2. KW-3078

Uncaught ArithmeticError: Bit shift by negative number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.5.4
    • Security Level: Public
    • Labels:
      None
    • Environment:
      kopano-webapp master

      Description

      Create a recurrence as following on a PHP 7 webapp

      Saving this will throw an exception due to PHP 7 now throwing an exception when code tries to shift a negative number such as 1 << -1 which was "undefined behaviour in PHP 5" 

      https://forum.kopano.io/topic/526/uncaught-arithmeticerror-bit-shift-by-negative-number/3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jvanderwaa Jelle van der Waa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: