Support IPA
[gpl/argeo-suite.git] / org.argeo.app.ui / src / org / argeo / app / ui / people / PersonUiProvider.java
index 17dc29bd2c5d45b0bd7abc41e19f0cda1dfadb5f..6fa991d0dc89350c26df1f7c6b1e68fc62da67a3 100644 (file)
@@ -116,7 +116,10 @@ public class PersonUiProvider implements CmsUiProvider {
                EditableText text = new EditableText(parent, SWT.SINGLE | SWT.FLAT);
                text.setLayoutData(CmsSwtUtils.fillWidth());
                text.setStyle(SuiteStyle.simpleInput);
-               text.setText(context.attr(attr.qName()));
+               String txt = context.attr(attr.qName());
+               if (txt == null) // FIXME understand why email is not found in IPA
+                       txt = "";
+               text.setText(txt);
                text.setMouseListener(new MouseAdapter() {
 
                        @Override