Closed (fixed)
Project:
Recurring Dates Field
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2018 at 14:26 UTC
Updated:
28 Dec 2018 at 16:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stephen-cox commentedHere is a little patch to change the DB schema for the rrule column from VARCHAR(255) to TEXT. It needs to be applied before the module is installed, otherwise the module needs to be re-installed and all date_recur field data will be lost.
Comment #3
dpiThanks, there should be a update-path/migration though.
Comment #4
tascThis is my 8.1-version of the patch with an update_hook to change the schema for existing data.
Comment #5
dpiAdded various tasks around this.
This ticket is a blocker for 2.x stability.
Patch above doesnt conform to Drupal coding standards. (including, odd arrow spacing, snake_case)
Are you able to update patch with new tasks for this issue?
Comment #6
tascReviewed the code and updated it to also alter the storage schema. But it's still varchar(255) => text.
Concerning the tasks I'm afraid I can't help a lot. Maybe with the configurable lengths.
But I don't really see why it can't be text. Is this for db-performance/size reason?
At least including/excluding dates add minimum 17 chars to the rrule, so users will always be restricted here.
Comment #7
tascComment #8
dpi> But I don't really see why it can't be text.
It should be TEXT, but the max length should be enforced by the app to prevent abuse.
Comment #10
artis commentedThis has been committed.
Comment #11
dpiFurther tasks to be addressed as outlined in IS
Comment #12
dpiSplit out tasks to new issues:
Comment #13
dpiMax length and schema update path committed.