51 Posts
morhinio
7 years ago
2
Topic

Hello,

I have created the following fields for a form & content Type (same database column):

  • brandone_model: storage (standard, article, brand_model)
  • brandtwo_model: storage (standard, article, brand_model)

Only one field in the content type is displayed. (controlled by Conditional States)

Now my problem. If I create a new article of this type, the columns brandone_model and brandone_model columns are also created.

I don't understand that. Normally it should only create the column brand_model.

Make I something wrong?

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
1
Level 1

If you changed storage after you created fields old columns won't be deleted. Having 2 fields with the same storage won't work unless only one is used at the time.

51 Posts
morhinio
7 years ago
0
Level 2

Thanks Klas for the quick answer.

I deleted the fields and recreated them. Then I deleted the unneeded columns.

It works now. The data is stored correctly.

But when I use the seblod exporter, the name of the first generated field (brandone_model) is displayed for all items in the CSV and not the name of the database column (brand_model).

Get a Book for SEBLOD