Cannot delete or update a parent row: a foreign key constraint fails
(`pubscopy`.`author_of`, CONSTRAINT `fk_author_of_citations1` FOREIGN KEY (`citation_id`) REFERENCES `citations` (`citation_id`) ON DELETE NO ACTION ON UPDATE NO ACTION)<br />
DELETE FROM citations WHERE citation_id=34234 <br /><br />
If you click on the second page (another issue- there should only be one page if there's fewer than 100 citations) it magically seems to go away. Might be a problem with the way we're deleting citations.
Abhinav, you were working on the delete function at one point- maybe you could take a look at it?
Deleting a citation returns this SQL error.
If you click on the second page (another issue- there should only be one page if there's fewer than 100 citations) it magically seems to go away. Might be a problem with the way we're deleting citations.
Abhinav, you were working on the delete function at one point- maybe you could take a look at it?