manolo/gwt-api-generator

Polymer#saveProperties ruins Vaadin's connectorId handling

Closed this issue · 2 comments

In Vaadin the tkPid is used to store the connectorId on an element but this has been removed when the saveProperties method is called. If a layout phase is in progress around these elements then Vaadin is not able to retrieve the corresponding Connector which leads to exceptions.

A possible solution could be that the saveProperties ignores the tkPid as well which is anyway a "final" property.

Actually I think that hack is not necessary anymore because polymer already is saving and restoring values set previously to the initialisation. Have to double check though.

Would be cool, thanks for the quick reply!