Source key fix

Description

Follow up fix for !1124 (merged), ensuring that get_unique_key is only called after tracking. generate_key was previously calling it when sources are created.

Changes proposed in this merge request:

  • Move generate_key to Element._source_cached method.
  • Add tests to ensure get_unique_key isn't called before track stage

Edited by Raoul Hidalgo Charman

Merge request reports

Loading