remove name check constraints on circ rule tables

Bug #704951 reported by Galen Charlton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

The following tables have check constraints in place restricting names to word characters only (no spaces):

config.hard_due_date
config.rule_age_hold_protect
config.rule_circ_duration
config.rule_max_fine
config.rule_recurring_fine

This was meant to allow JavaScript circ policy scripts to refer to rules using object notation instead of associative array notation (e.g., foo.bar instead of foo['bar']). However, with the prospective de-support of circ scripts some time after 2.1, removing the check constraint would allow more descriptive names. In particular, at least one user is known to have wanted to be able to use something like 'Foo End Of Term' as the name of a hard due date rule.

Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Wishlist
Revision history for this message
Jason Etheridge (phasefx) wrote :
Changed in evergreen:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.