roomify / bat Goto Github PK
View Code? Open in Web Editor NEWA Booking and Availability Management Library for PHP
License: MIT License
A Booking and Availability Management Library for PHP
License: MIT License
Is it still maintained / relevant?
Issue Key: BAT-142
Issue Type: Bug
Created: 11/Nov/19 10:52 PM
Updated: 12/Nov/19 8:37 PM
Resolved: 12/Nov/19 8:37 PM
Description: Hide the '+ Event Series' tab when viewing an event series event
Comment1:
Comment2:
Comment3:
Issue Key: BAT-139
Issue Type: Bug
Created: 11/Nov/19 10:44 PM
Updated: 12/Nov/19 8:40 PM
Resolved: 12/Nov/19 4:19 PM
Description: weekly repeating events should include an event on the 'repeat until' date, if it is the correct day of the week
To reproduce:
Comment1:
Comment2:
Comment3:
Hi, I'm writing a Hotel Booking for WordPress. And thanks god I found this package. Seem it's help me so much.
But my idea is when user create a room, it's always available to book.
I wonder if BAT can do getMatchingUnits
without pass events
?
Issue Key: BAT-151
Issue Type: Task
Created: 11/Jan/20 12:16 AM
Updated: 28/Jan/20 6:41 PM
Resolved: 28/Jan/20 6:41 PM
Description: Currently the BEE WEbform element is configured to make a Content type bookable, and the user cannot select what node is booked. (first available unit(s) are booked)
The ticket is to do the following:
When creating a webform submission, allow the user to:
After user enters start/end dates, show a drop down of available nodes. The dropdown should be disabled until valid dates are entered. Whichever node is selected is what is reserved. If Capacity is enabled on the webform, the dropdown should be disabled until both dates and capacity are entered, then show available nodes in the dropdown.
Comment1: 16/Jan/20 5:40 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
This is a good start 🙂
A few changes:
Comment2: 21/Jan/20 8:06 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
After actually using this, I’m afraid that I chose a bad approach. Let’s simplify it:
Comment3:
You can help me.
Les-MacBook-Pro:batmaster letrungha$ composer require Roomify/Bat
Using version ^1.1 for Roomify/Bat
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package roomify/bat No version set (parsed as 1.0.0) is satisfiable by roomify/bat[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
I have a large conference room and can be divided into 2, if I book the large conference room I can not reserve the 2 small and if I book a small one I can not book the large one at the same time, it is possible to do this as is currently the module ? I'm using it in drupal 8
Issue Key: BAT-127
Issue Type: Task
Created: 02/Aug/19 6:25 PM
Updated: 06/Aug/19 5:27 PM
Resolved: 06/Aug/19 5:27 PM
Description: https://www.drupal.org/project/bee/issues/3072110
thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-145
Issue Type: Task
Created: 05/Dec/19 3:00 PM
Updated: 05/Dec/19 3:00 PM
Resolved:
Description: When you have no other tasks, let's use https://github.com/mglaman/drupal-check to look for deprecated code and remove it, and add a drupal 9 + php 7.3 test run for bat and bee on travis. Thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-130
Issue Type: Task
Created: 20/Sep/19 7:17 PM
Updated: 23/Sep/19 4:26 PM
Resolved: 23/Sep/19 4:26 PM
Description: There is an attached DB with about 160 hotels, 900 types and 900 units. The user says:
| This is search request /availability-search?bat_start_date=2019-09-21&bat_end_date=2019-09-22&location=0&group_size=0
| This is devel module report Executed 16734 queries in 3778.23 ms. Queries exceeding 5 ms are highlighted. Page execution time was 61012.49 ms.
Let's see if we can reduce the number of queries, perhaps by adding a default pager? Please don't spend more than an hour on this, this is very low priority.
Comment1:
Comment2:
Comment3:
Issue Key: BAT-143
Issue Type: Task
Created: 11/Nov/19 10:54 PM
Updated: 23/Nov/19 1:00 AM
Resolved: 23/Nov/19 1:00 AM
Description: On the edit page for an event series:
(i.e. admin/bat/events/event_series/<event_series_event_id>/edit)
Comment1:
Comment2:
Comment3:
Hi there,
I would like to know if anyone has a project to include MySQL supporting to bat.
Thanks
Issue Key: BAT-138
Issue Type: Bug
Created: 11/Nov/19 10:42 PM
Updated: 12/Nov/19 8:21 PM
Resolved: 12/Nov/19 8:21 PM
Description: When editing a non-repeating event, I get a WSOD because it is looking for an event series that does not exist:
Error:
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "bat_event_series" for route "entity.bat_event_series.canonical" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 204 of /var/www/web/core/lib/Drupal/Core/Routing/UrlGenerator.php).
Link:
/admin/bat/events/event/64/edit
Comment1:
Comment2:
Comment3:
ConstraintManager currently uses hard-coded normalize functions to normalize multiple constraints of the same type. These should be moved into their own classes and accessed through an interface allowing other constraint normalizers to be added without having to change the constraint manager.
This will also allow us to implement different constraint normalization strategies.
I am playing around with drupal booking and availability functionality and of course you guys are leading the way...
I encountered three issues in getting the Bat project installed.
The first two are not strictly Bat issues but others might be assisted by improving the documentation.
#1 Documentation - If installing via Composer one must allow Development level stability
I had difficulties installing the BAT php library using the instructions:
composer require roomify/bat
Effectively, composer could not find a "stable" version to install.
I had to change my composer.json file to allow dev versions:
"minimum-stability": "dev",
"require": {
"drush/drush": "dev-master",
"roomify/bat": "@dev"
}
}
#2 Documentation - Other required Drupal modules
I am on Drupal 7.41 and had an issue when enabling the modules.
First off there were a couple of dependencies that had to be installed:
search_api, facetapi, fullcalendar, views_megarow, views_bulk_operations
#3 Issue enabling BAT Calendar Reference.
I got errors indicating reference problems in the following file.
sites/all/modules/bat/modules/bat_calendar_reference/bat_calendar_reference.module
There were three errors in total. Each time I commented out the seemingly offensive code as follows.
I have not yet properly used the project to understand the implications of my hack. The module has been sucessfully enabled.
I commented out the problematic lines to force it to enable.
lines 386 - 390
// if (is_array($field['settings']['referenceable_unit_types'])) {
// if (!empty(array_filter($field['settings']['referenceable_unit_types']))) {
// $query->condition('u.type_id', array_filter($field['settings']['referenceable_unit_types']), 'IN');
// }
// }
line 485 - 489
// if (is_array($field['settings']['referenceable_event_types'])) {
// if (!empty(array_filter($field['settings']['referenceable_event_types']))) {
// $query->condition('u.id', array_filter($field['settings']['referenceable_event_types']), 'IN');
// }
// }
lines 579 - 581
if (is_array($field['settings']['referenceable_event_types'])) {
// if (!empty(array_filter($field['settings']['referenceable_event_types']))) {
// $query->condition('u.type_id', array_filter($field['settings']['referenceable_event_types']), 'IN');
// }
}
Issue Key: BAT-150
Issue Type: Bug
Created: 12/Dec/19 9:34 PM
Updated: 16/Dec/19 7:35 PM
Resolved: 16/Dec/19 7:35 PM
Description: To reproduce:
Comment1:
Comment2:
Comment3:
Issue Key: BAT-126
Issue Type: Task
Created: 02/Aug/19 6:22 PM
Updated: 06/Aug/19 5:25 PM
Resolved: 06/Aug/19 5:25 PM
Description: c.f. https://www.drupal.org/project/bat/issues/3072286
thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-129
Issue Type: Task
Created: 16/Sep/19 4:25 PM
Updated: 16/Sep/19 5:51 PM
Resolved: 16/Sep/19 5:51 PM
Description: Could you look at https://www.drupal.org/project/bee/issues/2973469 ? I've reproduced the issues using the instructions in comment #12.
thanks!
Comment1:
Comment2:
Comment3:
We have a problem when startdate of an event and enddate have different month, the event is saved with one day less.
In order to solve it, we have changed the line 169 of Eventitemizer.php, instead this:
$dayrange = new \DatePeriod(new \DateTime($date->format("Y-n-1")), $dayinterval, $this->event->getEndDate());
to this:
$dayrange = new \DatePeriod(new \DateTime($date->format("Y-n-1")), $dayinterval, new \DateTime($this->event->getEndDate()->format("Y-n-j 23:59:59")));
With that the problem is solved, is it wrong??
Issue Key: BAT-137
Issue Type: Bug
Created: 05/Nov/19 3:30 PM
Updated: 17/Jan/20 5:09 PM
Resolved: 17/Jan/20 5:09 PM
Description: [https://www.drupal.org/project/bat/issues/3077907|https://www.drupal.org/project/bat/issues/3077907]
This issue only happens on sites with translation enabled. To reproduce
Install the Umami example profile in default Drupal 8
Install bat
Try to create a bat_unit type (this may not be the only entity with issues.
Looks like we're missing schema related to translations?
This module will probably be helpful in figuring out what’s missing: [https://www.drupal.org/project/config_inspector|https://www.drupal.org/project/config_inspector]
Comment1: 17/Jan/20 4:44 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
Can you please update the issue on [drupal.org|http://drupal.org] with the status of the fix? Is it in dev now?
Comment2: 17/Jan/20 4:48 PM;557058:5618d454-7c12-49db-afc2-962184518c4f;[~accountid:557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8] Yes, is in dev
Comment3:
Issue Key: BAT-146
Issue Type: Task
Created: 05/Dec/19 3:55 PM
Updated: 12/Dec/19 8:48 PM
Resolved: 12/Dec/19 8:48 PM
Description: Please change the reservation form to show the title/label of the entity (node or webform) being booked - example in screenshot
Comment1:
Comment2:
Comment3:
Issue Key: BAT-135
Issue Type: New Feature
Created: 28/Oct/19 4:19 PM
Updated: 23/Nov/19 1:00 AM
Resolved: 11/Nov/19 10:41 PM
Description: From the BEE module, let’s alter the event series view page:
Comment1:
Comment2:
Comment3:
I got below error when admin tries to add the property. Kindly help me how to fix this issue
Fatal error: Call to a member function getDefaultValue() on a non-object in /var/www/html/seken-dev/sites/all/vendor/roomify/bat/src/Calendar/AbstractCalendar.php on line 251
Fixed
Hello,
I faced with the following issue:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.fh_fh_bat_event_availability_day_state' doesn't exist: SELECT 1 AS expression
FROM
{fh_bat_event_availability_day_state} fh_bat_event_availability_day_state
WHERE ( (unit_id = :db_condition_placeholder_0) AND (year = :db_condition_placeholder_1) AND (month = :db_condition_placeholder_2) ); Array
(
[:db_condition_placeholder_0] => 1
[:db_condition_placeholder_1] => 2016
[:db_condition_placeholder_2] => 12
)
in Roomify\Bat\Store\DrupalDBStore->storeEvent() (line 96 of /sites/all/vendor/roomify/bat/src/Store/DrupalDBStore.php).
Meaning there is a "Double prefix" issue with Drupal 7.
I attached a patch to fix it.
Could you please have a look?
Should I create a Pull Requests to fix this issue?
I still don't understand all the concepts of BAT ('cause my English is not good so much).
As you say "Events define what value a unit has for a given time period". It's could be Price of Room in a time period.
But I see in this line: https://github.com/Roomify/bat/blob/master/src/Event/AbstractEvent.php#L65, value of Event forced is integer type. What if I have a float number in this case:
In: 05/03/2017-10/03/2017 Price of Room is: 99.99$/night?
BTW, thanks for great project!
Issue Key: BAT-140
Issue Type: Bug
Created: 11/Nov/19 10:49 PM
Updated: 12/Nov/19 8:35 PM
Resolved: 12/Nov/19 8:35 PM
Description: The ‘[View other reservations in this series|http://sitealert.docksal/admin/bat/events/event_series/14]’ link is missing when editing an event from the calendar
To reproduce:
Comment1:
Comment2:
Comment3:
Issue Key: BAT-131
Issue Type: Task
Created: 07/Oct/19 7:59 PM
Updated: 24/Oct/19 3:58 PM
Resolved:
Description: We received the attached patch in a security issue on drupal.org. It was reported that users with 'View own' permission for bat events can view events owned by other users as well. Could you:
thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-147
Issue Type: Task
Created: 05/Dec/19 3:55 PM
Updated: 09/Dec/19 5:39 PM
Resolved: 05/Dec/19 10:21 PM
Description: h2. Edit event modal:
Add a link to the edit event modal: ‘Delete remaining events in this series’
On click, show a confirmation message: 'the following events will be deleted, are you sure you want to do this?
On confirmation:
delete any events that are in the future
IF none of the events have happened yet, also delete the event series entity
h2. Edit event series entity:
Show two buttons when editing an event series entity:
The following events will no longer be connected Are you sure you want to do this?
Are you sure you want to do this?
Comment1: 06/Dec/19 9:23 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
Looking awesome, there’s just one more small thing needed that I forgot to specify. When deleting an event series entity, if there are events that are in the past that reference that event series, delete the references as well.
Comment2:
Comment3:
I'm trying to use the bat library.
But I misses the dB install steps. I just saw some static methods in tests, but it's not callable as a command.
Issue Key: BAT-125
Issue Type: New Feature
Created: 31/Jul/19 6:56 PM
Updated: 01/Aug/19 11:43 PM
Resolved: 01/Aug/19 11:43 PM
Description: Could you have a look at https://www.drupal.org/project/bee/issues/3071471 ?
thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-136
Issue Type: Improvement
Created: 28/Oct/19 4:28 PM
Updated: 12/Nov/19 8:40 PM
Resolved: 12/Nov/19 8:40 PM
Description: Goal: allow copying data from webform submission fields into event entities using the [business rules|https://www.drupal.org/project/business_rules] module. We should be able to:
To be able to do this, we need business rules to be able to iterate events created by the Bee Webform element. So, let’s store created BAT event IDs on webform submissions created with an attached bee webform element.
Comment1: 28/Oct/19 4:46 PM;557058:6023b735-a9a1-4569-8ba5-19759f061283;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f] can you start by spending up to 2 hours on storing the created event IDs and creating a business rule that gets the created event IDs? Let me know if you run into trouble.
This should be done after the other tasks on BAT-133.
Comment2: 11/Nov/19 10:40 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
This is looking great. The only thing that we really still need here is to add a dependency on the token module to the bee_webform module – I didn’t realize token isn’t in core and that took me a little while to figure out… 😛
Comment3:
It doesn't look like there is out of the box hourly support. Would BAT be a good fit to build around if I needed to build in an hourly unit?
Issue Key: BAT-133
Issue Type: Epic
Created: 24/Oct/19 4:29 PM
Updated: 12/Dec/19 9:34 PM
Resolved:
Description:
Comment1:
Comment2:
Comment3:
It would be really useful to be able to make events recurring weekly, monthly, on the 3rd Thursday of every month, etc. We have meeting rooms that would really benefit from this kind of flexibility.
Issue Key: BAT-153
Issue Type: Bug
Created: 23/Jun/20 3:54 PM
Updated: 23/Jun/20 5:23 PM
Resolved: 23/Jun/20 5:23 PM
Description: Could you look into https://www.drupal.org/project/bat/issues/3153659 - thanks!
Comment1:
Comment2:
Comment3:
Issue Key: BAT-141
Issue Type: Bug
Created: 11/Nov/19 10:50 PM
Updated: 12/Nov/19 8:36 PM
Resolved: 12/Nov/19 8:36 PM
Description: # When editing an event series event, there is no ‘View’ tab
Comment1:
Comment2:
Comment3:
bat/src/Valuator/AbstractValuator.php
Line 75 in e69e314
It is cloned in the constructor:
bat/src/Valuator/AbstractValuator.php
Line 52 in e69e314
Start Date is cloned in the setter:
bat/src/Valuator/AbstractValuator.php
Line 61 in e69e314
Issue Key: BAT-144
Issue Type: Bug
Created: 19/Nov/19 6:21 PM
Updated: 09/Dec/19 5:39 PM
Resolved: 09/Dec/19 5:39 PM
Description: Series bookings are not working if payments are enabled - only the first booking is added to the cart/created
Comment1: 23/Nov/19 1:00 AM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
I’m not sure if I’m missing something here - still getting only the first event added to the cart. If I book 12-1pm for three weeks in a row, and the cost is $25/hour, the cart total is $25.
Comment2:
Comment3:
Issue Key: BAT-149
Issue Type: Bug
Created: 09/Dec/19 5:40 PM
Updated: 06/Jan/20 11:42 PM
Resolved:
Description: To reproduce:
Comment1: 06/Jan/20 11:42 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;we need something on bat to understand which states are available for events series and which not
now all not Blocking states are available
and all Blocking states are not available
Comment2:
Comment3:
Issue Key: BAT-128
Issue Type: Task
Created: 06/Aug/19 5:08 PM
Updated: 07/Jan/20 6:09 PM
Resolved:
Description: When adding bookings to the cart, let's update the line item description to include more information, such as unit name, booked dates/times, etc. We can use the line item description in rooms as a guide.
Comment1: 07/Jan/20 6:08 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;Updating this ticket with a comment to say that Nicolo says this isn’t possible - Commerce changes the line item label automagically, so anything we added would be overwritten
Comment2:
Comment3:
Currently, the event granularity is either Daily or Hourly. For meeting rooms, it would be helpful to have greater control over the granularity, such as adding 15 minute increments for setup time (total meeting time: 1 hour and 15 minutes), or 30 minutes for shorter meetings.
Issue Key: BAT-148
Issue Type: Bug
Created: 09/Dec/19 5:39 PM
Updated: 12/Dec/19 8:49 PM
Resolved: 12/Dec/19 8:49 PM
Description: To reproduce:
Comment1: 11/Dec/19 12:08 AM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
Getting Error: Call to a member function id() on null in bee_preprocess_bat_event_series() (line 1410 now when I try to view/edit an event series (daily bookings, generally available, payments enabled)
Comment2:
Comment3:
Issue Key: BAT-132
Issue Type: New Feature
Created: 24/Oct/19 4:29 PM
Updated: 11/Nov/19 10:42 PM
Resolved:
Description: In a new branch, let’s create a bat_event_series module. It should have the following fields:
When the entity is viewed, it should show:
When the entity is edited, it should show a form with the repeating event spec pre-filled. If a user saves changes, it should show a confirm step with the text “Update all upcoming events in this series?”. When the user confirms, we should iterate all upcoming events in the series:
When deleting a series, show a confirmation message, asking if the user is sure they want to delete the series and all remaining bookings, showing a list of the remaining bookings. If the user confirms, all future events in the series should be deleted, along with the series.
Comment1:
Comment2:
Comment3:
The events fields are using 'Date' fields instead of using an int UNIX Timestamp field. What's the main reason for this? It goes against Drupal's standard of fields.
Still trying to use your module and it's going pretty decently.
Issue Key: BAT-134
Issue Type: New Feature
Created: 28/Oct/19 4:11 PM
Updated: 09/Dec/19 5:39 PM
Resolved: 09/Dec/19 5:39 PM
Description: In a branch of the BEE module, let’s do the following:
Comment1: 05/Nov/19 4:10 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
Looks like a good start 🙂
Looks like we’re missing:
Comment2: 08/Nov/19 7:42 PM;557058:7ad3cd33-98ca-446b-8be5-7d84e909e2f8;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f]
This is looking awesome! Just a few more things missing:
Comment3:
Hello,
I need someone to customize BAT to fit my needs.
Thanks.
Need to add some documentation to make it easier for devs to understand how to use constraints.
Hi,
for example a event with:
startdate: 2016-01-01 12:10
endate: 2016-01-03 12:10
will store in minute table all values for
Something like this will store in minute table 25 rows instead only 2 rows
the problem is into file event/EventItemizer.php, now to fix it I have added following code at line 304
unset($itemized[EventItemizer::BAT_MINUTE][$year][$month]['d' . $day]['h' . $hour]);
This line remove all useless data in minute table when the value is already stored in hour table.
Regards
Issue Key: BAT-154
Issue Type: New Feature
Created: 24/Jun/20 12:34 AM
Updated: 25/Jun/20 11:22 PM
Resolved:
Description: Please spend some time and test bat & bee with drupal 9 and make any changes necessary while retaining compatibility with d8.8. We don't need a 9.x branch, cf. https://www.drupal.org/docs/updating-drupal/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/preparing-drupalorg
Comment1: 24/Jun/20 4:49 PM;557058:5618d454-7c12-49db-afc2-962184518c4f;[https://www.drupal.org/project/services/issues/3154535|https://www.drupal.org/project/services/issues/3154535]
Comment2: 25/Jun/20 11:22 PM;557058:6023b735-a9a1-4569-8ba5-19759f061283;[~accountid:557058:5618d454-7c12-49db-afc2-962184518c4f] I got BEE installed on a d9 test site, and was able to enable a content type for BEE bookings. (hourly) When I visit the node page, the calendar does not work, and I get this error:
{noformat}Error: Call to undefined method Drupal\services\Controller\Services::entityManager() in Drupal\services\Controller\Services->processRequest() (line 47 of /var/www/drupalvm/web/modules/contrib/services/src/Controller/Services.php)
#0 [internal function]: Drupal\services\Controller\Services->processRequest(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch), 'bat_api', 'unit_index:cale...')
#1 /var/www/drupalvm/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#2 /var/www/drupalvm/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()
#3 /var/www/drupalvm/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#4 /var/www/drupalvm/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#5 /var/www/drupalvm/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()
#6 /var/www/drupalvm/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#7 /var/www/drupalvm/web/modules/contrib/bat_api/src/StackMiddleware/BatApiMiddleware.php(42): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/drupalvm/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Drupal\bat_api\StackMiddleware\BatApiMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#9 /var/www/drupalvm/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /var/www/drupalvm/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /var/www/drupalvm/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /var/www/drupalvm/web/modules/contrib/services/src/StackMiddleware/FormatSetter.php(44): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/drupalvm/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\services\StackMiddleware\FormatSetter->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/drupalvm/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/drupalvm/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/drupalvm/web/core/lib/Drupal/Core/DrupalKernel.php(705): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/drupalvm/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#18 {main}
{noformat}
If I go to /node/1/add-reservation, I get this error:
{noformat}Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "commerce_cart.cart_manager". in Drupal\Component\DependencyInjection\Container->get() (line 151 of /var/www/drupalvm/web/core/lib/Drupal/Component/DependencyInjection/Container.php).
{noformat}
Comment3:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.