Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Error when create a parent record with the multi select data. #2

Open
terasupernova opened this issue May 31, 2019 · 1 comment
Open

Comments

@terasupernova
Copy link

Hi, when i create my "Set Id" record with multiselect "outlet" then this error pop up

Column 'set_id' cannot be null (SQL: insert into outlet_set_ids (outlet_id, set_id) values (13, ))

The set_id is missing.

My table structure :
set_ids table
outlets table
outlet_set_ids table

Then i wish to create the set id record append with the outlets data.

Screen Shot 2019-05-31 at 11 35 51 AM

Did I miss out something? Please help.
Thanks

@timurlatypov
Copy link

Hi @terasupernova ,
I think you have a problem here with 'set_id' because you don't know it yet. You are creating 'New Set Id', so set_id is not defined yet, because its not created.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants