Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2834

When saving a password in admin interface, it is not saved

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.2.0
    • 4.2.0
    • None
    • None
    • 4.2 M3

      When saving a password (e.g : smtp password) from the admin interface, it is not saved.

      I think this may come from org.ametys.plugins.core.impl.model.type.xml.PasswordXMLElementType.fromJSONForClient(Object)

          @Override
          public String fromJSONForClient(Object json)
          {
              // Cannot get password from JSON;
              return null;
          }
      

      When saving, this is executed, and then "null" is passed.

          [RUNTIME-2834] When saving a password in admin interface, it is not saved

          Pierre Gros (Inactive) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Patch available [ 10005 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Assignee New: Caroline Bayle [ cbayle ]
          Raphaƫl Franchet made changes -
          Fix Version/s New: 4.2.0 [ 14400 ]
          Fix Version/s Original: 4.2.0 [ 14425 ]
          Key Original: CMS-9196 New: RUNTIME-2834
          Project Original: CMS [ 10021 ] New: Runtime [ 10020 ]
          Affects Version/s New: 4.2.0 [ 14400 ]
          Affects Version/s Original: 4.2.0 [ 14425 ]
          Pierre Gros (Inactive) made changes -
          Assignee Original: Pierre Gros [ pgros ]
          Pierre Gros (Inactive) made changes -
          Status Original: Open [ 1 ] New: Patch available [ 10005 ]
          Pierre Gros (Inactive) made changes -
          Priority Original: Critical [ 2 ] New: Blocker [ 1 ]
          Pierre Gros (Inactive) created issue -

            cbayle Caroline Bayle
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: