gonymizer
gonymizer copied to clipboard
UUID relationship between tables not working
I have a dataset with three tables.
One main items
table that uses id as uuid
that are unique, and two tables with things like item_comment
and item_history
that references the id from the main items
table.
The problem is that ALL ids from items
table are 00000000-0000-0000-0000-000000000000
so I lost the reference to item_comment
and item_history
tables.
I've configured the relationship "parentColumn", "parentSchema" and "parentTable" on both the item
table and also the item_history
and item_comment
tables.
How can I fix that? Thanks.
@leonardoviveiros have a couple questions:
- Which version of Gonymizer are you using?
- Does this happen on version
v1.2.3
andv2.0.0
?
Hey @junkert
I have the same issue using the latest version of gonymizer.. I'm trying to figure out what it the problem, let me know if you have an idea how to debug it better.
Hi @luizm. Which version are you using? Is this on the master branch?
Hi @luizm. Which version are you using? Is this on the master branch?
Yes.. using master
I'll try to find some time to look into this today
So sorry this has been broken, I'm surprised that testing was working during this failure :( I'll look into this as well.
I was finally able to get a dev setup working again. I've been able to pin-point the issue to somewhere in the addition of the multithreaded code that was added quite a while ago. This was added in version 2 and main.
Now that I have my dev setup working I'll continue to track this bug down, but it may take a week or two with my current workload at my day job. Hopefully a fix will be coming soon.
Amazing.. thank so much for quick reply.
@luizm I accidentally committed to Master when making the fix tonight. This looks to fix the issue. Can you let me know if you run into any problems?
https://github.com/smithoss/gonymizer/commit/6fb69566e83f042480e1965ae710beb24c66c53a
@junkert it worked. Thank you so much
IMO you can close this issue.
Woo! Great to hear. Thank you for bringing this up @luizm !
Oh, almost forgot I have also released this version as v2.0.1
and have tagged it appropriately. I'll add something to the top of the Issues to let others know that 2.0.0 is broken with UUIDs.