Bug reports

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug reports

Tambet Matiisen
Hi everyone!

I have a few bugs to report against Orbeon 3.9:

1. If I have decimal field, which is summed into another decimal field,
then entering non-numeric value into first field gives "Cannot convert
string "0a" to a double" error. I would have expected, that the field
changes to invalid and alert is displayed. If I change the field into
another invalid value, then I get error "Got unexpected request sequence
number", which seems like an internal issue. Minimal testcase included
with e-mail.

2. We are using AJAX portlet method for including Orbeon forms in our
application. After version upgrade AJAX style inclusion didn't work in
Firefox any more, the only error being "formID not defined". After
several days of debugging I found a small mistake in variable name and
scope in AjaxServer.asyncAjaxRequest method, which suppressed the actual
error message. The fixed version of the method is included with e-mail.

3. The actual error was, that the AJAX portlet inclusion method has
changed slightly and the documentation hasn't been updated. You don't
need to overwrite the ORBEON.xforms.Globals.baseURL and
ORBEON.xforms.Globals.xformsServerURL variables any more, they are
detected automatically (as far as I could understand). We use following
code for Obeon initialization and it appears to work well:

       // initialize Orbeon only in Firefox
       if (typeof ORBEON != "undefined") {
           if (!document.all)
           {
               ORBEON.xforms.Init.document();
           }
       }

Manual Orbeon initialization is needed only in Firefox, the check for
document.all is simplest test for IE. Otherwise IE didn't show "Please
wait..." message in some cases. I think this page should be updated to
reflect the changes:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-Ajax-portlet

Despite minor annoyances Orbeon is a solid product and I admire your
code quality.

Regards
Tambet


--
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

decimal.xhtml (1K) Download Attachment
AjaxServer.asyncAjaxRequest.js (1K) Download Attachment