Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Upgrading userformsUserForms Database Migration


Reply

3 Posts   386 Views

Avatar
matkop

11 October 2011 at 10:37am Community Member, 3 Posts

I have just upgraded User Forms to the latest stable release v0.2.1 on my site.
I did a database rebuild and I also tried to rebuild the forms by going to this address: /dev/tasks/UserFormsMigrationTask (https://github.com/silverstripe/silverstripe-userforms)
UserForms Database Migration seems to start, but i get an error straight away saying:

Running task 'UserForms Database Migration'...
Proceeding to update 6 Forms
-- Updating lillestrom
!! Could Not Find EditableTextField

I have also tried to have a look at the forms in the backend but they do not show up. It is only a blank screen where all the page values used to be.

Has anyone else had this error? Or is it anyone that could help me out on this issue?

Thanks :)

Avatar
Willr

11 October 2011 at 6:50pm Forum Moderator, 5511 Posts

What were you upgrading from? The migration script is only for really old 0.1 forms. The latest version everyone should be on is the 'master' version from the github repo (self reminder: RELEASE a new one :D). If you're upgrading from 0.2 to 0.2.1 you won't need to run it. Make sure you also use a ?flush=1.

Avatar
matkop

12 October 2011 at 3:22pm (Last edited: 12 October 2011 3:23pm), Community Member, 3 Posts

Hey not really sure what happened here :) But i must have mixed up the versions and basically downgraded to an older version. It is fixed again now . Thanks for your help Willr.

Just another quick question you mentioned in an older post: http://www.silverstripe.org/all-other-modules/show/14829 That you where "looking" into maybe changing the dropdown field in the module to support a Value and a Title so you can choose a Title and the corresponding email would get the submitted form. Is this something that you are still looking into?

Thanks again

Cheers

Mattis