Can't edit platforms

Created on 9 February 2024, about 1 year ago
Updated 23 February 2024, about 1 year ago

Problem/Motivation

The fix in 🐛 Cannot add platforms: Invalid parameter number: number of bound variables does not match number of tokens: Fixed introduced the issue that you cannot edit platforms, you get told:

Path is already in use by platform . Platform paths must be unique across all servers.

This is because we fixed the broken SQL query, and now the platform is trivially finding itself :)

Steps to reproduce

Edit a platform.

Proposed resolution

Pass in the current platform, and exclude that from the query.

Remaining tasks

Write the code, review the code, commit the code.

User interface changes

Might fix the error message while I'm here.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024