Skip to content
This repository was archived by the owner on Apr 5, 2019. It is now read-only.
This repository was archived by the owner on Apr 5, 2019. It is now read-only.

Integrity constraint raised on local signup #32

@loictalbot

Description

@loictalbot

hi,
I get this issue when the app is deployed locally and running the startup screen properly. Then I have clicked on "join", filled up the fields and submitted.

here is the stacktrace on submit:


HTTP Status 500 - Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [insert into MemberAction (actionType, performTime, latitude, longitude, member) values (?, ?, ?, ?, ?)]; Referential integrity constraint violation: "CONSTRAINT_8A0: PUBLIC.MEMBERACTION FOREIGN KEY(MEMBER) REFERENCES PUBLIC.MEMBER(ID)"; SQL statement:


It seems a foreign key is misplaced on MemberAction table

thanks for any help

edited: 2/7/2013

i've removed all foreign keys, bad practise, but just to make it run, signup etc properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions