Skip to content

Export completes even if it fails to serialize elements to model.xml  #310

@llali

Description

@llali
  • SqlPackage or DacFx Version:
  • .NET Framework (Windows-only) or .NET Core:
  • Environment (local platform and source/target platforms):

Steps to Reproduce:

  1. Create a database with a procedure with a special character which will fail to serialize to xml (TODO: add a sample script for the procedure)
  2. Export the database to bacpac

Expected: export either successfully create the bacpac to fails and show a meaningful error for user
Actual: export fails but it creates the bacpac and logs shows export completed successfully. user sees an error in the console:

Exporting data from database

Exporting data

*** Error exporting database:The surrogate pair (0xDBA4, 0x69) is invalid. A high surrogate character (0xD800 - 0xDBFF) must always be paired with a low surrogate character (0xDC00 - 0xDFFF).

Did this occur in prior versions? If not - which version(s) did it work in?

(DacFx/SqlPackage/SSMS/Azure Data Studio)

Metadata

Metadata

Assignees

Labels

P1P1 bugbugSomething isn't workingfixed-pending-releaseFix in upcoming release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions