opengeo/geonode — pull request #9 by mpriour (2012-09-14 15:43:52+00:00)
Title: Layer source id for catalogue generated layers

The `createLayerRecord` method takes a config with a name that must be unique in the catalogue source store. Using that name and the catalogue source's id then you are guaranteed to have an informative and unique source id, even if you had multiple catalogue sources available to add layers from.

Also, if we choose to upgrade layer sources to a first class object in the geonode database, then this gets us far more informative names than an Ext.id generated id.