Skip to content

Renaming columns to existing column name creates inheritance of that columns value

Describe the problem

Renaming a column in a table to the same name of another column inherits the value from the other column (in a weird way)

Steps to reproduce

  1. Create a datasource
  2. Create a table and use that datasource
  3. Add 3 columns, name them 1,2,3 respectively
  4. Assign each column a different value for the text
  5. Change a column name to a different existing column's name

2024-10-28_08-56-52

Actual result

It inherits the value from the column that already exists

Expected result

It should not inherit values from the existing column with the same name or should provide an error that it is a duplicate column name

Environment

  • Operating System: Windows
  • Web Browser: Chrome
  • Deployment Type: baserow.io
Edited by Colin Winhall