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

Fix dom rendering of attributes with empty data #289

Merged
merged 1 commit into from Aug 9, 2018
Merged

Fix dom rendering of attributes with empty data #289

merged 1 commit into from Aug 9, 2018

Conversation

lhcopetti
Copy link
Contributor

Fixes #288.

The attribute value wasn't updated when the DTL expression inside of it resulted in an empty string. The side effect was that the attribute's value remained with the DTL expression inside of it (see #288 for more details).

Added a test case that has a much smaller code footprint than the example in the issue linked above.

@jsf-clabot
Copy link

jsf-clabot commented Aug 9, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@dylans dylans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lhcopetti ... we'll merge this shortly.

@dylans dylans added this to the 1.14.0 milestone Aug 9, 2018
@dylans dylans merged commit 294ed02 into dojo:master Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
dylans pushed a commit that referenced this pull request Aug 9, 2018
@dylans
Copy link
Member

dylans commented Aug 9, 2018

Cleanly backported this back to 1.8:

1.13: 10d6a80
1.12: d5520af
1.11: f3953e3
1.10: ebe8259
1.9: 01bac9c
1.8: 040aa99

@lhcopetti lhcopetti deleted the DomAttrFix branch August 9, 2018 13:56
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.

None yet

3 participants