Configuration doesn't work with duration_field 2.x release

Created on 18 December 2018, about 6 years ago
Updated 3 October 2023, over 1 year ago

Problem/Motivation

Config page returns a 500 error with latest duration field module.

Invalid data type for config element user.role.*.duration

This has to do with the fact that this module uses the Duration Element provided by the duration_field module. Currently it uses the provided "duration" datatype for saving the duration value in the configuration. However this is deprecated and replaced in Duration Field 2.x branch.

Steps to reproduce

Go to the Private Message configuration screen and save the form.

Proposed resolution

Solution is to rewrite the config form and data schema to support the new duration field data types.

Work-around for now is to use 8.x-1.6 version of the Duration Field module. However that version is not compatible with D9.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States bryantt

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024