Skip to content

#634 Fix empty Draw over/under history list SQL replacements#635

Merged
tariqksoliman merged 1 commit intodevelopmentfrom
ts-634
Mar 3, 2025
Merged

#634 Fix empty Draw over/under history list SQL replacements#635
tariqksoliman merged 1 commit intodevelopmentfrom
ts-634

Conversation

@tariqksoliman
Copy link
Copy Markdown
Member

Polygons could not be drawn into new files because sequelize SQL replacements were replacing history = [] into (:history) like () (which is invalid SQL). The change was to set empty history arrays to null such that (:history) then gets replaced to be (null)

The affected only Draw Over and Draw Under.

Bug was introduced in #593

Closes #634

@tariqksoliman tariqksoliman added the bug Something isn't working label Mar 3, 2025
@tariqksoliman tariqksoliman self-assigned this Mar 3, 2025
@tariqksoliman tariqksoliman merged commit 2e3d82b into development Mar 3, 2025
1 check passed
@github-project-automation github-project-automation bot moved this to Done in MMGIS Mar 3, 2025
@tariqksoliman tariqksoliman deleted the ts-634 branch March 3, 2025 19:18
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 3, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Issue creating a new segment feature with draw tool

1 participant