Skip to content

Relationship Columns allow illegal characters when using the default title #18786

@mikesealey

Description

@mikesealey

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Cloud
    • Tenant ID: miketest1

Describe the bug
When creating a table on the internal database, it is possible to use special characters. Then when creating a relationship from the table with special characters, the related table gets a column created with special characters that would otherwise be forbidden.

To Reproduce
Steps to reproduce the behavior:

  1. In a fresh workspace, create a table, Table 1 - (give it a basic text column or two)
  2. Create another table, Table 2!@£$%^&*()> -(again, create some basic columns)
  3. From Table 2!@£$%^&*()>, add a relationship column to Table 1 (Many to Many is fine)
  4. Head to Table 1 and see the newly created column. Try to edit the column to see the warning about illegal characters.

Expected behavior
Illegal characters should be protected against consistently. Validation should be applied throughout.

Screenshots
https://jam.dev/c/f1eacd92-11c4-448f-a8b2-16060dea38b4

App Export
If possible - please attach an export of your budibase application for debugging/reproduction purposes.

Desktop (please complete the following information):

  • OS: MacOS 15.7 Sequoia
  • Browser Chrome
  • Version 147.0.7727.57 (Official Build) (arm64)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions