Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-174

[configuration] Preserve interpolation tokens on saving

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      The interpolation tokens are not preserved when a PropertiesConfiguration is
      saved. If the .properties file contains initially the following keys:

      base=base
      base.reference=$

      {base}

      extra

      on saving they'll turn into:

      base=base
      base.reference=baseextra

        Activity

        Hide
        Emmanuel Bourg added a comment -

        Patch applied !

        Show
        Emmanuel Bourg added a comment - Patch applied !
        Hide
        Emmanuel Bourg added a comment -

        Created an attachment (id=11840)
        Patch preserving the interpolation tokens on saving a PropertiesConfiguration

        Show
        Emmanuel Bourg added a comment - Created an attachment (id=11840) Patch preserving the interpolation tokens on saving a PropertiesConfiguration
        Hide
        Emmanuel Bourg added a comment -

        I'm attaching a patch, comments are welcome

        Show
        Emmanuel Bourg added a comment - I'm attaching a patch, comments are welcome

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Bourg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development