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

Global Add-ons: random behaviour updating options #187

Open
7 of 30 tasks
DenisFrezzato opened this issue May 31, 2018 · 0 comments
Open
7 of 30 tasks

Global Add-ons: random behaviour updating options #187

DenisFrezzato opened this issue May 31, 2018 · 0 comments
Labels
type: bug The issue is a confirmed bug.

Comments

@DenisFrezzato
Copy link

DenisFrezzato commented May 31, 2018

What I expected

After updating the options of a global add-on, I expect the options correctly saved.

What happened instead

Saved options is different from the options I checked/unchecked. Furthermore, when saving, I get this notice:
Notice: Undefined index: product-type in /[...]/wp-content/plugins/woocommerce-accommodation-bookings/includes/integrations/class-wc-accommodation-booking-addons.php on line 66

Steps to reproduce the issue

Here a few examples.
Starting state:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

Updating with these options:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

I get this:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

Updating with these options:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

I get this:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

Updating with these options:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

I get this:

  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by person count
  • Bookings: Multiply cost by block count
  • Bookings: Multiply cost by number of nights

  • Issue assigned to next milestone.
  • Issue assigned a priority (will be assessed by maintainers).
@vikrampm1 vikrampm1 added the type: bug The issue is a confirmed bug. label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants