Describe the bug
The Google Sheets Plugin mostly handles duplicate headers by generating unique headers in all places except when running a sync only.
To Reproduce
Steps to reproduce the behavior:
- Create a Google Sheet with duplicate column headers, for example: Name, Status, Status.
- Open the CMS plugin
- Configure the two Status columns with different field types or mappings.
- Import the sheet successfully once
- Update a value in the second duplicate column.
- Run a sync-only update for the collection
- Observe that the second duplicate column does not reliably use its own stored configuration; it is matched using the raw duplicate header instead of its generated unique column ID.
Expected behavior
It should generate unique header names when syncing the sheet using the 'sync' button.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
The Google Sheets Plugin mostly handles duplicate headers by generating unique headers in all places except when running a sync only.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should generate unique header names when syncing the sheet using the 'sync' button.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.