Provide backward compatilibity with older ZSQLCatalog.
In older ZSQLCatalog versions (pre-r25706), values fetched via select_expression='catalog.simulation_state' were accessible on brain as "brain.simulation_state". In current catalog, this became "getattr(brain, 'catalog.simulation_state')" and hence broke compatibility somewhat. This patch fixes this problem by stripping table name from the generated alias. Note: the table name is only stripped from implicit aliases, never from explicit ones. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34685 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment