You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue occurs when generates code for vaadin-time-picker:
Behavior 1:
when i am using only "vaadin-time-picker": "1.0.0-beta1" in the bower.json, we will get two generated java files successfully, in the GeneratedVaadinTimePickerTextField.java file, we can see the signature:
public abstract class GeneratedVaadinTimePickerTextField<R extends GeneratedVaadinTimePickerTextField<R, T>, T>
extends AbstractSinglePropertyField<R, T> implements HasStyle {
Behavior 2:
if i am adding "vaadin-time-picker": "1.0.0-beta1" to bower.json with updated webcomponent version (will list the bower file next), we will get a compilation failure on the generation, the signature of GeneratedVaadinTimePickerTextField.java is
public abstract class GeneratedVaadinTimePickerTextField<R extends GeneratedVaadinTimePickerTextField<R>>
extends GeneratedVaadinTextField<R> implements HasStyle {
and there is not import for the GeneratedVaadinTextField and the usage is wrong because the parent should take two parameters like GeneratedVaadinTextField<R, T>
further investigation on the next thread
The text was updated successfully, but these errors were encountered:
some investigations:
in the 2nd case, the webcomponent-api-analyzer cannot provide a correct .json file for the vaadin-time-picker-text-field and from the log, it shows
Element: vaadin-time-picker-text-field baseUrl: vaadin-time-picker/src/vaadin-time-picker-text-field.html extends: Vaadin.TextFieldElement, template: false
[INFO] behaviors:
[INFO] kinds: class,element,polymer-element
[INFO] identifiers: Vaadin.TimePickerTextFieldElement,vaadin-time-picker-text-field
[INFO] mixins:
[INFO] Generating JSON for vaadin-time-picker-text-field
[INFO] Wrote 0 properties out of 23
[INFO] Wrote 0 methods out of 22
[INFO] Wrote 0 events out of 1
when there is only one dependency, the parentClassDate returns undefined. After add vaadin-text-field dependency to bower.json, it returns vaadin-text-field.
This issue occurs when generates code for
vaadin-time-picker
:Behavior 1:
when i am using only
"vaadin-time-picker": "1.0.0-beta1"
in the bower.json, we will get two generated java files successfully, in theGeneratedVaadinTimePickerTextField.java
file, we can see the signature:Behavior 2:
if i am adding
"vaadin-time-picker": "1.0.0-beta1"
to bower.json with updated webcomponent version (will list the bower file next), we will get a compilation failure on the generation, the signature ofGeneratedVaadinTimePickerTextField.java
isand there is not import for the
GeneratedVaadinTextField
and the usage is wrong because the parent should take two parameters likeGeneratedVaadinTextField<R, T>
further investigation on the next thread
The text was updated successfully, but these errors were encountered: