cancel
Showing results for 
Search instead for 
Did you mean: 

Opera Browser can't render XForms

d_segato
Champ in-the-making
Champ in-the-making
It's only me or Alfresco WCM doesn't work on Opera Browser?
I get this error after clicking "next" on the "company-footer" (example xsd) webform creation:

JavaScript
Event thread: BeforeScript
Opera has modified the JavaScript on localhost (legacy TinyMCE enter fix + link button fix). See browser.js for details
JavaScript - http://localhost:8080/alfresco/faces/jsp/wizard/container.jsp
Timeout thread: delay 10 ms
Error:
name: TypeError
message: Statement on line 371: Cannot convert undefined or null to Object
Backtrace:
  Line 371 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                       var s = binding.nodeset;
  Line 337 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                     var xpath = this._getXPathInInstanceDocument();
  Line 603 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                     var initial_value = this.getInitialValue() || "";
  Line 2653 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                     child.render(contentDiv);
  Line 2381 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                     return this._insertChildAt(child, this._children.length);
  Line 4162 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                         parentWidget.addChild(w);
  Line 4080 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                     this.loadWidgets(rootGroup, this.rootWidget);
  Line 4053 of linked script http://localhost:8080/alfresco/scripts/ajax/xforms.js
                                                                 this.target._loadHandler(data);
  Line 67 of linked script http://localhost:8080/alfresco/scripts/ajax/ajax_helper.js
    function() { result._baseLoadHandler(type, data, event, kwArgs); }
  …
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

and the Forms is not loaded at all

(and there are many CSS error/warning in all pages)
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Hi

We don't officially support the Opera browser, nor do any of the developers at Alfresco use it (or even have it installed that I know of) to pick up on such problems. Unfortunately, it's market share is so small that we can't realistically afford the effort to fix its particular quirks.

Thanks,
Mike

d_segato
Champ in-the-making
Champ in-the-making
I know you don't support other browser then Firefox and IE but that's not an excuse for not-standard code in your web application Smiley Happy

you use a lot of client-side javascript that I think you shouldn't use

anyway, thanks for the reply

mikeh
Star Contributor
Star Contributor
That's probably very true of the code used in the Alfresco Explorer (JSF) client, however the code is Share is much cleaner as I've started a small crusade to clean up this area!  :wink:

If you can see particular problems that need fixing for Opera, we'd gladly accept your code contributions for which you'd get full credit.

Thanks,
Mike

d_segato
Champ in-the-making
Champ in-the-making
that's a great news
i'm using Alfresco 2.1 enterprise…
i don't know if it work on lab, i'll try…

if i understand what's wrong with opera i will contribute to fix it

good luck with your crusade Smiley Happy