Saved passwords don't get sent in submissions?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Saved passwords don't get sent in submissions?

gregb
Hi folks.

I'm wondering if anyone has noticed problems with handling of
client-side saved passwords in Orbeon PE 3.9.0 (and also in all the
nightly builds afterwards).

I've attached a pretty straight-forward XForm -- it has two fields, an
email address and a password. When you hit the login button it fires
off a XML request to a CGI program which is supposed to check the
user's validity.

The first time you visit the page, everything works exactly as
expected. The CGI program receives

   <?xml version="1.0" encoding="UTF-8"?><data ....namespace stuff
removed for clarify...>
     <email-address>email-goes-here</email-address>
     <password>password-goes-here</password>
   </data>

However, on Firefox and Chrome at least, your browser will then offer
to remember the password (and the email address too).

So the second time you visit the page, you don't need to enter your
email address and password. That's good. We want it to be convenient
for our users.

But Orbeon PE will trigger the CGI program, and *won't send the values
in the fields*.

This is what gets sent to the CGI program (the second time):
   <?xml version="1.0" encoding="UTF-8"?><data ....namespace stuff
removed for clarify...>
     <email-address/>
     <password/>
   </data>

I can't see how it can be a browser bug. For starters, it happens on
both Chrome and Firefox. (Don't know about IE -- haven't tried.)
Pulling up the Javascript console on Chrome for instance, I can see
that the email address is sitting in an input with id of
'xf-3$xforms-input-1'; when I run the following...
 d = document.getElementById("xf-3$xforms-input-1")
 d.value
... I get a sensible answer -- there is a value there. But if I hit
the button, Orbeon won't send that value.


Anyone seen this before or know what could be causing it?

--
Greg Baker ([hidden email])
The Institute for Open Systems Technologies Pty Ltd
Skype: greg_baker
Phone: (Sydney) 8231 5736
Phone: (other cities) ext 2136 on the following numbers
 (Melb) 9221 0850        (Bris) 3295 2000     (Perth) 9282 1000
 (Adelaide) 7421 2300    (Auckland) 442-7339  (HK) 3589-4860
 (New York) 718-303-3787 (LA) 949-468-5161    (SF) 650-351-1077
 (Chicago) 312-869-7495  (London) 020-7043-1221


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

login.xml (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Saved passwords don't get sent in submissions?

gregb
Sorry, that should have been "CE" not "PE". I haven't tried it in PE, but I presume it would be the same.