Adding localize to existing field makes it unchangeable

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Steps to reproduce:

      • Create a model with a string field.
      • Create and save an instance of the model with the string field populated.
      • Add localize: true to the field.

      Trying to edit the instance's string field like:
      instance.string_field = 'make me a hash'
      throws:
      NoMethodError: undefined method `merge!' for "example":String

      It wants a hash but can't be changed because string case is not handled.

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Szatmari Daniel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: