To continue getting breaking news and the full stories from The Boston Globe, subscribe today.

The Boston Globe

Metro

Some trick-or-treaters must wait a day or two

SUDBURY — Patrick Corbett of Sudbury was on a mission Halloween night.

He pulled into the supermarket parking lot on Boston Post Road and confessed.

Comments

Error querying database.  Cause: org.postgresql.util.PSQLException: ERROR: insert or update on table "ia" violates foreign key constraint "ia_topic_key_fkey"
  Detail: Key (topic_key)=(0) is not present in table "topic".
What the heck is this - certainly not a comment from my simple mind. . . . 

 

Where: SQL statement "INSERT INTO IA (
         IA_KEY,
         PARENT_IA_KEY,
         IA_TYPE_KEY,
         TOPIC_KEY,
         ACTING_UGC_USER_KEY,
         NAMED_UGC_USER_KEY,
       IA_BODY,
       IA_TOKEN,
       IA_APPROVAL_STATUS_KEY,
       FLAG_IS_ARCHIVED,
       CREATE_DT)