Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-18773

Editing time groups results in loss of data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Time Groups
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.17.0
    • Distro Version:
      10.13.66-21
    • Distro:
      AsteriskNOW

      Description

      When editing time groups, some existing entries disappear (are removed/overridden).

      A likely cause for this is, that at insert the 'id' column in MySQL table 'timegroups_details' is set to the MySQL defined default, i.e. '0'. Whenever during an edit, a MySQL delete command is  executed, all entries with 'id=0' are affected, which may explain the unexpected behabior. I have not investigated the exact behavior, but the 'id' set to '0' for newer entries looks wrong to me.

       

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bhoeneis bhoeneis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.