Error "Value must be 1" when saving Bible reference fields

Created on 8 September 2024, 3 months ago

Problem/Motivation

When I upgraded bibleref module from 2.0.0 to 2.1.3, I started getting this error when saving a node with a Bibleref field: Value must be 1. This error is on the chapter part of the first Bibleref field.

The cause is that new fields field_chapters and field_verses are empty after upgrading to this version.

Proposed resolution

Add an update hook to set the chapter and verse ranges for all books, for sites which upgrade to 2.1 release series.

πŸ› Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States krisahil

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

Comments & Activities

Production build 0.71.5 2024