geoext/geoext2 — pull request #33 by adube (2012-05-07 18:40:33+00:00)
Title: fix - GeoExt.panel.Map getState no longer uses addPropertyToState

GeoExt.panel.Map -> the initialisation of 'zoom', 'center' & 'extent' are now outside of the 'config' property (de0b64befaf9067774a84f100b3d9348c1b63fb6). The tests now fails because of the use of the addPropertyToState method (3c5e15ef7133847c578b9ac9c13115e6eb6a26fd).

Basically, in GeoExt 1.x, the getState method returned a static hash of map panel and map properties. Since the addPropertyToState checks if a property as the same value in its initialConfig property, setting it to the same default value again fails and the property is not set.

This patch fixes the issue.