Uploaded image for project: 'Antarcticle'
  1. Antarcticle
  2. ANTARCTICLE-381

Incorrect error while trying to comment the deleted article

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.7 Penguins
    • Fix Version/s: backlog
    • Labels:
      None
    • Environment:

      Opera browser version: 28.0.1750.51
      OS: Windows XP 32-bit

      Description

      Steps to reproduce:
      1. Open your own article in two tabs
      2. Delete the article in the first tab
      3. In another tab without updating the page try to post a comment to the opened article (for ex: test comment)
      4. Press Post button

      Actual result: Followin error appears:

      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 404

        Attachments

        Structure

        (does not include ANTARCTICLE-381)
        History

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:

                Structure Helper Panel