• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • Jenkins v1.547
      Perforce v1.3.27

      Every time when we change the config of a job which used to have a correct Perforce setting we need to re-enter the password for the Perforce plugin otherwise we receive the warning that the password is incorrect.

      It looks like that the Perforce plugin either doesn't remember the password or it doesn't keep it correctly.

      Re-entering the password for each change at a job page is cumbersome.

          [JENKINS-21699] Perforce forgets password

          Rob Petti added a comment -

          If the warning is displayed on the configuration page, please ignore it. It has never been 100% accurate. Your password is still being saved correctly.

          Rob Petti added a comment - If the warning is displayed on the configuration page, please ignore it. It has never been 100% accurate. Your password is still being saved correctly.

          robsimon added a comment -

          Thanks for the quick response. here is the thing.
          1) I enter my passward into the perforce mask on the job page. it has as much dots as I entered characters.
          2) when I re-open the config again then there are much more dots in the perforce mask.
          3) I can swear that I ignored this behaviour this morning and then in the next run the perforce yielded invalid password and stopped. A colleague of mine has experienced this as well. However, now that I wanted to make nice screenshots it is working...

          robsimon added a comment - Thanks for the quick response. here is the thing. 1) I enter my passward into the perforce mask on the job page. it has as much dots as I entered characters. 2) when I re-open the config again then there are much more dots in the perforce mask. 3) I can swear that I ignored this behaviour this morning and then in the next run the perforce yielded invalid password and stopped. A colleague of mine has experienced this as well. However, now that I wanted to make nice screenshots it is working...

          Rob Petti added a comment -

          What's happening is that when you enter your password and save the form, it's encrypted. When you reload the configuration, the field is populated with the encrypted password, which is why it looks so much longer. Unfortunately, the form field validation doesn't seem to take this into account, and that's why it's showing you the warning.

          I'll leave this open since the warning should be fixed, but I can assure you that it is not forgetting your password.

          Rob Petti added a comment - What's happening is that when you enter your password and save the form, it's encrypted. When you reload the configuration, the field is populated with the encrypted password, which is why it looks so much longer. Unfortunately, the form field validation doesn't seem to take this into account, and that's why it's showing you the warning. I'll leave this open since the warning should be fixed, but I can assure you that it is not forgetting your password.

          If you are using Safari, you may be running in to JENKINS-22338 .

          Arnt Witteveen added a comment - If you are using Safari, you may be running in to JENKINS-22338 .

            Unassigned Unassigned
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: