Regression problems with the latest nightly builds

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

Regression problems with the latest nightly builds

Markku Laine
Hi,


Few days ago, when I updated the version of my Orbeon Forms from
3.6.0.200712181809 to 3.6.0.200807080639, both being nightly build
versions, I noticed a couple of regression problems.

Problem #1: Locating files
Orbeon tries to locate files from it's own context, not from the
web application's context. For instance, I have a web page
(/my-web-app-context/index.xforms) and on the web page theew is a link
(xforms:load) to another web page (/my-web-app-context/index2.xforms).
Instead of redirecting the user to the /my-web-app-context/index2.xforms
web page the link redirects the user to the
/my-orbeon-context/index2.xforms web page which shows "Page not Found"
on the OF template web page.

However, if I will update the orbeon-xforms-filter.jar file located at
/my-web-app-context/WEB-INF/lib/ folder to the old one (OF
3.6.0.200712181809) but still continue running the new version of OF at
/my-orbeon-context the link on the web page works.

The same problem occurs with other references like when trying to use
exernal XML documents in XForms instances.


I am using OF in separate deployment mode and I have configured it by
following the instructions available at:
http://www.orbeon.com/ops/doc/reference-xforms-java

Haven't had any problems with configuring OF before so configurations
should be correct.

----------

Problem #2: View Source Code
The view source code page/functionality doesn't work anymore on Orbeon
Forms' sample web applications. For instance, try to view the source code
of style.css (Government Forms) at:
http://www.orbeon.com/ops/source-viewer/forms/

Firefox 3: Nothing happens when I click the link (style.css)
IE 6 & 7:  CPU usage hits the top and the browser gets jammed --> forced
to close the browser

----------

Regards


-Markku Laine


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Regression problems with the latest nightly builds

Alessandro Vernet
Administrator
Hi Markku,

On Fri, Jul 11, 2008 at 2:16 AM, .::: Markku :::. <[hidden email]> wrote:
> Few days ago, when I updated the version of my Orbeon Forms from
> 3.6.0.200712181809 to 3.6.0.200807080639, both being nightly build versions,
> I noticed a couple of regression problems.
>
> Problem #1: Locating files
> [...]

Would you be able to reproduce this problem with a simple JSP file in
WEB-INF/xforms-jsp of the standard orbeon.war? If you could send us
this file, this would help us reproduce the problem.

> Problem #2: View Source Code
> [...]

Yes, we are aware of the issues in the source viewer. It is one of the
things we need to fix before we release 3.7. See:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=309859&group_id=168&atid=350207

> Firefox 3: Nothing happens when I click the link (style.css)
> IE 6 & 7:  CPU usage hits the top and the browser gets jammed --> forced to
> close the browser

This is also in the source code viewer, right?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Regression problems with the latest nightly builds

Markku Laine
Hi Alex,


>> Few days ago, when I updated the version of my Orbeon Forms from
>> 3.6.0.200712181809 to 3.6.0.200807080639, both being nightly build
>> versions, I noticed a couple of regression problems.
>>
>> Problem #1: Locating files [...]
>
> Would you be able to reproduce this problem with a simple JSP file in
> WEB-INF/xforms-jsp of the standard orbeon.war? If you could send us this
> file, this would help us reproduce the problem.

Okay, I created simple test files in order to reproduce the problem (see
attachments). I placed the files under my web application (/xformscode)
and tested how the index.xforms form behaves.

When using Orbeon Forms 3.6.0.200712181809 Nightly Build (/orbeon) the
form works fine. However, when using Orbeon Forms 3.6.0.200806081735 I
will get the following error message:
Got invalid return code while loading URI:
http://localhost:8080/xformscode/orbeon/xforms-jsp/external-ui-instance.xml,
404

I have not made any modifications to orbeon.war and I am using the
following configurations in the web.xml file of my web applications:
  <!-- Filters -->
  <!-- Declare and configure the Orbeon Forms XForms filter -->
  <filter>
  <filter-name>ops-xforms-filter</filter-name>

<filter-class>org.orbeon.oxf.servlet.OPSXFormsFilter</filter-class>
  <init-param>

<param-name>oxf.xforms.renderer.context</param-name>
  <param-value>/orbeon</param-value>
  </init-param>
  </filter>


  <!-- Filter Mappings -->
  <!-- Any web resource under *.xforms is processed by the XForms
engine -->
    <filter-mapping>
  <filter-name>ops-xforms-filter</filter-name>
  <url-pattern>*.xforms</url-pattern>
  </filter-mapping>
  <!-- This is necessary so that XForms engine resources can be
served appropriately -->
  <filter-mapping>
  <filter-name>ops-xforms-filter</filter-name>
  <url-pattern>/orbeon/*</url-pattern>
  </filter-mapping>



When I tried to run the same form (renamed to index.jsp) under Orbeon
Forms 3.6.0.200806081735 by putting the files under the /xforms-jsp/
folder i.e. /orbeon/xforms-jsp/index.jsp and
/orbeon/xforms-jsp/external-ui-instance.xml I got a different kind of
result. This time the form did not print the content of the external UI
instance at all but otherwise rendered the page fine. Orbeon Forms XForms
Instance Inspector show the following for the external-ui-instance:
<null xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

And as a comparison, when using Orbeon Forms 3.6.0.200712181809 in the
same way, the form does not work either and I will get the following
error message:
Fatal error: The prefix "xsi" for attribute "xsi:nil" associated with an
element type "null" is not bound.

I am using Firefox 2.0.0.16 if that matters.


>> Problem #2: View Source Code [...]
>
> Yes, we are aware of the issues in the source viewer. It is one of the
> things we need to fix before we release 3.7. See:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=309859&group_id=168&atid=350207
>
>> Firefox 3: Nothing happens when I click the link (style.css) IE 6 & 7:
>> CPU usage hits the top and the browser gets jammed --> forced to close
>> the browser
>
> This is also in the source code viewer, right?
Yup.

Regards


-Markku

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

index.xforms (1K) Download Attachment
external-ui-instance.xml (192 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Regression problems with the latest nightly builds

Markku Laine
Hi Alex,


Have you had time to take a look at the problem #1 or has it already
been fixed in the upcoming version (3.7) of Orbeon Forms?

Regards


-Markku

On Fri, 18 Jul 2008, .::: Markku :::. wrote:

> Hi Alex,
>
>
>> >  Few days ago, when I updated the version of my Orbeon Forms from
>> >  3.6.0.200712181809 to 3.6.0.200807080639, both being nightly build
>> >  versions, I noticed a couple of regression problems.
>> >
>> >  Problem #1: Locating files [...]
>>
>>  Would you be able to reproduce this problem with a simple JSP file in
>>  WEB-INF/xforms-jsp of the standard orbeon.war? If you could send us this
>>  file, this would help us reproduce the problem.
>
> Okay, I created simple test files in order to reproduce the problem (see
> attachments). I placed the files under my web application (/xformscode) and
> tested how the index.xforms form behaves.
>
> When using Orbeon Forms 3.6.0.200712181809 Nightly Build (/orbeon) the form
> works fine. However, when using Orbeon Forms 3.6.0.200806081735 I will get
> the following error message:
> Got invalid return code while loading URI:
> http://localhost:8080/xformscode/orbeon/xforms-jsp/external-ui-instance.xml,
> 404
>
> I have not made any modifications to orbeon.war and I am using the following
> configurations in the web.xml file of my web applications:
> <!-- Filters -->
> <!-- Declare and configure the Orbeon Forms XForms filter -->
> <filter>
> <filter-name>ops-xforms-filter</filter-name>
>
> <filter-class>org.orbeon.oxf.servlet.OPSXFormsFilter</filter-class>
> <init-param>
>
> <param-name>oxf.xforms.renderer.context</param-name>
> <param-value>/orbeon</param-value>
> </init-param>
> </filter>
>
>
> <!-- Filter Mappings -->
> <!-- Any web resource under *.xforms is processed by the XForms
> engine -->
>   <filter-mapping>
> <filter-name>ops-xforms-filter</filter-name>
> <url-pattern>*.xforms</url-pattern>
> </filter-mapping>
> <!-- This is necessary so that XForms engine resources can be
> served appropriately -->
> <filter-mapping>
> <filter-name>ops-xforms-filter</filter-name>
> <url-pattern>/orbeon/*</url-pattern>
> </filter-mapping>
>
>
>
> When I tried to run the same form (renamed to index.jsp) under Orbeon Forms
> 3.6.0.200806081735 by putting the files under the /xforms-jsp/ folder i.e.
> /orbeon/xforms-jsp/index.jsp and /orbeon/xforms-jsp/external-ui-instance.xml
> I got a different kind of result. This time the form did not print the
> content of the external UI instance at all but otherwise rendered the page
> fine. Orbeon Forms XForms Instance Inspector show the following for the
> external-ui-instance:
> <null xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>
> And as a comparison, when using Orbeon Forms 3.6.0.200712181809 in the same
> way, the form does not work either and I will get the following error
> message:
> Fatal error: The prefix "xsi" for attribute "xsi:nil" associated with an
> element type "null" is not bound.
>
> I am using Firefox 2.0.0.16 if that matters.
>
>
>> >  Problem #2: View Source Code [...]
>>
>>  Yes, we are aware of the issues in the source viewer. It is one of the
>>  things we need to fix before we release 3.7. See:
>>
>>  http://forge.objectweb.org/tracker/index.php?func=detail&aid=309859&group_id=168&atid=350207
>>
>> >  Firefox 3: Nothing happens when I click the link (style.css) IE 6 & 7:
>> >  CPU usage hits the top and the browser gets jammed --> forced to close
>> >  the browser
>>
>>  This is also in the source code viewer, right?
>
> Yup.
>
> Regards
>
>
> -Markku
>
--
Markku Laine <[hidden email]>, Research assistant
Helsinki University of Technology
Department of Media Technology
P.O. BOX 5400, FI-02015 HUT, FINLAND
Mobile. +358-50-565 8179


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Regression problems with the latest nightly builds

Alessandro Vernet
Administrator
On Tue, Aug 5, 2008 at 11:41 PM, .::: Markku :::. <[hidden email]> wrote:
> Have you had time to take a look at the problem #1 or has it already been
> fixed in the upcoming version (3.7) of Orbeon Forms?

AFAIK, this is still pending. Erik will be following up on this when
he gets a chance.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Regression problems with the latest nightly builds

Markku Laine
On Thu, 7 Aug 2008, Alessandro Vernet wrote:

> On Tue, Aug 5, 2008 at 11:41 PM, .::: Markku :::. <[hidden email]> wrote:
>> Have you had time to take a look at the problem #1 or has it already been
>> fixed in the upcoming version (3.7) of Orbeon Forms?
>
> AFAIK, this is still pending. Erik will be following up on this when
> he gets a chance.

Alex, thanks for the information.

Has a bug ID already been created for this issue? Would be nice to follow
the progress as this bug basically prevents us to update our Orbeon Forms
from the version 3.6.0.200712181809 (has issues with Firefox 3) to newer
ones.

Regards


-Markku Laine

Ps. Just checked the list, yes it was a long one, of new features in
Orbeon Forms 3.7. Very impressive!


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Regression problems with the latest nightly builds

Alessandro Vernet
Administrator
On Tue, Aug 19, 2008 at 6:08 AM, .::: Markku :::. <[hidden email]> wrote:
> Has a bug ID already been created for this issue? Would be nice to follow
> the progress as this bug basically prevents us to update our Orbeon Forms
> from the version 3.6.0.200712181809 (has issues with Firefox 3) to newer
> ones.

I don't think we have a bug for this. But we should. So I created one:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=310890&group_id=168&atid=350207

> Ps. Just checked the list, yes it was a long one, of new features in Orbeon
> Forms 3.7. Very impressive!

Thank you!

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


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