Remove opt-in setting from opensrf.xml
Bug #1699611 reported by
Jeff Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
In all versions of EG including master, opt-in functionality is governed by a setting in opensrf.xml. This is kind of a pain; for example, you have to manually edit opensrf.xml to enable the feature for testing. It would be sensible to move this to an in-database org setting. Better yet, perhaps we can simply check if any of the existing opt-in-related org settings are applied at the context org.
Changed in evergreen: | |
milestone: | none → 3.0-alpha |
Changed in evergreen: | |
milestone: | 3.0-beta → 3.next |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: orgunitsettings |
To post a comment you must log in.
Here's a work-in-progress branch that replaces the opensrf.xml setting with a global flag: user/jeffdavis/ lp1699611- db-optin / https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp1699611- db-optin
It's a global flag rather than a library setting because the existing setting is global, and doing it this way preserves existing functionality while minimizing the changes to the codebase.