[V4RB] 2.4 Vserver Folderitem Question

Russ Tyndall fitzbew at nc.rr.com
Thu Aug 3 12:04:25 CDT 2006


On 8/2/06 5:55 PM, "Russ Tyndall" <fitzbew at nc.rr.com> wrote:

> On 8/2/06 5:48 PM, "Christer Olsson" <christer at ljusaideer.se> wrote:
> 
>>> On 8/1/06 5:41 PM, "Russ Tyndall" <fitzbew at nc.rr.com> wrote:
>>> 
>>>> On 8/1/06 5:33 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:
>>>> 
>>>>> On 8/2/06 12:05 AM, "Russ Tyndall" <fitzbew at nc.rr.com> wrote:
>>>>> 
>>>>>> Vserver 2.4, RB2006r3, X.4.7
>>>>>> 
>>>>>> It appears when I run my app in the RB debugger with the carbon-format
>>>>>> 2.4
>>>>>> plugin, the app hands vserver the name of the database I am connecting
>>>>>> to,
>>>>>> which should be in the registered Databases folder.
>>>>>> 
>>>>>> But when I build the app with the mach-o 2.4 vcomponents, the built app
>>>>>> tries to hand vserver the absolute path of the folderitem (which doesn't
>>>>>> really exist). Obviously, this causes an error.
>>>>> 
>>>>> I.e. FolderItem contains not simple db name but the whole path ?
>>>>> Does exists way eliminate this?
>>>>> 
>>>>> If no, then I need insert somewhere truncation to file name only..
>>>>> Actually we have it in few places.
>>>>> 
>>>> 
>>>> Well, I *believe* what is happening is that the carbon-format Valentina
>>>> plugin is sending vServer the Folderitem.Name property (which is right) but
>>>> the Mach-o vcomponents are sending vServer the folderitem.Absolutepath
>>>> property *as* the db name.  So vServer determines the DB is not registered
>>>> and makes an error.
>>>> 
>>>> I would guess it's just a glitch in the mach-o plugins, but that's just a
>>>> guess.  Of course, I don't know what Valentina is doing internally.
>>>> 
>>>>>> We still call db.open(folderitem) after establishing a good vConnection
>>>>>> right?
>>>>> 
>>>>> Yes.
>>>>> 
>>>>>> Anyway, it's clear from the vServer log that vServer is not looking in
>>>>>> the
>>>>>> registered Databases folder.
>>>>> 
>>>>> 
>>> 
>>> 
>>> Was anyone able to confirm this problem? I'd be delighted to make a Mantis
>>> report, just wanting to verify that it's not just some problem with my
>>> app(s).
>> 
>> I can confirm this.
> 
> Ah, thank you Christer.  I will make a Mantis report right now.
> 


Thank you Ruslan, I can see that this is fixed with current Mach-O plugin in
RB.

Please close Mantis 0001720 at your convenience which involves this db.name
issue.

-- 
Russ Tyndall
Wake Forest, NC






More information about the Valentina mailing list