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

[PORT]Fix anonymous template name conflict #2595

Merged
merged 3 commits into from
Jul 28, 2020
Merged

Conversation

Danieladu
Copy link
Contributor

Fixes #2583

Description

Currently, LG uses __temp__ as the template id when evaluating inline text with EvaluateText method.
Later, the expandText function was introduced, which would use the evaluateText to achieve the result. So, there would exist two __temp__ templates.

Specific Changes

Assign a random ID for template name when evaluating an inline text to support the nested inline text evaluation.

@Danieladu Danieladu requested a review from a team as a code owner July 28, 2020 00:17
@Danieladu Danieladu requested a review from luhan2017 July 28, 2020 00:17
@coveralls
Copy link

coveralls commented Jul 28, 2020

Pull Request Test Coverage Report for Build 150815

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 82.633%

Totals Coverage Status
Change from base Build 150786: 0.07%
Covered Lines: 14569
Relevant Lines: 16800

💛 - Coveralls

@Danieladu Danieladu merged commit 68a52a2 into master Jul 28, 2020
@Danieladu Danieladu deleted the hond/fix-expandText branch July 28, 2020 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PORT] Fix anonymous template name conflict
3 participants