Commit Graph
7 Commits
Author SHA1 Message Date
Xavier Morel db4d08e3a9 [FIX] Extension of controller in-place with explicit spec of same _cp_path
When extending a controller in-place (e.g. A(Controller), B(A)) and
providing the exact same _cp_path as parent (no-op) execution path
would go into handler for _cp_path overwriting and raise an assertion
error for overwriting of existing controller.

Except this is allowed (if ugly) pattern, so warn & ignore behavior
(it is harmless).

bzr revid: xmo@openerp.com-20130418092405-wrmmrd648b9koefu
2013-04-18 11:24:05 +02:00
Xavier Morel 3df2a146cd [FIX] logging capture when testing embedded in server, handler hooks are more complex than through oe
bzr revid: xmo@openerp.com-20130403135849-ufnn2a1hdu938p7p
2013-04-03 15:58:49 +02:00
Xavier Morel ebc1cb227d [IMP] make logger not propagate when captured
bzr revid: xmo@openerp.com-20130403123442-p96cj73lwtxa2sek
2013-04-03 14:34:42 +02:00
Xavier Morel cfcda2b032 [IMP] reduce scope of captured logger
bzr revid: xmo@openerp.com-20130403121039-qdq6tz012uc7lgdh
2013-04-03 14:10:39 +02:00
Xavier Morel 1f421e7928 [FIX] redefinition and in-place extension scenarios for controllers
bzr revid: xmo@openerp.com-20130402143217-pfe2288iodw9r81g
2013-04-02 16:32:17 +02:00
Xavier Morel 23904b523a [TEST] test normal inheritance of controllers
bzr revid: xmo@openerp.com-20130329141645-m70aitx3kv74yo97
2013-03-29 15:16:45 +01:00
Xavier Morel 17eaf9e92a [TESTS] add dispatcher tests
bzr revid: xmo@openerp.com-20130329140329-a78lqt87str80v99
2013-03-29 15:03:29 +01:00