Skip to content

defaultValue for an array columnType (for example hyperlink_array) is parsed incorrectly #5281

@BrendaHijmans

Description

@BrendaHijmans

Have you checked if this issue already exists?

  • yes

Molgenis EMX2 version

Software version: v13.34.1-SNAPSHOT. Database version: 29.

Description

When I try use a defaultValue with for example a hyperlink_array I cannot make a new entry via forms, because the defaultValue is wrongfully parsed.

Reproduction steps

  1. Go to 'https://emx2.dev.molgenis.org'
  2. Log in as admin
  3. Make a new schema and upload this file:
    testdefaults.xlsx
  4. Open Table
  5. Open a new from by clicking the +
  6. See error: Image

NOTE: update of an exiting entry is possible, so it seems upload of the defaultValue does work:

Image

Expected behaviour

I want the default hyperlink to appear in one entry of the hyperlink_array

System configuration

  • Device: dell xps13
  • Operating system: windows 11
  • Browser: chrome

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions