No ControlInfo found for case id 'null'.

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

No ControlInfo found for case id 'null'.

Stefan Mueller
Hello everybody,

in my first OPS application I get the following exception:
"org.orbeon.oxf.common.OXFException: No ControlInfo found for case id
'null'."  

Any ideas? In case you need the source code I can post you the xhtml-file...

Thanks,
Stefan



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: No ControlInfo found for case id 'null'.

Alessandro  Vernet
Administrator
Hi Stefan,

Yes, it would help if you can share an XHTML+XForms file that we can
run in the sandbox.

Alex

On 6/23/06, Stefan Mueller <[hidden email]> wrote:

> Hello everybody,
>
> in my first OPS application I get the following exception:
> "org.orbeon.oxf.common.OXFException: No ControlInfo found for case id
> 'null'."
>
> Any ideas? In case you need the source code I can post you the xhtml-file...
>
> Thanks,
> Stefan
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: No ControlInfo found for case id 'null'.

Stefan Mueller
Hi Alex,

I found a stupid mistake in my XHTML-file, now this stuff works.

My simple application is based on the DMV example, but now I get another
strange error. After entering the form data, e.g.

Identifier: 5
Title: Testtitle
Date: 27.06.2006
...
and clicking "Save document" my OPS application tells me "document saved
successfully". But my external eXist database is never touched by my
application and actually nothing is saved. In the
OPS logfiles I see the following lines:

1. TP-Processor3 DEBUG processor.XFormsServer - XForms - opening URL
connection for: http://localhost:8888/rob1/robertson/service/save-document
...
2. TP-Processor4 INFO  webapp.ProcessorService -
/robertson/service/save-document - Received request
...
3. TP-Processor3 DEBUG util.XPathCache -
makeObject(string(instance('resources-instance')/messages/save-success))

Though no XQuery is sent by the "XMLDBProcessor" to the eXist database,
OPS sends a save-success message! How is this possible? As far I can see
the "save-document"-service entry in page-flow.xml
...
    <!-- Update services -->
    <page id="save-document"
path-info="/robertson/service/save-documentttt">
        <action action="services/save-document.xpl"/>
...

is not considered by my application (therefore I can change the entry
above from "/robertson/service/save-document" to
"/robertson/service/save-documentTTT" and the success-message is sent
all the same).

Have you any ideas?

Thank you very much!

Best regards,
Stefan



Alessandro Vernet wrote:

> Hi Stefan,
>
> Yes, it would help if you can share an XHTML+XForms file that we can
> run in the sandbox.
>
> Alex
>
> On 6/23/06, Stefan Mueller <[hidden email]> wrote:
>> Hello everybody,
>>
>> in my first OPS application I get the following exception:
>> "org.orbeon.oxf.common.OXFException: No ControlInfo found for case id
>> 'null'."
>>
>> Any ideas? In case you need the source code I can post you the
>> xhtml-file...
>>
>> Thanks,
>> Stefan
>>
>>
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: No ControlInfo found for case id 'null'.

Alessandro  Vernet
Administrator
Hi Stefan,

So it looks like your XPL that implements the save is called, but it
doesn't save the data. If this is the case, to debug this, I would add
"debugs" in different places in the XPL and see if you have everywhere
the data you expect.

You are also saying that the "Document saved" message appears even if
the action URL specified in the <xforms:submission> returns an error
(because in your example it is not declared in the PFC). Of course,
this would mislead end-users and so should be avoid. I am not sure how
this used to implemented in the DMV form example, but for a better way
to do this, in part suggested by Adrian, see this blog entry from
Erik:

http://www.orbeon.com/blog/2006/06/16/xforms-tip-differentiating-between-submit-errors/

Alex

On 6/27/06, Stefan Mueller <[hidden email]> wrote:

> Hi Alex,
>
> I found a stupid mistake in my XHTML-file, now this stuff works.
>
> My simple application is based on the DMV example, but now I get another
> strange error. After entering the form data, e.g.
>
> Identifier: 5
> Title: Testtitle
> Date: 27.06.2006
> ...
> and clicking "Save document" my OPS application tells me "document saved
> successfully". But my external eXist database is never touched by my
> application and actually nothing is saved. In the
> OPS logfiles I see the following lines:
>
> 1. TP-Processor3 DEBUG processor.XFormsServer - XForms - opening URL
> connection for: http://localhost:8888/rob1/robertson/service/save-document
> ...
> 2. TP-Processor4 INFO  webapp.ProcessorService -
> /robertson/service/save-document - Received request
> ...
> 3. TP-Processor3 DEBUG util.XPathCache -
> makeObject(string(instance('resources-instance')/messages/save-success))
>
> Though no XQuery is sent by the "XMLDBProcessor" to the eXist database,
> OPS sends a save-success message! How is this possible? As far I can see
> the "save-document"-service entry in page-flow.xml
> ...
>     <!-- Update services -->
>     <page id="save-document"
> path-info="/robertson/service/save-documentttt">
>         <action action="services/save-document.xpl"/>
> ...
>
> is not considered by my application (therefore I can change the entry
> above from "/robertson/service/save-document" to
> "/robertson/service/save-documentTTT" and the success-message is sent
> all the same).
>
> Have you any ideas?
>
> Thank you very much!
>
> Best regards,
> Stefan
>
>
>
> Alessandro Vernet wrote:
> > Hi Stefan,
> >
> > Yes, it would help if you can share an XHTML+XForms file that we can
> > run in the sandbox.
> >
> > Alex
> >
> > On 6/23/06, Stefan Mueller <[hidden email]> wrote:
> >> Hello everybody,
> >>
> >> in my first OPS application I get the following exception:
> >> "org.orbeon.oxf.common.OXFException: No ControlInfo found for case id
> >> 'null'."
> >>
> >> Any ideas? In case you need the source code I can post you the
> >> xhtml-file...
> >>
> >> Thanks,
> >> Stefan
> >>
> >>
> >>
> >>
> >> --
> >> 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
> >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>
> >>
> >>
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet