Program: 61148
Project: 61148
Buggy source:
public Connectors(PageParameters parameters){
  super(parameters);
  add(createConnectorWin=new ModalWindow("String_Node_Str"));
  add(editConnectorWin=new ModalWindow("String_Node_Str"));
  feedbackPanel=new FeedbackPanel("String_Node_Str");
  feedbackPanel.setOutputMarkupId(true);
  add(feedbackPanel);
  paginatorRows=utility.getPaginatorRowsToDisplay(Constants.CONF_CONNECTORS_PAGINATOR_ROWS);
  List<IColumn> columns=new ArrayList<IColumn>();
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new AbstractColumn<ConnectorInstanceTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConnectorInstanceTO>> cellItem,    String componentId,    IModel<ConnectorInstanceTO> model){
      final ConnectorInstanceTO connectorTO=model.getObject();
      AjaxLink editLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          editConnectorWin.setPageCreator(new ModalWindow.PageCreator(){
            public Page createPage(){
              ConnectorsModalPage form=new ConnectorsModalPage(Connectors.this,editConnectorWin,connectorTO,false);
              return form;
            }
          }
);
          editConnectorWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  columns.add(new AbstractColumn<ConnectorInstanceTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConnectorInstanceTO>> cellItem,    String componentId,    IModel<ConnectorInstanceTO> model){
      final ConnectorInstanceTO connectorTO=model.getObject();
      AjaxLink deleteLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          if (!checkDeleteIsForbidden(connectorTO)) {
            restClient.deleteConnector(connectorTO.getId());
            info(getString("String_Node_Str"));
          }
 else           error(getString("String_Node_Str"));
          target.addComponent(container);
          target.addComponent(feedbackPanel);
        }
        @Override protected IAjaxCallDecorator getAjaxCallDecorator(){
          return new AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()){
            private static final long serialVersionUID=1L;
            @Override public CharSequence preDecorateScript(            CharSequence script){
              return "String_Node_Str" + getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ script+ "String_Node_Str";
            }
          }
;
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable table=new AjaxFallbackDefaultDataTable("String_Node_Str",columns,new ConnectorsProvider(),paginatorRows);
  container=new WebMarkupContainer("String_Node_Str");
  container.add(table);
  container.setOutputMarkupId(true);
  add(container);
  setWindowClosedCallback(createConnectorWin,container);
  setWindowClosedCallback(editConnectorWin,container);
  createConnectorWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConnectorWin.setPageMapName("String_Node_Str");
  createConnectorWin.setCookieName("String_Node_Str");
  editConnectorWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConnectorWin.setPageMapName("String_Node_Str");
  editConnectorWin.setCookieName("String_Node_Str");
  AjaxLink createConnectorLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    AjaxRequestTarget target){
      createConnectorWin.setPageCreator(new ModalWindow.PageCreator(){
        public Page createPage(){
          ConnectorsModalPage form=new ConnectorsModalPage(Connectors.this,editConnectorWin,new ConnectorInstanceTO(),true);
          return form;
        }
      }
);
      createConnectorWin.show(target);
    }
  }
;
  String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
  MetaDataRoleAuthorizationStrategy.authorize(createConnectorLink,ENABLE,allowedRoles);
  add(createConnectorLink);
  Form paginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),utility.paginatorRowsChooser());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    protected void onUpdate(    AjaxRequestTarget target){
      utility.updatePaginatorRows(Constants.CONF_CONNECTORS_PAGINATOR_ROWS,paginatorRows);
      table.setRowsPerPage(paginatorRows);
      target.addComponent(container);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
}

Fixed version (ground truth):
public Connectors(PageParameters parameters){
  super(parameters);
  add(createConnectorWin=new ModalWindow("String_Node_Str"));
  add(editConnectorWin=new ModalWindow("String_Node_Str"));
  feedbackPanel=new FeedbackPanel("String_Node_Str");
  feedbackPanel.setOutputMarkupId(true);
  add(feedbackPanel);
  paginatorRows=utility.getPaginatorRowsToDisplay(Constants.CONF_CONNECTORS_PAGINATOR_ROWS);
  List<IColumn> columns=new ArrayList<IColumn>();
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new PropertyColumn(new Model(getString("String_Node_Str")),"String_Node_Str","String_Node_Str"));
  columns.add(new AbstractColumn<ConnectorInstanceTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConnectorInstanceTO>> cellItem,    String componentId,    IModel<ConnectorInstanceTO> model){
      final ConnectorInstanceTO connectorTO=model.getObject();
      AjaxLink editLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          editConnectorWin.setPageCreator(new ModalWindow.PageCreator(){
            public Page createPage(){
              ConnectorsModalPage form=new ConnectorsModalPage(Connectors.this,editConnectorWin,connectorTO,false);
              return form;
            }
          }
);
          editConnectorWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  columns.add(new AbstractColumn<ConnectorInstanceTO>(new Model<String>(getString("String_Node_Str"))){
    public void populateItem(    Item<ICellPopulator<ConnectorInstanceTO>> cellItem,    String componentId,    IModel<ConnectorInstanceTO> model){
      final ConnectorInstanceTO connectorTO=model.getObject();
      AjaxLink deleteLink=new AjaxLink("String_Node_Str"){
        @Override public void onClick(        AjaxRequestTarget target){
          if (!checkDeleteIsForbidden(connectorTO)) {
            restClient.deleteConnector(connectorTO.getId());
            info(getString("String_Node_Str"));
          }
 else           error(getString("String_Node_Str"));
          target.addComponent(container);
          target.addComponent(feedbackPanel);
        }
        @Override protected IAjaxCallDecorator getAjaxCallDecorator(){
          return new AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()){
            private static final long serialVersionUID=1L;
            @Override public CharSequence preDecorateScript(            CharSequence script){
              return "String_Node_Str" + getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ script+ "String_Node_Str";
            }
          }
;
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,allowedRoles);
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable table=new AjaxFallbackDefaultDataTable("String_Node_Str",columns,new ConnectorsProvider(),paginatorRows);
  container=new WebMarkupContainer("String_Node_Str");
  container.add(table);
  container.setOutputMarkupId(true);
  add(container);
  setWindowClosedCallback(createConnectorWin,container);
  setWindowClosedCallback(editConnectorWin,container);
  createConnectorWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConnectorWin.setPageMapName("String_Node_Str");
  createConnectorWin.setCookieName("String_Node_Str");
  editConnectorWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConnectorWin.setPageMapName("String_Node_Str");
  editConnectorWin.setCookieName("String_Node_Str");
  AjaxLink createConnectorLink=new AjaxLink("String_Node_Str"){
    @Override public void onClick(    AjaxRequestTarget target){
      createConnectorWin.setPageCreator(new ModalWindow.PageCreator(){
        public Page createPage(){
          ConnectorsModalPage form=new ConnectorsModalPage(Connectors.this,editConnectorWin,new ConnectorInstanceTO(),true);
          return form;
        }
      }
);
      createConnectorWin.show(target);
    }
  }
;
  String allowedRoles=xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str");
  MetaDataRoleAuthorizationStrategy.authorize(createConnectorLink,ENABLE,allowedRoles);
  add(createConnectorLink);
  Form paginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),utility.paginatorRowsChooser());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    protected void onUpdate(    AjaxRequestTarget target){
      utility.updatePaginatorRows(Constants.CONF_CONNECTORS_PAGINATOR_ROWS,paginatorRows);
      table.setRowsPerPage(paginatorRows);
      target.addComponent(container);
    }
  }
);
  paginatorForm.add(rowsChooser);
  add(paginatorForm);
}