Skip to content

Marking a field as Sensitive data doesn't save to the database. #356

@OwainWilliams

Description

@OwainWilliams

We recently upgraded Umbraco 8.1.4 and Forms 8.2.0 to U8.6.1 and UF8.4.0

Preupgrade, we had a field on a form marked as Sensitive data and everything was fine. After the upgrade, if any data was added to the sensitive data field, it's not saved in the database.

Support ticket Id: #51768

Reproduction

Specifics

Umbraco 8.6.1
Forms 8.4.0

Steps to reproduce

Create a form and add a field, such as a short string. Complete the form and you will see that the data is stored in the backoffice. Now mark this same field as sensitive data. Complete the form again and then check the backoffice, you will see no data is visible, it doesn't matter if you are an admin with permission to see sensitive data or not. If you check the database table, you will see the data hasn't been saved at all. It's gone.

If you now change that field back to non-sensitive, fill out the form again, your data is now saved as expected.

Expected result

The data should be saved in to the database and visible in the backoffice.

Actual result

No data saved in the database table or visible in the backoffice.


This item has been added to our backlog AB#6694

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions