Skip to content

Instantly share code, notes, and snippets.

@mbj
Created December 1, 2015 21:37
Show Gist options
  • Save mbj/b24eafdcd9ed25a79f34 to your computer and use it in GitHub Desktop.
Save mbj/b24eafdcd9ed25a79f34 to your computer and use it in GitHub Desktop.
remaining-linter-errors.txt
* reimbursement - can't write unknown attribute `customer_return_id' (ActiveModel::MissingAttributeError)
* promotion - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (1, null, null, null, Promo, null, null, all, null, f, null, 2015-12-01 21:12:15.576455, 2015-12-01 21:12:15.576455, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_item_adjustment - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (2, null, null, null, Promo, null, null, all, null, f, null, 2015-12-01 21:12:15.580228, 2015-12-01 21:12:15.580228, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_order_adjustment - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (3, null, null, null, Promo, null, null, all, null, f, null, 2015-12-01 21:12:15.582167, 2015-12-01 21:12:15.582167, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_item_total_rule - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (4, null, null, null, Promo, null, null, all, null, f, null, 2015-12-01 21:12:15.584021, 2015-12-01 21:12:15.584021, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* refund - PG::NotNullViolation: ERROR: null value in column "reimbursement_id" violates not-null constraint
DETAIL: Failing row contains (1, 100.00, fake-refund-transaction-1, 2015-12-01 21:12:17.853661, 2015-12-01 21:12:17.853661, 6, 1, null).
: INSERT INTO "spree_refunds" ("amount", "created_at", "payment_id", "refund_reason_id", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" (ActiveRecord::StatementInvalid)
* customer_return - can't write unknown attribute `customer_return_id' (ActiveModel::MissingAttributeError)
* customer_return_with_accepted_items - can't write unknown attribute `customer_return_id' (ActiveModel::MissingAttributeError)
* country - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_spree_countries_on_iso3_and_name"
DETAIL: Key (iso3, name)=(USA, United States of America) already exists.
: INSERT INTO "spree_countries" ("iso", "iso3", "iso_name", "name", "numcode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" (ActiveRecord::RecordNotUnique)
* store - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "unique_spree_stores_on_name"
DETAIL: Key (name)=(Spree Test Store) already exists.
: INSERT INTO "spree_stores" ("code", "created_at", "mail_from_address", "name", "updated_at", "url") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" (ActiveRecord::RecordNotUnique)
* reimbursement_type - PG::NotNullViolation: ERROR: null value in column "type" violates not-null constraint
DETAIL: Failing row contains (1, Reimbursement Type 1, null, t, t, 2015-12-01 21:12:26.752723, 2015-12-01 21:12:26.752723).
: INSERT INTO "spree_reimbursement_types" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* payment_with_refund - PG::NotNullViolation: ERROR: null value in column "reimbursement_id" violates not-null constraint
DETAIL: Failing row contains (2, 5.00, fake-refund-transaction-2, 2015-12-01 21:12:27.254163, 2015-12-01 21:12:27.254163, 14, 3, null).
: INSERT INTO "spree_refunds" ("amount", "created_at", "payment_id", "refund_reason_id", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" (ActiveRecord::StatementInvalid)
* state - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_spree_states_on_abbr_and_country_id"
DETAIL: Key (abbr, country_id)=(AL, 1) already exists.
: INSERT INTO "spree_states" ("abbr", "country_id", "name", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" (ActiveRecord::RecordNotUnique)
* return_item - PG::NotNullViolation: ERROR: null value in column "included_tax_total" violates not-null constraint
DETAIL: Failing row contains (1, 10.00, null, null, pending, awaiting, --- ''
, 2015-12-01 21:12:30.264069, 2015-12-01 21:12:30.264069, 6, null, 17, null, null, null).
: INSERT INTO "spree_return_items" ("acceptance_status", "acceptance_status_errors", "created_at", "inventory_unit_id", "pre_tax_amount", "reception_status", "return_authorization_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* exchange_return_item - PG::NotNullViolation: ERROR: null value in column "included_tax_total" violates not-null constraint
DETAIL: Failing row contains (2, 0.00, null, null, pending, awaiting, --- ''
, 2015-12-01 21:12:33.797746, 2015-12-01 21:12:33.797746, 7, null, 20, 46, null, null).
: INSERT INTO "spree_return_items" ("acceptance_status", "acceptance_status_errors", "created_at", "exchange_variant_id", "inventory_unit_id", "pre_tax_amount", "reception_status", "return_authorization_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" (ActiveRecord::StatementInvalid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment