Skip to content

checkout_agreement_store doesn't exist #18357

Closed
@michelecanal

Description

@michelecanal

Preconditions

  1. Starting from Magento CE 2.2.5
  2. upgrade from 2.2.5 to 2.2.6

Steps to reproduce

  1. Starting from Magento CE 2.2.5
  2. created a terms and conditions (Store-->Terms and conditions)
  3. upgrade from 2.2.5 to 2.2.6
  4. The Terms and conditions created are not visible in admin (Store-->Terms and conditions)

Expected result

  1. I can edit the old terms and conditions
  2. I can insert a new terms and conditions

Actual result

  1. old terms and conditions are not visible
  2. In production mode I can add a new terms and conditions but is not visible in admin
  3. In developer mode there is an exception:

2 exception(s):
Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXXXXX.checkout_agreement_store' doesn't exist, query was: SELECT agreement_store.* FROM checkout_agreement_store AS agreement_store WHERE (agreement_store.agreement_id IN ('1'))
Exception #1 (PDOException): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'XXXXXX.checkout_agreement_store' doesn't exist

The table exist in DB; note that in sql there isn't the prefix to table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions