altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Datamodelling: Using spaces in field-names causes xsd and c# class to fail to update

Open bjosttveit opened this issue 3 years ago • 0 comments

Description of the bug

Using spaces in field names appears to be invalid for xsd. However in the datamodelling tool, you are not prevented from adding spaces to field names or given any feedback that this is not allowed. Generating the new xsd and c# class therefore fails silently.

Steps To Reproduce

  1. Open an existing datamodel in altinn studio.
  2. Add a space to a field name.
  3. (optional): Make other changes to the datamodel.
  4. Save and push changes.
  5. The json-schema should be updated, but not the xsd or c# class.

Additional Information

No response

bjosttveit avatar Oct 14 '22 06:10 bjosttveit