Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton Olason 2 posts 72 karma points
    Oct 25, 2023 @ 06:55
    Anton Olason
    0

    Issues when upgrading Umbraco forms from 8 to 10

    Hello!

    I am in the middle of upgrading a site from Umbraco version 8 to 10 and I'm having issues with umbraco forms.

    After updating I cannot see any forms even when I am logged in as administrator. I can create a new form and save it and see the new entry in the table UFForms

    Before switching to Forms 10.5.1 I have updated to 8.13.1 and set that forms should be saved in the database. The health check is all green for forms both before and after.

    The permissions are set to all access to my user.

    On thing that might be related is that when I try to update the permissions there is an error (but the table UFUserSecurity is updated correctly):

    Microsoft.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting the nvarchar value '−1' to data type int.
    
  • Anton Olason 2 posts 72 karma points
    Oct 30, 2023 @ 13:33
    Anton Olason
    0

    Update:

    After some more investigation I have noticed something weird. It looks like a bug in Umbraco Forms?

    When I create new form, two entries are added to UFUserFormSecurity. One for the user -1 which is correct, and one for the user −1 (where the dash is a unicode minus sign!) which is probably wrong.

    But I can still not see the form as the admin user, even after removing the bad row. Other users can see the forms.

    enter image description here

    Edit: After changing the language for the admin from Swedish to English I can now see all the forms. So probably a bug in Umbraco.Forms?

Please Sign in or register to post replies

Write your reply to:

Draft