datajoint/datajoint-labbook

Incorrect display of table columns for empty table

Opened this issue · 1 comments

Bug Report

Description

When selecting empty tables (0 rows), LabBook actually displays the columns from the previously selected table, instead of the columns of the selected tables.

Reproducibility

Include:

  • OS (WIN)
  • DataJoint LabBook Version 0.1.0
  • DataJoint Pharus Version 0.1.0
  • MySQL Version 5.7
  • MySQL Deployment Strategy (remote)

Screenshots

If applicable, add screenshots to help explain your problem.
image

The selected Session table does not have probe_type as an attribute (this is from the previously selected ProbeType table). See image below for the description of Session

image

@tdincer is also experiencing this bug and also the one mentioned but with the nerophotonics DB @guzman-raphael. Seems like an issue with the frontend portion of labbook.