Integrity error on new database #388
-
Trying to get my production server filled quite urgently. Vanilla db, created the contact page, tried to translate and get an integrity error telling me key/locale already exists.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This might be a bug with wagtail-localize. It only affected the contact page model (based on WagtailCaptchaEmailForm). I got around it by disabling the automatic sync in the locale settings before doing the initial translation. Once I'd done that, I could re-enable the automatic sync. It's the only page on the site with form fields and the only one affected by this issue. I haven't tried this on a test site yet. Maybe it affects other types of forms also. |
Beta Was this translation helpful? Give feedback.
This might be a bug with wagtail-localize. It only affected the contact page model (based on WagtailCaptchaEmailForm).
I got around it by disabling the automatic sync in the locale settings before doing the initial translation. Once I'd done that, I could re-enable the automatic sync. It's the only page on the site with form fields and the only one affected by this issue.
I haven't tried this on a test site yet. Maybe it affects other types of forms also.