Subject | Bug? GeneratorLinks at IBO 4.6 B + BDS 2006 (Delphi) |
---|---|
Author | Andrei Luís |
Post date | 2006-06-28T04:10:01Z |
Hi,
I found something I think is a bug in IBO 4.6 B on BDS 2006, Delphi.
My apologizes if this is not a bug, or if it has being reported
already.
I am using GeneratorLinks normally at IBO 4.6 Aa with no problem. I
upgraded to IBO 4.6 B, and at first sight, it's all OK, no errors
occur during project compiling on Delphi.
But, suddenly, when I was adding new features in a project, I got an
exception at an old module, that is running with no errors a long
time, the exception is a "violation of Primary or Unique Key ...."
after a IB_query.post.
This IB_query, is using GeneratorLinks to store the value from a
generator into a field like this my_field = my_generator. I tried
also my_table.my_field = my_generator, and got the same error.
I took a look at IBexpert, and the value of my_field is 0 for the
first time I do a ib_query.post. The exception occurs when I do a
second post, and the application is trying to store 0 again to
my_field.
I tested, and tested, and tested again. Stop / Start the FB Server,
restart the computer, and, finally, I uninstall IBO 4.6 B and install
4.6 Aa, and finally, GeneratorLinks start to work properlly.
I got this behavior in two different machines. Always on Delphi 2006
Professional.
I tested IBO 4.6 B on Delphi 4 Professional and GeneratorLinks is working OK.
So, does anybody have this problem too? Does it have a known solution?
[]s
Andrei
Win XP Pro + D4 Pro / D2006 Pro + FB 1.5.2 + IBO 4.6B
I found something I think is a bug in IBO 4.6 B on BDS 2006, Delphi.
My apologizes if this is not a bug, or if it has being reported
already.
I am using GeneratorLinks normally at IBO 4.6 Aa with no problem. I
upgraded to IBO 4.6 B, and at first sight, it's all OK, no errors
occur during project compiling on Delphi.
But, suddenly, when I was adding new features in a project, I got an
exception at an old module, that is running with no errors a long
time, the exception is a "violation of Primary or Unique Key ...."
after a IB_query.post.
This IB_query, is using GeneratorLinks to store the value from a
generator into a field like this my_field = my_generator. I tried
also my_table.my_field = my_generator, and got the same error.
I took a look at IBexpert, and the value of my_field is 0 for the
first time I do a ib_query.post. The exception occurs when I do a
second post, and the application is trying to store 0 again to
my_field.
I tested, and tested, and tested again. Stop / Start the FB Server,
restart the computer, and, finally, I uninstall IBO 4.6 B and install
4.6 Aa, and finally, GeneratorLinks start to work properlly.
I got this behavior in two different machines. Always on Delphi 2006
Professional.
I tested IBO 4.6 B on Delphi 4 Professional and GeneratorLinks is working OK.
So, does anybody have this problem too? Does it have a known solution?
[]s
Andrei
Win XP Pro + D4 Pro / D2006 Pro + FB 1.5.2 + IBO 4.6B