Uploaded image for project: 'QA Sandbox'
  1. QA Sandbox
  2. QASANDBOX-382

Execution exception when try to comment deleting article

    XMLWordPrintable

    Details

      Description

      Project: Antarcticle
      Version: Powered by Antarcticle 2.8.622.6e8c99f

      Steps:
      1. Login http://qa.jtalks.org/antarcticle
      2. Create article
      3. Open article
      4. And open article in the second page
      5. Type comment in the first page without posting
      6. Delete article in the second page
      7. Post comment in the first page
      8. Error:

      Execution exception[[MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`qa_antarcticle`.`comments`, CONSTRAINT `comment_article_fk` FOREIGN KEY (`article_id`) REFERENCES `articles` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION)]]

      Expected result:
      Error message "Sorry, article not found"

        Attachments

          Structure

            Activity

              People

              • Assignee:
                julik Julia Atlygina
                Reporter:
                qwe qwe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel