Re: data file differences in 2.2

2007-07-24 Thread Josh Sled
"Hale Boyes, Kevin " <[EMAIL PROTECTED]> writes:
> So, I'd say that once you've saved your data file in 2.2.0 you should
> not go back to 2.0.5 and save there.  This has nothing to do with the
> data file change noted in the release notes (around scheduled
> transactions).

Yea ... we should obviously make it stronger and more comprehensive for
2.2.1.  Thanks for the legwork testing the back and forth between the
versions! :)

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


pgpqOmZz4ZSSq.pgp
Description: PGP signature
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


RE: data file differences in 2.2

2007-07-24 Thread Hale Boyes, Kevin


Hale Boyes, Kevin wrote:
> Derek Atkins wrote:
>> Kevin HaleBoyes <[EMAIL PROTECTED]> writes:
>> 
>>> I did notice one other thing.  2.0 doesn't know about the ROOT
>>> account type so it changes the type to NO_TYPE.  I'm wondering how
>>> 2.2 will respond to that?  Haven't tried it yet.
>> 
>> What version of 2.0.x are you using?   I /think/ that 2.2 is smart
>> enough to convert that back to a ROOT account.
> 
> 2.0.5
> 
> I've been poking around the code to see if it would convert
> it back to a ROOT account but I get lost once it starts dealing with
> the QOF code.

Just to recap...
I have a data file saved by GnuCash 2.0.5.
I opened that file in 2.2.0 and saved.
I then took that file and opened and saved it in 2.0.5 which
  causes the Root account type to be set to NO_TYPE.

If this file is then opened in 2.2.0 again it will not recognize
the Root account properly.  So, the Root account shows up in the
display.  I didn't check but I suspect it also got re-parented
to another Root account.

So, I'd say that once you've saved your data file in 2.2.0 you should
not go back to 2.0.5 and save there.  This has nothing to do with the
data file change noted in the release notes (around scheduled
transactions).

Kevin.

This email communication and any files transmitted with it may contain 
confidential and or proprietary information and is provided for the use of the 
intended recipient only. Any review, retransmission or dissemination of this 
information by anyone other than the intended recipient is prohibited.  If you 
receive this email in error, please contact the sender and delete this 
communication and any copies immediately. Thank you. 
http://www.encana.com



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


RE: data file differences in 2.2

2007-07-24 Thread Hale Boyes, Kevin


Derek Atkins wrote:
> Kevin HaleBoyes <[EMAIL PROTECTED]> writes:
> 
>> I did notice one other thing.  2.0 doesn't know about the ROOT
>> account type so it changes the type to NO_TYPE.  I'm wondering how
>> 2.2 will respond to that?  Haven't tried it yet.
> 
> What version of 2.0.x are you using?   I /think/ that 2.2 is smart
> enough to convert that back to a ROOT account.

2.0.5

I've been poking around the code to see if it would convert
it back to a ROOT account but I get lost once it starts dealing with
the QOF code.  I did notice what seems to be a bit of redundant code:

Around line 450 in gnc-account-xml-v2.c it calls
gnc_book_get_root_account()
and if it returns NULL then gnc_account_create_root() is called.  But,
if
gnc_book_get_root_account() finds no root account then it creates one
and
returns it.


K.


This email communication and any files transmitted with it may contain 
confidential and or proprietary information and is provided for the use of the 
intended recipient only. Any review, retransmission or dissemination of this 
information by anyone other than the intended recipient is prohibited.  If you 
receive this email in error, please contact the sender and delete this 
communication and any copies immediately. Thank you. 
http://www.encana.com



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: data file differences in 2.2

2007-07-24 Thread Derek Atkins
Kevin HaleBoyes <[EMAIL PROTECTED]> writes:

> I tested it out - using a 2.2 saved file in the 2.0 version.  I noticed that 
> the
> display shows the Root account and it now prefixes all account names.
> Visually not great but whatever.

Right.

> I did notice one other thing.  2.0 doesn't know about the ROOT account type 
> so it
> changes the type to NO_TYPE.  I'm wondering how 2.2 will respond to that?  
> Haven't
> tried it yet.

What version of 2.0.x are you using?   I /think/ that 2.2 is smart enough
to convert that back to a ROOT account.

> Thanks,
> K.

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: data file differences in 2.2

2007-07-23 Thread Kevin HaleBoyes
Moved from -users.

--- Derek Atkins <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> These questions deserve to be on gnucash-devel, not gnucash-user,
> because they are all development level questions.  "Users" are
> not expected to look into the data file...
> 
> "Hale Boyes, Kevin " <[EMAIL PROTECTED]> writes:
> 
> > I've started to use 2.2 (on Fedora 7) and have noticed a change to
> > the saved data file that I didn't expect.  I simply open my 2.0 data
> > file with 2.2, save and exit.
> > ... snip ...
> > I also noticed that all my "top" level accounts (like Assets)
> > get re-parented by a new "Root Account".  Why was that done?
> 
> Because we got rid of an internal AccountGroup structure.
> 
> > I'm not using scheduled transaction so can I use this 2.2-saved data
> > file in version 2.0?
> 
> Yes.

I tested it out - using a 2.2 saved file in the 2.0 version.  I noticed that the
display shows the Root account and it now prefixes all account names.
Visually not great but whatever.

I did notice one other thing.  2.0 doesn't know about the ROOT account type so 
it
changes the type to NO_TYPE.  I'm wondering how 2.2 will respond to that?  
Haven't
tried it yet.

Thanks,
K.



  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel