Drupal core date fields should not cause an error when mapped to date property

Created on 22 March 2023, almost 2 years ago
Updated 16 July 2023, over 1 year ago

Problem/Motivation

My website uses date fields to indicate when an article should be published (a slight alternative to the manual publishing workflow). I would like to map the AP date property to these date fields, which I can, but encounter an error when attempting to view the outbox:
Outbox error: The timestamp must be numeric.

Steps to reproduce

  1. Map the date property on an activitypub type to a date field
  2. Create an activity of that type (though I haven't tried to hit this error without this step)
  3. View the outbox api for a particular user at /user/{uid}/activitypub/Portside/outbox?page=0 where uid is the drupal user id associated with the actor
  4. Encounter the error

Proposed resolution

Maybe allow the date format?

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024