Issue with locales and creating model records from a custom page
I've built a CSV Importer using a custom page, and have gotten to the point where I can successfully upload the file and start creating new records with my model/repository. But I'm running into an issue when it's trying to create the
slug
slug
and
translation
translation
data.
Specifically, the
active
active
column is not being set, and the
`HasSlug::getSlugParams()
`HasSlug::getSlugParams()
method doesn't know what to do with that since it's detecting that I should have locale info.
I can't figure out how to send along locale information from my custom page, or if there's another way to send or bypass this from my code to create the new record? I hope that makes sense. I'm on Twill 2.11.0