Closed abhinavvaidya90 closed 3 years ago
I cannot reproduce the traceback using a virtualenv with Python 3.8 on Ubuntu and a sample database I used for developing the pganonymizer.
Is email
a column that is not present in the res_partner
table or does the regex pattern simply doesn't match any data within the table?
@hkage For demo reason, I created a db with 1 table with 3 row Table :
this is my .yml
Result on running script
The fix will be included in the new bugfix release 0.3.2.
During the exclude of rows, if a column returns None value then the row[None] raises Type error
https://github.com/rheinwerk-verlag/postgresql-anonymizer/blob/5f6d7b3e1a9f4ae22e843eb1c6d57314a1939936/pganonymizer/utils.py#L101
Ref: myschema.yml
Expected Behaviour :