Critical Fix: - extract_global_campaign_reference() now accepts campaign_id parameter - Always sets local_campaign_id to current campaign as fallback - Prevents NULL local_campaign_id when no Global Campaign Reference exists Root Cause: - Assets without Global Campaign Reference had NULL local_campaign_id - Caused derivatives to be linked to wrong campaigns - Same asset in multiple campaigns would share tracking IDs incorrectly Impact: - Every asset now has proper local_campaign_id - Derivatives correctly linked to their source campaign - Fixes issue where C000001177 assets were showing as C000002098 Changes: - database.py: Added campaign_id parameter with fallback logic - a1_to_a2_box_uploader.py: Pass campaign_number to function - a5_to_a6_download.py: Pass campaign_number to function |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| __init__.py | ||
| box_client.py | ||
| common.py | ||
| config_loader.py | ||
| dam_client.py | ||
| database.py | ||
| filename_parser.py | ||
| filename_parser_v1_backup.py | ||
| metadata_extractor_mvp.py | ||
| notifier.py | ||