Array Integer attribute breaks Duplicate action if null

Feature(s) impacted

Duplicate action

Observed behavior

For tables using DataTypes.ARRAY(DataTypes.INTEGER), clicking on “Duplicate” action is not triggering form if this column is null, and an error is logged in web console - see below.

Expected behavior

Clicking on “Duplicate” should open New form with prefilled values.

Failure Logs

image

following error is only triggered if attribute above is null

Context

  • Package Version: forest-express-sequelize@8.2.2
  • Express Version: 4.17.1
  • Sequelize Version: 5.15.2
  • Database Dialect: PG
  • Database Version: 11
  • Project Name: Shotgun Admin
1 Like

Hello @Lucas_Gerard,

Thanks for your clear description, indeed I’m able to reproduce your issue. I created a ticket in our backlog and we will inform you once solved.

Thanks for your report :pray:
Kind regards,
Louis

Hello @Lucas_Gerard :wave:

I just released a fix for this bug.

Let me know if it works for you :wink: