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

field_data_commerce_order_total table has leftover data #374

Open
serhatozkara opened this issue Feb 22, 2018 · 0 comments
Open

field_data_commerce_order_total table has leftover data #374

serhatozkara opened this issue Feb 22, 2018 · 0 comments

Comments

@serhatozkara
Copy link

When a user adds a booking and proceeds to checkout page and then leaves the page as is and then cancels all reservations in the cart, field_data_commerce_order_total table has leftover data. This eventually leads to PDOException.

Expected Behavior

After user clears the cart, relevant field_data_commerce_order_total row should also be deleted.

Current Behavior

field_data_commerce_order_total table has leftover data with amount 0.

Possible Solution

Commerce related bug?

Steps to Reproduce from a clean installation of the latest release

  1. Make a booking search and click book now.
  2. Proceed to the checkout page.
  3. In the checkout page, decide to cancel and go to homepage without cancel button.
  4. Visit /cart page and cancel reservation.
  5. Now field_data_commerce_order_total table has a redundant row.

Context (Environment)

Tried with vanilla master installation and 1.5.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant