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

Read template attributes as properties #8988

Merged
merged 18 commits into from Sep 14, 2020
Merged

Conversation

denis-anisimov
Copy link
Contributor

Fixes #8974

@vaadin-bot
Copy link
Collaborator

SonarQube analysis reported 4 issues

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. MAJOR LitTemplateDataAnalyzer.java#L1: Class com.vaadin.flow.component.littemplate.LitTemplateDataAnalyzer defines non-transient non-serializable instance field parser rule
  2. MAJOR LitTemplateDataAnalyzer.java#L44: Make "parser" transient or serializable. rule
  3. MAJOR IdCollector.java#L139: Call "tagName.isPresent()" before accessing the value. rule
  4. MINOR LitTemplate.java#L106: Remove this method to simply inherit it. rule

@denis-anisimov denis-anisimov merged commit 66fe870 into master Sep 14, 2020
OLD Vaadin Flow ongoing work (Vaadin 10+) automation moved this from Iteration Reviews to Done - pending release Sep 14, 2020
@denis-anisimov denis-anisimov deleted the 8974-template-props branch September 14, 2020 08:17
@vaadin-bot vaadin-bot added +1.0.0 and removed +0.1.0 labels Oct 22, 2020
caalador pushed a commit that referenced this pull request Jan 27, 2021
Read template attributes as properties

Fixes #8974
# Conflicts:
#	flow-server/src/main/java/com/vaadin/flow/component/littemplate/LitTemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/IdCollector.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateInitializer.java
#	flow-server/src/test/java/com/vaadin/flow/component/polymertemplate/PolymerTemplateTest.java
#	flow-tests/test-root-context/frontend/AttributeTemplate.js
#	flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeView.java
#	flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeIT.java
caalador pushed a commit that referenced this pull request Jan 29, 2021
Read template attributes as properties

Fixes #8974
# Conflicts:
#	flow-server/src/main/java/com/vaadin/flow/component/littemplate/LitTemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/IdCollector.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateInitializer.java
#	flow-server/src/test/java/com/vaadin/flow/component/polymertemplate/PolymerTemplateTest.java
#	flow-tests/test-root-context/frontend/AttributeTemplate.js
#	flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeView.java
#	flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeIT.java
caalador pushed a commit that referenced this pull request Feb 2, 2021
Read template attributes as properties

Fixes #8974
# Conflicts:
#	flow-server/src/main/java/com/vaadin/flow/component/littemplate/LitTemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/IdCollector.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateInitializer.java
#	flow-server/src/test/java/com/vaadin/flow/component/polymertemplate/PolymerTemplateTest.java
#	flow-tests/test-root-context/frontend/AttributeTemplate.js
#	flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeView.java
#	flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeIT.java
pleku pushed a commit that referenced this pull request Feb 2, 2021
Read template attributes as properties

Fixes #8974
# Conflicts:
#	flow-server/src/main/java/com/vaadin/flow/component/littemplate/LitTemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/IdCollector.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateDataAnalyzer.java
#	flow-server/src/main/java/com/vaadin/flow/component/polymertemplate/TemplateInitializer.java
#	flow-server/src/test/java/com/vaadin/flow/component/polymertemplate/PolymerTemplateTest.java
#	flow-tests/test-root-context/frontend/AttributeTemplate.js
#	flow-tests/test-root-context/src/main/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeView.java
#	flow-tests/test-root-context/src/test/java/com/vaadin/flow/uitest/ui/template/TemplateAttributeIT.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
OLD Vaadin Flow ongoing work (Vaadin ...
  
Done - pending release
Development

Successfully merging this pull request may close these issues.

Parse template initial attribute values as properties, not attributes
3 participants