Jump to content

Switch to Language field type errors


adrian
 Share

Recommended Posts

Hi guys - well I am still a gumby at all things multi-language so maybe this is my fault, but I am working on the multi-language support for Migrator and came across this.

After installing all the language related modules, I tried to change the field type of a textarea field to TextareaLanguage and got these errors:

 Session: Field type change failed. Database reports: SQLSTATE[HY000]: General error: 1364 Field 'data1021' doesn't have a default value
 Session: Error changing fieldtype for 'summary', reverted back to 'FieldtypeTextareaLanguage'

Then I cound't edit the field at all due to these errors:

TemplateFile: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_summary.data1021' in 'field list'

I simply added the data1021 field to the DB table and everything looks to be working fine, but I think this is a bug.

Anyone?

EDIT: We can continue this over here: https://processwire.com/talk/topic/5286-switching-fields-to-language-fields-produces-fatal-errors/

Edited by adrian
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...