Program: 139196
Project: 139196
Buggy source:
protected Section creatMetadataSection(final ScrolledForm form,Composite topComp){
  Section section=createSection(form,topComp,getMetadataTitle(),"String_Node_Str");
  Composite parent=toolkit.createComposite(section);
  parent.setLayout(new GridLayout(2,false));
  nameText=createMetadataTextFiled(NAME_LABEL,parent);
  nameText.setTextLimit(EmfHelper.getStringMaxSize(CorePackage.Literals.MODEL_ELEMENT__NAME,200));
  purposeText=createMetadataTextFiled(PURPOSE_LABEL,parent);
  purposeText.setTextLimit(TaggedValueHelper.getStringMaxSize(TaggedValueHelper.PURPOSE,200));
  toolkit.createLabel(parent,DESCRIPTION_LABEL);
  descriptionText=toolkit.createText(parent,null,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  GridDataFactory.fillDefaults().hint(META_FIELD_WIDTH,60).applyTo(descriptionText);
  descriptionText.setTextLimit(TaggedValueHelper.getStringMaxSize(TaggedValueHelper.DESCRIPTION,200));
  authorText=createMetadataTextFiled(AUTHOR_LABEL,parent);
  if (!isDefaultProject()) {
    authorText.setEnabled(false);
    authorText.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
  }
  toolkit.createLabel(parent,STATUS_LABEL);
  statusCombo=new CCombo(parent,SWT.BORDER);
  statusCombo.setEditable(false);
  String statusValue=DevelopmentStatus.DRAFT.getLiteral();
  TaggedValue taggedValue=TaggedValueHelper.getTaggedValue(TaggedValueHelper.DEV_STATUS,getCurrentModelElement(this.getEditor()).getTaggedValue());
  if (taggedValue != null) {
    statusValue=taggedValue.getValue();
  }
  List<org.talend.core.model.properties.Status> statusList=MetadataHelper.getTechnicalStatus();
  if (statusList != null && statusList.size() > 0) {
    List<String> statusArray=MetadataHelper.toArray(statusList);
    String[] tempString=new String[statusList.size()];
    statusCombo.setItems(statusArray.toArray(tempString));
    if (statusArray.contains(statusValue)) {
      statusCombo.remove(statusValue);
      statusCombo.add(statusValue,0);
    }
  }
 else {
    for (    DevelopmentStatus status : DevelopmentStatus.values()) {
      statusCombo.add(status.getLiteral());
    }
    statusCombo.add(statusValue,0);
  }
  initMetaTextFied();
  nameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  purposeText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  descriptionText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  authorText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  statusCombo.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  section.setClient(parent);
  return section;
}

Fixed version (ground truth):
protected Section creatMetadataSection(final ScrolledForm form,Composite topComp){
  Section section=createSection(form,topComp,getMetadataTitle(),"String_Node_Str");
  Composite parent=toolkit.createComposite(section);
  parent.setLayout(new GridLayout(2,false));
  nameText=createMetadataTextFiled(NAME_LABEL,parent);
  nameText.setTextLimit(EmfHelper.getStringMaxSize(CorePackage.Literals.MODEL_ELEMENT__NAME,200));
  purposeText=createMetadataTextFiled(PURPOSE_LABEL,parent);
  purposeText.setTextLimit(TaggedValueHelper.getStringMaxSize(TaggedValueHelper.PURPOSE,200));
  toolkit.createLabel(parent,DESCRIPTION_LABEL);
  descriptionText=toolkit.createText(parent,null,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  GridDataFactory.fillDefaults().hint(META_FIELD_WIDTH,60).applyTo(descriptionText);
  descriptionText.setTextLimit(TaggedValueHelper.getStringMaxSize(TaggedValueHelper.DESCRIPTION,200));
  authorText=createMetadataTextFiled(AUTHOR_LABEL,parent);
  if (!ReponsitoryContextBridge.isDefautProject()) {
    authorText.setEnabled(false);
    authorText.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
  }
  toolkit.createLabel(parent,STATUS_LABEL);
  statusCombo=new CCombo(parent,SWT.BORDER);
  statusCombo.setEditable(false);
  String statusValue=DevelopmentStatus.DRAFT.getLiteral();
  TaggedValue taggedValue=TaggedValueHelper.getTaggedValue(TaggedValueHelper.DEV_STATUS,getCurrentModelElement(this.getEditor()).getTaggedValue());
  if (taggedValue != null) {
    statusValue=taggedValue.getValue();
  }
  List<org.talend.core.model.properties.Status> statusList=MetadataHelper.getTechnicalStatus();
  if (statusList != null && statusList.size() > 0) {
    List<String> statusArray=MetadataHelper.toArray(statusList);
    String[] tempString=new String[statusList.size()];
    statusCombo.setItems(statusArray.toArray(tempString));
    if (statusArray.contains(statusValue)) {
      statusCombo.remove(statusValue);
      statusCombo.add(statusValue,0);
    }
  }
 else {
    for (    DevelopmentStatus status : DevelopmentStatus.values()) {
      statusCombo.add(status.getLiteral());
    }
    statusCombo.add(statusValue,0);
  }
  initMetaTextFied();
  nameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  purposeText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  descriptionText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  authorText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  statusCombo.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      setDirty(true);
    }
  }
);
  section.setClient(parent);
  return section;
}