Make it possible to disable legacy Property.toString and related warning message #3475

Closed
vaadin-bot opened this Issue Feb 1, 2013 · 3 comments

Comments

Projects
None yet
1 participant
@vaadin-bot
Collaborator

vaadin-bot commented Feb 1, 2013

Originally by @Artur-


The toString() method in AbstractField and Label logs an error message and returns the property value in 7.0. The log message promises neither will happen in 7.1 anymore.


Imported from https://dev.vaadin.com/ issue #10916

@vaadin-bot

This comment has been minimized.

Show comment Hide comment
@vaadin-bot

vaadin-bot Apr 19, 2013

Collaborator

Originally by @Artur-


Review meeting decided this has the potential to break too much and should be reverted.

Collaborator

vaadin-bot commented Apr 19, 2013

Originally by @Artur-


Review meeting decided this has the potential to break too much and should be reverted.

@vaadin-bot

This comment has been minimized.

Show comment Hide comment
@vaadin-bot

vaadin-bot Apr 23, 2013

Collaborator

Originally by @Artur-


Decided to keep the current behavior for now to avoid breaking legacy code but to add a way to disable the feature and related log message.

Collaborator

vaadin-bot commented Apr 23, 2013

Originally by @Artur-


Decided to keep the current behavior for now to avoid breaking legacy code but to add a way to disable the feature and related log message.

@vaadin-bot

This comment has been minimized.

Show comment Hide comment
@vaadin-bot

vaadin-bot Apr 24, 2013

Collaborator

Originally by @Artur-


The init parameter "legacyPropertyToString" now controls the behavior of Property.toString for old Property implementations. A value of "true" or "warning" enables the legacy behavior, "false" disables it. If set to "warning" (the default) then a warning will be emitted when toString is called (like in 7.0).

Collaborator

vaadin-bot commented Apr 24, 2013

Originally by @Artur-


The init parameter "legacyPropertyToString" now controls the behavior of Property.toString for old Property implementations. A value of "true" or "warning" enables the legacy behavior, "false" disables it. If set to "warning" (the default) then a warning will be emitted when toString is called (like in 7.0).

@vaadin-bot vaadin-bot closed this Apr 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment