HomePhorge

Fix #2671, preferred_serialization_format does not complain about invalid values
7f2e5fc51b64Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix #2671, preferred_serialization_format does not complain about invalid values

This modifies supported_formats to warn when the
preferred_serialization_format setting is invalid (and ignored in
favor of the default value).

I built the tests for this behavior alongside the existing
FormatHandler tests for *valid* preferred_serialization_format values
(and did some restructuring to extract common setup code to before
blocks).

Signed-off-by: Bruce Williams <bruce@codefluency.com>

Details

Provenance
Bruce Williams <bruce@codefluency.com>Authored on
James Turnbull <james@lovedthanlost.net>Committed on Nov 17 2009, 10:46 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf0eaf20f863f: Fixing #2764 ActiveRecord 2.1 support
Branches
Unknown
Tags
Unknown

Event Timeline

James Turnbull <james@lovedthanlost.net> committed rPU7f2e5fc51b64: Fix #2671, preferred_serialization_format does not complain about invalid values (authored by Bruce Williams <bruce@codefluency.com>).Nov 17 2009, 10:46 AM