You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this package through the Drupal module feeds_ical to import events, and the way Drupal's Feeds module works requires use of a data transfer object that's initialized by looping through the ics-parser events parsed from the feed.
The problem I'm running into is that it loops through the Event properties to set their values on the data transfer object, but since $additionalProperties is private there isn't a way for it to find out what keys might be in that array so it can get their values.
It seems like the solution would be to mark that property as public, so the module could look at what's in there.
Steps to Reproduce
// Loop over information from feed and add to item.foreach ($eventas$eventProperty => $eventPropertyValue) {
// No properties from $additionalProperties appear.
}
PHP Version
8.1.26
PHP date.timezone
America/Chicago
ICS Parser Version
3.3.1
Operating System
Linux
Description
I'm using this package through the Drupal module feeds_ical to import events, and the way Drupal's Feeds module works requires use of a data transfer object that's initialized by looping through the ics-parser events parsed from the feed.
The problem I'm running into is that it loops through the Event properties to set their values on the data transfer object, but since
$additionalProperties
is private there isn't a way for it to find out what keys might be in that array so it can get their values.It seems like the solution would be to mark that property as public, so the module could look at what's in there.
Steps to Reproduce
Drupal issue: https://www.drupal.org/project/feeds_ical/issues/3358713
The text was updated successfully, but these errors were encountered: