Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Doc Summaries generated from field descriptions are not XML Escaped #297

Open
Beaker73 opened this issue Jul 27, 2021 · 3 comments
Open

Comments

@Beaker73
Copy link

Tool and Version
EarlyBoundGenerator V 1.2021.6.14

Describe the bug
When an ampersand & sign is used in the generated comments, these are not escaped. (possible other xml entities aswell)

To Reproduce
Steps to reproduce the behavior:

  1. Create a field on an entity with an ampersand in the description field. In our case we created a field named CoCNumber on the account with the description: 'The KvK (Dutch Companies) or D&B (Foreign Companies) number of the account.'
  2. Generate the entities using the early bound generator
  3. Review the generated summary on the generated strong typed field.
/// <summary>
/// The KvK (Dutch Companies) or D&B (Foreign Companies) number of the account.
/// </summary>

Expected behavior
The generated summary should have been XML escaped

/// <summary>
/// The KvK (Dutch Companies) or D&amp;B (Foreign Companies) number of the account.
/// </summary>
@Beaker73 Beaker73 added the bug label Jul 27, 2021
@daryllabar
Copy link
Owner

Kind of amazed this hasn't been raised before. I'll have to see what is involved with fixing this.

@BetimBeja
Copy link

@daryllabar I checked for this bug in Albanian Early Bound (where I correctly handle comments generated by the tool), and I can confirm that this is a bug with CrmSvcUtil.exe, probably a workaround is needed.

@daryllabar
Copy link
Owner

@Beaker73 Does this happen in the EarlyBoundGenerator V2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants