- Issue created by @mchamps
- Status changed to Closed: outdated
9 months ago 1:00am 23 March 2024
When i import an ics file with multiple events it only imports the first event
Created a feed type with iCal parser, tried both fetchers : upload file & download from URL
Settings: Import every 30 min
Fetcher settings : all uncheck
Processor settings:
- Insert new content items
- Do not update existing content items
- Keep previously imported
- Never expire content
Mapped Date : start, Date: end & Summary/title with fields
Left the rest untouched
Created a feed with a calendar from AirBnB with a dozen events
Imported
Only the first element is imported
Deleted the event
Downloaded the file and imported as a file
Only the first element is imported
File extract :
BEGIN:VCALENDAR
PRODID;X-RICAL-TZSOURCE=TZINFO:-//Airbnb Inc//Hosting Calendar 0.8.8//EN
CALSCALE:GREGORIAN
VERSION:2.0
BEGIN:VEVENT
DTEND;VALUE=DATE:20240401
DTSTART;VALUE=DATE:20240329
UID:1418fb94e984-957f8d891ecde62f0614d0929a26390f@airbnb.com
DESCRIPTION:Reservation URL: https://www.airbnb.com/hosting/reservations/
details/HM5P5Y5NKW\nPhone Number (Last 4 Digits): 4710
SUMMARY:Reserved
END:VEVENT
BEGIN:VEVENT
DTEND;VALUE=DATE:20240506
DTSTART;VALUE=DATE:20240504
UID:1418fb94e984-a568b6d77749504b61b2c8a5ac5c7224@airbnb.com
DESCRIPTION:Reservation URL: https://www.airbnb.com/hosting/reservations/
details/HM9FC3DXXC\nPhone Number (Last 4 Digits): 9476
SUMMARY:Reserved
END:VEVENT
BEGIN:VEVENT
DTEND;VALUE=DATE:20240520
DTSTART;VALUE=DATE:20240517
UID:1418fb94e984-6ca5848856987b9a868b162700bf4337@airbnb.com
DESCRIPTION:Reservation URL: https://www.airbnb.com/hosting/reservations/
details/HMFXMMYCRY\nPhone Number (Last 4 Digits): 0020
SUMMARY:Reserved
END:VEVENT
BEGIN:VEVENT
DTEND;VALUE=DATE:20250322
DTSTART;VALUE=DATE:20240917
UID:6fec1092d3fa-f87081e2084b67b8b76104c921bf156c@airbnb.com
SUMMARY:Airbnb (Not available)
END:VEVENT
END:VCALENDAR
Log entries : there's 16 similar errors between the import button and the event being created localy
Last logged error :
Emplacement https:///en/batch?_format=json&id=89&op=do
Référent https:///en/batch?id=89&op=start
Message Deprecated function : Creation of dynamic property Drupal\date_ical\Feeds\Item\ICalItem::$contact is deprecated dans Drupal\Core\Queue\Batch->claimItem() (/home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/Queue/Batch.php ligne 31)
#0 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/home/clients/b...', 31)
#1 [internal function]: _drupal_error_handler(8192, 'Creation of dyn...', '/home/clients/b...', 31)
#2 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/Queue/Batch.php(31): unserialize('a:2:{i:0;a:2:{i...')
#3 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/includes/batch.inc(286): Drupal\Core\Queue\Batch->claimItem()
#4 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/includes/batch.inc(138): _batch_process()
#5 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/includes/batch.inc(94): _batch_do()
#6 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/modules/system/src/Controller/BatchController.php(52): _batch_page(Object(Symfony\Component\HttpFoundation\Request))
#7 [internal function]: Drupal\system\Controller\BatchController->batchPage(Object(Symfony\Component\HttpFoundation\Request))
#8 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#9 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#10 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#11 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#12 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#13 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#14 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/modules/contrib/remove_http_headers/src/StackMiddleware/RemoveHttpHeadersMiddleware.php(49): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /home/clients/badfc41c5e748368249574ffbf485a5d/sites/dev/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#27 {main}
.
Importance Debug
Thanks !
Closed: outdated
4.0
iCal Import