Problem/Motivation

Users assume rrule_field accepts raw RRULE strings, but the code only treats numeric input as COUNT. This silent mismatch breaks recurrence rules.

Steps to reproduce

  1. Create a feed and map rrule_field to a field with the value
    RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=FR;UNTIL=20250831T065959Z
  2. Leave rrule unmapped.
  3. Preview View to see no RRULE

Proposed resolution

  • Keep existing rrule_field (numeric only, COUNT).
    Label: “Number of occurrences (COUNT)” or something to indicate it relates to the rrule frequency field (maybe #states).
  • Add new mapping key rrule_raw_field for full RRULE strings.
    Label: “Raw RRULE string”.
  • In DateICal::feed() use rrule_raw_field when present; otherwise fall back to current logic.
  • Document both fields in UI help.

User interface changes

  • New select option “Raw RRULE string”.
  • Relabel existing COUNT widget.

Issue fork date_ical-3540328

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

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review

Please have a look, I think this accounts for all the things.

joseph.olstad’s picture

Assigned: Unassigned » lazzyvn
joseph.olstad’s picture

Assigned: lazzyvn » Unassigned

lazzyln

Travail impeccable sur ce module.

@joel_pittet propose une amélioration pertinente.

joelpittet’s picture

joelpittet’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

lazzyvn’s picture

Update for this feature Raw RRULE - not finding FREQ I remove all tags html