Affiliate System Bug Analysis: Incorrect Data Loading and Persistence

This video documents the discovery of a bug in an affiliate management system. When new affiliate links are created, the system incorrectly loads previously existing affiliate data instead of reflecting the new entries, leading to inaccurate tracking and display issues.

The video begins with the speaker noticing discrepancies in the affiliate link data. The system doesn't seem to be updating based on the most recently clicked link or new links created. This suggests a fundamental issue with data persistence or retrieval.

The speaker observes that creating a new affiliate link results in the system loading an affiliate that was created in the past, and not reflecting the data from the newly added affiliate. This indicates a bug where the system is reverting to old affiliate records instead of creating or updating new ones.

Testing reveals that the displayed list of affiliates seems fixed, meaning it is not dynamically updating based on new affiliate creation or any tracked metrics like clicks or signups. The system is consistently showing old data.

The speaker attempts to search for newly created affiliates, but the search function fails to locate them, further confirming that the system is not correctly processing or storing the new affiliate data. This impacts the ability to manage and track new affiliate partnerships.

The user interface of the web application includes data tables that display information about affiliate links, such as short URLs, clicks, signups, and earnings. It also features forms for adding new affiliates, with fields for company name, contact information, and commission rates. Call to action buttons such as 'Create Link,' 'Add Affiliate,' and 'Export' are visible, but the core functionality of these buttons seems to be impaired by the bug.

Key points

  • The affiliate system is failing to update with new affiliate links.
  • Instead of new links, old affiliate data is being loaded.
  • The displayed affiliate list appears to be static and not reflecting current data.
  • Search functionality is also failing to locate new affiliate entries.
  • The issue is not related to link clicks, affiliate creation date, or any logical trigger.
  • Metrics like total links and signup numbers are not updating correctly.
  • The system uses a web application interface with data tables for affiliate management.

Browse public study notes