Compatibility problem between G2 business module and G1

2006-01-25 Thread digger vermont
Hello All,
It looks to me that G2 is "corrupting" the guid's of customers,
employees, vendors, etc when opening an account file made with G1.8.12.
I haven't looked close enough at whether or not it is a general problem
in G2. 

To try and make sure it isn't something I've done I created a simple set
of accounts with G1 including a customer, vendor, employee, job and some
invoices using G1.8.12. and saved it.  When opening it with G2 it looks
fine. But after saving it without having made any changes (all I did was
open and immediately saved) and reopening it, it appears to have lost
the links to the invoices and customers, employees, etc.

Looking at a diff between the two files it looks like the guids have
been changed.

Has anyone else seen this and is it a known issue?  Or is the business
module still a work in progress and this is to be expected? I didn't see
anything in bugzilla that looked like it.  If it's something new I can
enter it.

I'm using mostly debian unstable.  G1 is 1.8.12 and G2 is r12973.  Any
other info that could be relevant?

I've attached the two files as an example.

digger


g1.8.12_to_g2r12973.tgz
Description: application/compressed-tar
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Compatibility problem between G2 business module and G1

2006-01-26 Thread Andrew Sackville-West
On Wed, 25 Jan 2006 22:52:58 -0500
digger vermont <[EMAIL PROTECTED]> wrote:

> Hello All,
>   It looks to me that G2 is "corrupting" the guid's of customers,
> employees, vendors, etc when opening an account file made with G1.8.12.
> I haven't looked close enough at whether or not it is a general problem
> in G2. 
> 
> To try and make sure it isn't something I've done I created a simple set
> of accounts with G1 including a customer, vendor, employee, job and some
> invoices using G1.8.12. and saved it.  When opening it with G2 it looks
> fine. But after saving it without having made any changes (all I did was
> open and immediately saved) and reopening it, it appears to have lost
> the links to the invoices and customers, employees, etc.
> 
> Looking at a diff between the two files it looks like the guids have
> been changed.
> 
> Has anyone else seen this and is it a known issue?  Or is the business
> module still a work in progress and this is to be expected? I didn't see
> anything in bugzilla that looked like it.  If it's something new I can
> enter it.

I've seen it too in both 1.8.x and G2. I don't remember the circumstances that 
caused it in 1.8, but I think it was a crash. The version of G2 I was using at 
the time I saw this was also crashing, so I sort of ignored it. IIRC, the 
invoices and payments lose their mapping to vendors. It shows up very obviously 
in the Payable Aging report. You get balances with a blank vendor column and 
incorrect totals for the associated vendors. i remember that I manually edited 
my file to fix the GUID's and it seems to me I had to follow quite a long chain 
to get it all patched up. Turns out its easier to just unpost, edit and repost 
the invoices and then delete and replicate the payments. ymmv.

If you file the bug, I'll add my results as well.

A

> 
> I'm using mostly debian unstable.  G1 is 1.8.12 and G2 is r12973.  Any
> other info that could be relevant?
> 
> I've attached the two files as an example.
> 
> digger
> 


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


Re: Compatibility problem between G2 business module and G1

2006-01-26 Thread Derek Atkins
For what it's worth, I've certainly noticed this once or twice, but I
haven't been able to actually track it down.  I've certainly noticed
problems with the bill terms.  I'm just not sure if it's a load-time
issue, save-time issue, or some other memory corruption.

Help debugging this would be greatly appreciated by anyone on the
list.

-derek

digger vermont <[EMAIL PROTECTED]> writes:

> Hello All,
>   It looks to me that G2 is "corrupting" the guid's of customers,
> employees, vendors, etc when opening an account file made with G1.8.12.
> I haven't looked close enough at whether or not it is a general problem
> in G2. 
>
> To try and make sure it isn't something I've done I created a simple set
> of accounts with G1 including a customer, vendor, employee, job and some
> invoices using G1.8.12. and saved it.  When opening it with G2 it looks
> fine. But after saving it without having made any changes (all I did was
> open and immediately saved) and reopening it, it appears to have lost
> the links to the invoices and customers, employees, etc.
>
> Looking at a diff between the two files it looks like the guids have
> been changed.
>
> Has anyone else seen this and is it a known issue?  Or is the business
> module still a work in progress and this is to be expected? I didn't see
> anything in bugzilla that looked like it.  If it's something new I can
> enter it.
>
> I'm using mostly debian unstable.  G1 is 1.8.12 and G2 is r12973.  Any
> other info that could be relevant?
>
> I've attached the two files as an example.
>
> digger

-- 
   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: Compatibility problem between G2 business module and G1

2006-01-26 Thread Brian
On Wed, 2006-25-01 at 22:52 -0500, digger vermont wrote:
> Hello All,
>   It looks to me that G2 is "corrupting" the guid's of customers,
> employees, vendors, etc when opening an account file made with G1.8.12.
> I haven't looked close enough at whether or not it is a general problem
> in G2. 
> 

> Has anyone else seen this and is it a known issue?  Or is the business
> module still a work in progress and this is to be expected? I didn't see
> anything in bugzilla that looked like it.  If it's something new I can
> enter it.

I've had the problem in G2 using a new file created in G2.  I reported
it in November (to this list), but was lost in the flurry of activity.
You seem to have investigated it further.

Repost:

[EMAIL PROTECTED] ~/gnucash-svn/trunk $ svn info
Path: .
URL: http://svn.gnucash.org/repo/gnucash/trunk
Repository UUID: 57a11ea4-9604-0410-9ed3-97b8803252fd
Revision: 12055
Node Kind: directory
Schedule: normal
Last Changed Author: cstim
Last Changed Rev: 12053
Last Changed Date: 2005-11-26 12:52:22 -0800 (Sat, 26 Nov 2005)
Properties Last Updated: 2005-11-21 17:08:14 -0800 (Mon, 21 Nov 2005)



Create a new invoice, post it show it in an invoice, save the file, quit
and restart gnucash...The customer does not seem to be saved and
consequently the displayed invoice no longer shows the name, etc. in any
of the invoices.  Opening a copy of my working file it retrieves and
displays the customer info correctly.  The posted invoivce does retain
the correct customer name in Accts Receivable.


-- 
Brian <[EMAIL PROTECTED]>

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


Re: Compatibility problem between G2 business module and G1

2006-01-26 Thread digger vermont
Hello,

On Thu, 2006-01-26 at 10:01 -0800, Andrew Sackville-West wrote:
> On Wed, 25 Jan 2006 22:52:58 -0500
> digger vermont <[EMAIL PROTECTED]> wrote:
> 
> > Hello All,
> > It looks to me that G2 is "corrupting" the guid's of customers,
> > employees, vendors, etc when opening an account file made with G1.8.12.
> > I haven't looked close enough at whether or not it is a general problem
> > in G2. 
> >

...

> I've seen it too in both 1.8.x and G2. I don't remember the circumstances 
> that caused it in 1.8, but I think it was a crash. The version of G2 I was 
> using at the time I saw this was also crashing, so I sort of ignored it. 
> IIRC, the invoices and payments lose their mapping to vendors. It shows up 
> very obviously in the Payable Aging report. You get balances with a blank 
> vendor column and incorrect totals for the associated vendors. i remember 
> that I manually edited my file to fix the GUID's and it seems to me I had to 
> follow quite a long chain to get it all patched up. Turns out its easier to 
> just unpost, edit and repost the invoices and then delete and replicate the 
> payments. ymmv.
> 
> If you file the bug, I'll add my results as well.
> 
> A
> 

I played around some more, and for me here it looks like it is a general
problem in G2.  I created a new set of accounts in G2 (r12973, though it
also happened with earlier revisions) along with some companies and
invoices.  After saving the file and reopening it the links or mappings
between them are gone.

I files a bug for it: http://bugzilla.gnome.org/show_bug.cgi?id=328790

digger

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