Nocobase v2.0 - some date field is missing

Hi there,

I’ve run into a bug after upgrading to v.2.0.0 that I wanted to report.

The issue: I have a table (from an external data source, MariaDB) called ‘attendance’ with a date field called ‘A_Date’. Here’s what I’m seeing:

On classic v.1 pages (created before the upgrade):

  • The A_Date field found and displays correctly in data blocks
    image

  • However, when I try to set a Data Scope, A_Date doesn’t appear in the field list

  • Existing A_Date settings in Data Scope now show as “[object Object]”
    image

On modern v.2 pages (newly created):

  • The A_Date field is completely missing from all data blocks (I’ve tried both table and list blocks)

However, after inspecting the data with browser’s Dev tool. It shows the A_date files and records.

  • It also doesn’t appear in the Data Scope field list either.

So it seems like the A_Date field has some kind of compatibility issue with v.2.0.0, affecting both display and filtering capabilities.

Please let me know if you need any additional details or screenshots to help with troubleshooting this issue.

Cheers,
Nat

Here’s what worked for me:

  1. Go to Data sources and click Config on the external data source
  2. Click Configure fields on the affected table
  3. Find the date field and click Edit
  4. Select your preferred date format (I used DD/MM/YYYY)
  5. Important: Add a comment in the description box (this seems to be required for the changes to save properly)
  6. Save the changes

After doing this, the A_Date field now appears in both classic and modern pages!

What I think happened: It looks like Nocobase needed to refresh the table’s field properties after the upgrade. Interestingly, the update won’t take effect unless you add something to the description box – leaving it blank doesn’t trigger the property update.

Hope this helps anyone else running into the same issue!

Cheers,
Nat

Hello, I haven’t been able to reproduce your problem. You can upgrade to the latest version and check if the problem persists.