Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4506

Keep getting error "Update Failed: Database was not updated."

Details

    • Bug
    • Resolution: Not A Bug
    • Major
    • None
    • None
    • Default
    • None

    Description

      I keep getting this error message when for example i try to updated the contact for some alert. While it actually adds it and it working, the contact the i add start getting alerts.
      I tried to run test_db.php but i dont get any output.
      If it wasnt able to connect to db then i wouldnt get any devices or alerts on the UI, it would show empty data.

      Attachments

        Activity

          [OBS-4506] Keep getting error "Update Failed: Database was not updated."
          Shama Tarek added a comment -

          Thanks for having a look.

          Shama Tarek added a comment - Thanks for having a look.
          landy Mike Stupalov made changes -
          Resolution New: Not A Bug [ 6 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          This message show when nothing changed.

          I improved this message to "Warning: Associations not changed." in r12792.

          landy Mike Stupalov added a comment - This message show when nothing changed. I improved this message to "Warning: Associations not changed." in r12792.
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: In Progress [ 3 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          Shama Tarek added a comment -

          In one of the screenshots you can see the error "Update Failed: Database was not updated."

          Shama Tarek added a comment - In one of the screenshots you can see the error "Update Failed: Database was not updated."
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]

          I can't reproduce any troubles with contact(s) association.
          Also as I not see this trouble on your screenshot.

          Probably there was db connection error, this is why accidentally created duplicate entry.
          Just remove duplicate entry..

          landy Mike Stupalov added a comment - I can't reproduce any troubles with contact(s) association. Also as I not see this trouble on your screenshot. Probably there was db connection error, this is why accidentally created duplicate entry. Just remove duplicate entry..
          Shama Tarek added a comment -

           

          I just noticed it doubles the contact when doing refresh to the page 

          Shama Tarek added a comment -   I just noticed it doubles the contact when doing refresh to the page 
          Shama Tarek made changes -
          Attachment New: image-2023-05-04-15-21-44-983.png [ 20680 ]

          People

            landy Mike Stupalov
            Shama Tarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: