Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After importing a linkit profile, I was prompted with a warning:
"You have unsaved changes. These changes will not be made permanent until you click Save."
However there is no save button on the tab. If I navigate to other tabs the imported profile is removed.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1606364-1.patch | 4.93 KB | anon |
LInkit_bug_screen_shot.png | 57.88 KB | gocaps |
Comments
Comment #1
anonThis issue was bigger then I first thought.
I recently found out that in you can specify a db columns to be 'serial' and use the blob type for that column.
If that is defined, ctools will handle or serialized values correct, else its up to the module itself to "fix" this.
This was actually the base problem here.
I also dug in the ctools code and found some other nice things about the forms that will make this even more stable.
I have attached a patch that will update the db columns to use blobs and some other nice things that will make the import work.
Note: You have to run update.php after applying the patch.
It will not remove any data, or at least that is my goal and in my own tests its not removing or deleting any data. The profiles will stay intact.
Comment #2
anonComment #3
anonCommited patch in #1.
Comment #5
mrP CreditAttribution: mrP commentedfixed in 2.6+ for anyone else stumbling on this.