Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExhibitExportSerializer: remove confirmation token #2184

Closed
wants to merge 2 commits into from

Commits on Aug 1, 2019

  1. ExhibitExportSerializer: remove confirmation token

    This avoids the edge case where exporting an exhibit with a contact email then
    importing it into the same Spotlight instance causes this sort of error:
    ```
    F, [2019-07-29T12:32:28.849634 #15168] FATAL -- : [157062cd-0728-432e-8acb-252372f37ce0] ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_spotlight_contact_emails_on_confirmation_token"
    DETAIL:  Key (confirmation_token)=(R6A-skseGTy41-9EHs5T) already exists.
    : INSERT INTO "spotlight_contact_emails" ("exhibit_id", "email", "confirmation_token", "confirmed_at", "confirmation_sent_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"):
    ```
    dunn committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    970df7c View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Configuration menu
    Copy the full SHA
    ba35e34 View commit details
    Browse the repository at this point in the history