Skip to content

Partial restore exception:The given value '<mediaPath>' of type String from the data source cannot be converted to type nvarchar for Column 1 [targetUdi]. #302

@malkag

Description

@malkag

Reproduction

Bug summary

When using partial restore and check the "Include all items below", we get an exception:
"System.InvalidOperationException with message: The given value 'umb://media-file/bcvpahqr/%D7%94%D7%92%D7%91%D7%9C%D7%95%D7%AA-%D7%A9%D7%99%D7%9E%D7%95%D7%A9-%D7%91' of type String from the data source cannot be converted to type nvarchar for Column 1 [targetUdi]. It might have been caused by an inner System.InvalidOperationException with message: String or binary data would be truncated in table 'umbracoDeployDependency', column 'targetUdi'. Truncated value: 'umb://media-file/bcvpahqr/%D7%94%D7%92%D7%91%D7%9C%D7%95%D7%AA-%D7%A9%D7%99%D7%9E%D7%95%D7%A9-%D7%91'."

Specifics

Version: 13.4.3
Full exception message + techinal details are attached
Content item + related media's uda are attached

Steps to reproduce

Right-click on a specific item (not all the items reproduce this error!) -> Partial restore -> check "Include all items below" -> click "Restore"

Expected result

See a success message

Actual result

Exception message (attached)

document__c7ab14918b284f9398addc26d765142a.uda.txt
media__1ef0aa26db114517b299c6f9f19c2a17.uda.txt
partialRestoreException_c7ab14918b284f9398addc26d765142a.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions