Fixes RDE templates created prior to v2.7.0
to work with v2.7+
.
Prior to v2.7.0
colLang
was the attribute used to represent
language selection in RDE templates. From v2.7.0
the data model
for languages was updated and colLanguage
and colScript
attributes
are used for language & script selection in RDE templates. This
plugin deletes references to colLang
and inserts references to
colLanguage
and colScript
.
- Stop the application
- Clone the plugin into the
archivesspace/plugins
directory - Add
rde_template_fix
toconfig.rb
, ensuring to uncomment/remove the # from the front of the relevant AppConfig line. For example:AppConfig[:plugins] = ['local', 'rde_template_fix']
- Restart the application