28-Jun-2026 — Prevent duplicate Ramblers walks after date changes within NGX ref #239
What's new
Fixes duplicate Ramblers walks when an already-published walk is moved to a different date.
The Ramblers upload selection page now also detects when the walk date on the group website differs from the linked Ramblers walk, clearly indicating that the walk needs republishing instead of incorrectly reporting that everything is up to date.
At a glance
- Published walks stay connected to their existing Ramblers entry when the walk date changes.
- The Ramblers publishing flow no longer treats a date change as evidence that the original Ramblers link has disappeared.
- The upload selection page now detects date mismatches between the group website and Ramblers.
- Walks with differing dates are automatically marked for publishing and display a clear explanation of the mismatch.
How it behaves
When a linked walk is found on Ramblers by its stable Ramblers id, the local walk remains linked even if the displayed date differs. That lets the next upload update the existing Ramblers entry instead of creating a second copy on the new date.
On the upload selection page, if the linked Ramblers walk exists but its date differs from the group website, the walk is automatically marked for publishing. The status message clearly reports both dates, for example:
Ramblers date is Thursday, 23 July 2026 but group website date is Thursday, 16 July 2026
If the Ramblers entry genuinely no longer exists, the local Ramblers id, URL and related link are still removed as before.
How to try it out
- Edit a published walk and move it to another date.
- Open the Ramblers publishing flow.
- Confirm the upload selection page marks the walk for publishing and reports the differing Ramblers and group website dates.
- Publish the walk.
- Confirm the existing Ramblers walk is updated rather than a duplicate being created.
Technical changes
- Ramblers sync matching now checks Ramblers id first, URL second and date last.
- Added upload-selection detection for date mismatches between the group website and the linked Ramblers walk.
- Walks with differing dates are automatically marked for publishing and include a descriptive publish-status message.
- Manual Ramblers unlinking now also removes the related Ramblers link from the walk fields.
- Added regression tests for date-changed linked walks, upload-selection date mismatch detection and genuinely missing Ramblers entries.