Skip to content

fix cloned challenge osmIdProperty issue#2785

Open
CollinBeczak wants to merge 1 commit intomainfrom
fix-cloned-challenge-osmIdProperty-issue
Open

fix cloned challenge osmIdProperty issue#2785
CollinBeczak wants to merge 1 commit intomainfrom
fix-cloned-challenge-osmIdProperty-issue

Conversation

@CollinBeczak
Copy link
Collaborator

Before: !AsEditableChallenge(challengeData).hasZeroTasks() — only checked if the challenge had tasks, ignoring whether it was a new/cloned challenge
After: AsEditableChallenge(challengeData).isSourceReadOnly() — checks both !isNew() && !hasZeroTasks(), so cloned challenges (which have their ID removed and are treated as new) will have the osmIdProperty field editable

resolves: #2698

@CollinBeczak CollinBeczak marked this pull request as ready for review February 3, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clone Challenge does not re-enable the "OSM/External Id Property" field

1 participant