Re: Changes to BitPim schema

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <006801c66443$18538130$3501a8c0@rogersqyvr14d3>
> >Did you try?  And if it can't the database should be fixed, not 
> >mangling the data.
>
> Yes, I did and it didn't work.  I'll look into making the database more flexible.

Your current code should really be put into a branch until the
database code is updated.  Otherwise we end up with 3 different
formats for this information that compatibility will have to
be maintained with:

 - Not present at all
 - Single field seperated by \x00\x00
 - Python list

> >Then it really does sound like we should use references.  If we 
> >import into BitPim, change details for the contact and export back 
> >to the phone, then the right thing should happen.
>
> I believe you're correct.  But until the database is improved, 
> I'll leave this feature out and document it as a limitation.

There is no improvement needed in the database.  All that has
to change is what is stored - ie instead of storing the numbers
directly, store the serials for the entry being referenced.

Roger


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.