Reference count bug

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Reference count bug

Jochen123
Hi!

Gramps 2.0.9 (Debian package 2.0.9-1).

A place with one event. I changed the event to point to a different place.
When I look at the place now, I can see no references any more, which is
right. But when I try to delete it, I get a warning that "at least one
record" still references it.

Jochen
--
Jochen Topf  [hidden email]  http://www.remote.org/jochen/  +49-721-388298



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Reference count bug

Alex Roitman
Jochen,

On Sun, 2005-12-18 at 12:40 +0100, Jochen Topf wrote:
> A place with one event. I changed the event to point to a different place.
> When I look at the place now, I can see no references any more, which is
> right. But when I try to delete it, I get a warning that "at least one
> record" still references it.

Cannot seem to reproduce it.
Do you have a testcase that you could send to me?

Alex

--
Alexander Roitman   http://www.gramps-project.org

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Reference count bug

Jochen123
Hi!

On Sun, Dec 18, 2005 at 10:08:30PM -0800, Alex Roitman wrote:
> On Sun, 2005-12-18 at 12:40 +0100, Jochen Topf wrote:
> > A place with one event. I changed the event to point to a different place.
> > When I look at the place now, I can see no references any more, which is
> > right. But when I try to delete it, I get a warning that "at least one
> > record" still references it.
>
> Cannot seem to reproduce it.
> Do you have a testcase that you could send to me?

Looking further into this, the reason could have been that there is an
address of a person with this place, but no event. Addresses don't show
up when looking at the place editor references tab, which might be a
bug, at least it is not very orthogonal.

Jochen
--
Jochen Topf  [hidden email]  http://www.remote.org/jochen/  +49-721-388298



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Reference count bug

Alex Roitman
Jochen,

On Tue, 2006-01-03 at 22:42 +0100, Jochen Topf wrote:

> On Sun, Dec 18, 2005 at 10:08:30PM -0800, Alex Roitman wrote:
> > On Sun, 2005-12-18 at 12:40 +0100, Jochen Topf wrote:
> > > A place with one event. I changed the event to point to a different place.
> > > When I look at the place now, I can see no references any more, which is
> > > right. But when I try to delete it, I get a warning that "at least one
> > > record" still references it.
> >
> > Cannot seem to reproduce it.
> > Do you have a testcase that you could send to me?
>
> Looking further into this, the reason could have been that there is an
> address of a person with this place, but no event. Addresses don't show
> up when looking at the place editor references tab, which might be a
> bug, at least it is not very orthogonal.
This is because addresses do not refer to places. If you have
a testcase that exhibits the problem, please email it to me
(not to the list), either grdb or XML.

Alex

--
Alexander Roitman   http://www.gramps-project.org

signature.asc (196 bytes) Download Attachment