Page MenuHomePhabricator

cargo linking a form field to an empty table produces an error
Closed, ResolvedPublic

Description

Hi

When adding a semantic forms field I like to link it to its cargo field with

cargo table=table_name and cargo field=field_name

Unfortunately, this produces an Error: no database table exists named "table name" error, if the table is empty - even if it is created (I checked, promise!). So basically I can't use my form to create an entity, because the table is emtpy, because there is no entity, because I can't create it via form, tbc...

Is there a fix or a workaround, besides "add the form field parameters later"?

Regards,
Tobias Oetterer

Event Timeline

Oetterer raised the priority of this task from to Needs Triage.
Oetterer updated the task description. (Show Details)
Oetterer subscribed.
Oetterer triaged this task as Medium priority.Jan 11 2016, 9:41 PM
Oetterer set Security to None.
Yaron_Koren claimed this task.
Yaron_Koren subscribed.

Yes, that was a bug - sorry about that. Fixed now, I think.