BUG: Acknowledgments are problematic due to shortend ids #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Alpine Bits requires cutting off certain values to fit arbitrary limitations. This is annoying if our unique_ids happen to be longer.
Our unique_ids sometimes are longer because we piggyback of the data wix is using. That also makes it possible to match data to the Wix CRM if necessary. To bad alpinebits can't handle those. So we shorten the id.
Ackwnolegdment Requests then return the shortend Id making lookups in the database more annoying.
Proposal. Save both original_id and transformed_id in the database. To transform the id we can use md5. Not the best hash function but happens to always output 32 chars. Collissions are still very unlikely.
Fixed. Changed database schema. Now always using hashed md5 unique id for asa. Fits in 32 chars :)