Problem/Motivation

The latest change is usually the timestamp of the revision. When I assign LAST-MODIFIED to the latest revision timestamp I get the following Warning message:

The content Dresdner Mathematisches Seminar konnte mit den folgenden Fehlern nicht validiert werden:

revision_timestamp.0.value: Dieser Wert sollte vom korrekten primitiven Datentyp sein.

Bitte überprüfen Sie die Zuordnungen.

Steps to reproduce

  1. Add a feed iCal type and with the association “LAST-MODIFIED” ⇒ “revision_timestamp”
  2. Add a feed with the public iCal url from a google calendar

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork feeds_ical-3358715

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

keinstein created an issue. See original summary.

ben.hamelin made their first commit to this issue’s fork.

ben.hamelin’s picture

@keinstein Did some work on this today, and have a fix that provides LAST-MODIFIED as a timestamp like Drupal expects. However, it's worth noting this Feeds issue: https://www.drupal.org/project/feeds/issues/3060308

Without a presave or postsave hook the default Drupal entity update handler is going to use the current time regardless of what you have in the feed. This fix is still needed to ensure we have a properly formatted timestamp for mapping.

ben.hamelin’s picture

Status: Active » Needs review

ben.hamelin’s picture

Assigned: Unassigned » ben.hamelin

ben.hamelin’s picture

Status: Needs review » Fixed
ben.hamelin’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.