Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1513

DMS | Production | Post comments displaying error

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Enhancements - Fall
    • Labels:
      None

      Description

      Environment: production
      Page: Review and Sign
      Issue: Post comments displaying error

      Steps:
      1. Add comments
      2. Click Post comments button
      3. System unable to post comments

      Refer screen capture.

      Sachin Hingole Rohan J Khandave Ganesh Sadawarte

        Attachments

        1. Screenshot (2517).png
          Screenshot (2517).png
          171 kB
        2. Screenshot (2595).png
          Screenshot (2595).png
          167 kB
        3. Screenshot (2596).png
          Screenshot (2596).png
          167 kB

          Activity

          Hide
          samir Samir added a comment -

          Please check this

          Show
          samir Samir added a comment - Please check this
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Hi Priya Dhamande,

          The  error occurred due to database table constraint fail : 

          MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`dms_prod`.`useruploadpostcomment`, CONSTRAINT `FK_PersonID` FOREIGN KEY (`PersonID`) REFERENCES `dms_master`.`person` (`id`))

          Preprod's person table was getting referenced for Prod's useruploadpostcomment table.

          This issue was only on production and has been corrected. 

          Please verify the scenario.

          CC: Rohan J Khandave ,Ganesh Sadawarte, Samir

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Priya Dhamande , The  error occurred due to database table constraint fail :  MySql.Data.MySqlClient.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`dms_prod`.`useruploadpostcomment`, CONSTRAINT `FK_PersonID` FOREIGN KEY (`PersonID`) REFERENCES `dms_master`.`person` (`id`)) Preprod's person table was getting referenced for Prod's useruploadpostcomment table. This issue was only on production and has been corrected.  Please verify the scenario. CC: Rohan J Khandave , Ganesh Sadawarte , Samir
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: production
          Login: candidate

          The issue of error while posting comment is verified and resolved.

          Verified for
          1. With attachment
          2. Without attachment

          Refer screen capture. So, marking jira done.

          Sachin Hingole Samir Ramya Tantry Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: production Login: candidate The issue of error while posting comment is verified and resolved. Verified for 1. With attachment 2. Without attachment Refer screen capture. So, marking jira done. Sachin Hingole Samir Ramya Tantry Rohan J Khandave

            People

            Assignee:
            ramya.tantry Ramya Tantry (Inactive)
            Reporter:
            priya.dhamande Priya Dhamande (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0h
                0h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h