I am currently facing a strange problem when I try to attach a Note (as a Annotation) to a given Content which is loaded from a repository.
I am developing a new connector for a new ECM vendor. Unfortunately they have forgotten to create a 'link' between the annotations and the master document. Now I am the lucky winner to link those back together. My idea was like "Check the document if there is a matching note stored in repository (which indeed is due to some property descriptons which can be used to identfy and link those pairs).
I have done some modifications to my connector and now I am able to
- load the requested document
- put all neccessary informations into a new Content instance
- Load the 'forgotten' note (which is stored as a 'full' document within the repo)
- read the content from the note (just ascii text)
- create a new com.venetica.vbr.client.anno.Note
to finally add this note to the new content instance
When doing this, I will find a VeniceBridgeException in my log file which tells me
'COEC0108E: Attempted to retrieve a server connection without a login ID.'
I do not want to save the note to document I want just link them together 'on the fly' so the customer can see both in one request. I thought about to accomplish this issue within my webclient but this would bust the benefit-cost ratio.
When I do some debugging on the client side I will find that content.hasAnnotations() is set to true but the attached list of annotation is 'null'.
We are currently using ICI 18.104.22.168 within WAS 7 on a SLES 10 linux distribution.
Any ideas out there?
Thanks in advance