fixup! fix middle name handling in Person.
Person.getTitle used to return first/last name properties when defined, as the title property was always dropped. This fixes nexedi/erp5@2155dbf5
Showing
-
Owner
@romain @kazuhiko This change seem to introduce a test failure https://nexedi.erp5.net/test_result_module/20160530-164D738F/224
I feel we are lacking a test like this one:
def test_PersonGetTitleDefined(self): p = self._makeOne(title="title") self.assertEqual("title", p.getTitle())
but please confirm this is expected behavior.
-
Owner
For reference, the test failure from previous message was addressed as 80c30ea0 and the
test_PersonGetTitleDefined
was added as 80c30ea0This change which gives priority to First Name and Last Name even when Title is set solves https://nexedi.erp5.net/bug_module/20160115-CD8FF4
Please register or sign in to comment