Skip to content

Explorations break for long column names, show DEFAULT #4712

@mathemancer

Description

@mathemancer

Description

Under some (not-yet-understood) conditions, the backend mangles Exploration column names, and this results in a situation where the front end can't match returned data to the appropriate columns.

Expected behavior

This should never happen.

To Reproduce

  • Go to insider-trading.mathesar.org (password in 1password).
  • Create an exploration on the "Derivative Transaction Information" table, including the "Derivative Transaction Surrogate Key" column.
  • Notice the problem

Additional context

It may be that this has to do with the length of generated column names when the starting base column name is too long. If an alias name is too long, PostgreSQL itself will mangle it.

Metadata

Metadata

Assignees

Labels

needs: troubleshootingIssues that we can't reproduce or need to investigate further before picking a course of actiontype: bugwork: backendRelated to Python, Django, and simple SQLwork: db-layerRelated to SQL or PL/pgSQL

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions