Program: 60662
Project: 60662
Buggy source:
private final void setupSyncopeConf(){
  confPaginatorRows=prefMan.getPaginatorRows(getRequest(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> confColumns=new ArrayList<IColumn>();
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink editLink=new IndicatingAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            private static final long serialVersionUID=-7834632442532690940L;
            @Override public Page createPage(){
              return new ConfigurationModalPage(Configuration.this.getPageReference(),editConfigWin,configurationTO,false);
            }
          }
);
          editConfigWin.show(target);
        }
      }
;
      EditLinkPanel panel=new EditLinkPanel(componentId,model);
      panel.add(editLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      AjaxLink deleteLink=new IndicatingDeleteOnConfirmAjaxLink("String_Node_Str"){
        private static final long serialVersionUID=-7978723352517770644L;
        @Override public void onClick(        final AjaxRequestTarget target){
          try {
            confRestClient.deleteConfiguration(configurationTO.getKey());
          }
 catch (          SyncopeClientCompositeErrorException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.add(feedbackPanel);
          target.add(confContainer);
        }
      }
;
      DeleteLinkPanel panel=new DeleteLinkPanel(componentId,model);
      panel.add(deleteLink);
      MetaDataRoleAuthorizationStrategy.authorize(panel,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable confTable=new AjaxFallbackDefaultDataTable("String_Node_Str",confColumns,new SyncopeConfProvider(),confPaginatorRows);
  confContainer=new WebMarkupContainer("String_Node_Str");
  confContainer.add(confTable);
  confContainer.setOutputMarkupId(true);
  add(confContainer);
  createConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConfigWin.setInitialHeight(CONFIG_WIN_HEIGHT);
  createConfigWin.setInitialWidth(CONFIG_WIN_WIDTH);
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(CONFIG_WIN_HEIGHT);
  editConfigWin.setInitialWidth(CONFIG_WIN_WIDTH);
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,confContainer);
  setWindowClosedCallback(editConfigWin,confContainer);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    private static final long serialVersionUID=-7978723352517770644L;
    @Override public void onClick(    final AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        private static final long serialVersionUID=-7834632442532690940L;
        @Override public Page createPage(){
          return new ConfigurationModalPage(Configuration.this.getPageReference(),createConfigWin,new ConfigurationTO(),true);
        }
      }
);
      createConfigWin.show(target);
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(createConfigurationLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(createConfigurationLink);
  Link dbExportLink=new Link<Void>("String_Node_Str"){
    private static final long serialVersionUID=-4331619903296515985L;
    @Override public void onClick(){
      StringResourceStream stream=new StringResourceStream(confRestClient.dbContentAsXml(),"String_Node_Str");
      getRequestCycle().scheduleRequestHandlerAfterCurrent(new ResourceStreamRequestHandler(stream).setFileName("String_Node_Str").setContentDisposition(ContentDisposition.ATTACHMENT));
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(dbExportLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(dbExportLink);
  Form confPaginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),prefMan.getPaginatorChoices());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    private static final long serialVersionUID=-1107858522700306810L;
    @Override protected void onUpdate(    final AjaxRequestTarget target){
      prefMan.set(getRequest(),getResponse(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS,String.valueOf(confPaginatorRows));
      confTable.setItemsPerPage(confPaginatorRows);
      target.add(confContainer);
    }
  }
);
  confPaginatorForm.add(rowsChooser);
  add(confPaginatorForm);
}

Fixed version (ground truth):
private void setupSyncopeConf(){
  confPaginatorRows=prefMan.getPaginatorRows(getRequest(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS);
  List<IColumn> confColumns=new ArrayList<IColumn>();
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new PropertyColumn(new ResourceModel("String_Node_Str"),"String_Node_Str","String_Node_Str"));
  confColumns.add(new AbstractColumn<ConfigurationTO>(new ResourceModel("String_Node_Str","String_Node_Str")){
    private static final long serialVersionUID=2054811145491901166L;
    @Override public String getCssClass(){
      return "String_Node_Str";
    }
    @Override public void populateItem(    final Item<ICellPopulator<ConfigurationTO>> cellItem,    final String componentId,    final IModel<ConfigurationTO> model){
      final ConfigurationTO configurationTO=model.getObject();
      final ActionLinksPanel panel=new ActionLinksPanel(componentId,model);
      panel.add(new ActionLink(){
        private static final long serialVersionUID=-3722207913631435501L;
        @Override public void onClick(        final AjaxRequestTarget target){
          editConfigWin.setPageCreator(new ModalWindow.PageCreator(){
            private static final long serialVersionUID=-7834632442532690940L;
            @Override public Page createPage(){
              return new ConfigurationModalPage(Configuration.this.getPageReference(),editConfigWin,configurationTO,false);
            }
          }
);
          editConfigWin.show(target);
        }
      }
,ActionLink.ActionType.EDIT,"String_Node_Str","String_Node_Str");
      panel.add(new ActionLink(){
        private static final long serialVersionUID=-3722207913631435501L;
        @Override public void onClick(        final AjaxRequestTarget target){
          try {
            confRestClient.deleteConfiguration(configurationTO.getKey());
          }
 catch (          SyncopeClientCompositeErrorException e) {
            LOG.error("String_Node_Str",e);
            error(e.getMessage());
            return;
          }
          info(getString("String_Node_Str"));
          target.add(feedbackPanel);
          target.add(confContainer);
        }
      }
,ActionLink.ActionType.DELETE,"String_Node_Str","String_Node_Str");
      cellItem.add(panel);
    }
  }
);
  final AjaxFallbackDefaultDataTable confTable=new AjaxFallbackDefaultDataTable("String_Node_Str",confColumns,new SyncopeConfProvider(),confPaginatorRows);
  confContainer=new WebMarkupContainer("String_Node_Str");
  confContainer.add(confTable);
  confContainer.setOutputMarkupId(true);
  add(confContainer);
  createConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  createConfigWin.setInitialHeight(CONFIG_WIN_HEIGHT);
  createConfigWin.setInitialWidth(CONFIG_WIN_WIDTH);
  createConfigWin.setCookieName("String_Node_Str");
  editConfigWin.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
  editConfigWin.setInitialHeight(CONFIG_WIN_HEIGHT);
  editConfigWin.setInitialWidth(CONFIG_WIN_WIDTH);
  editConfigWin.setCookieName("String_Node_Str");
  setWindowClosedCallback(createConfigWin,confContainer);
  setWindowClosedCallback(editConfigWin,confContainer);
  AjaxLink createConfigurationLink=new AjaxLink("String_Node_Str"){
    private static final long serialVersionUID=-7978723352517770644L;
    @Override public void onClick(    final AjaxRequestTarget target){
      createConfigWin.setPageCreator(new ModalWindow.PageCreator(){
        private static final long serialVersionUID=-7834632442532690940L;
        @Override public Page createPage(){
          return new ConfigurationModalPage(Configuration.this.getPageReference(),createConfigWin,new ConfigurationTO(),true);
        }
      }
);
      createConfigWin.show(target);
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(createConfigurationLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(createConfigurationLink);
  Link dbExportLink=new Link<Void>("String_Node_Str"){
    private static final long serialVersionUID=-4331619903296515985L;
    @Override public void onClick(){
      StringResourceStream stream=new StringResourceStream(confRestClient.dbContentAsXml(),"String_Node_Str");
      getRequestCycle().scheduleRequestHandlerAfterCurrent(new ResourceStreamRequestHandler(stream).setFileName("String_Node_Str").setContentDisposition(ContentDisposition.ATTACHMENT));
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(dbExportLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(dbExportLink);
  Form confPaginatorForm=new Form("String_Node_Str");
  final DropDownChoice rowsChooser=new DropDownChoice("String_Node_Str",new PropertyModel(this,"String_Node_Str"),prefMan.getPaginatorChoices());
  rowsChooser.add(new AjaxFormComponentUpdatingBehavior("String_Node_Str"){
    private static final long serialVersionUID=-1107858522700306810L;
    @Override protected void onUpdate(    final AjaxRequestTarget target){
      prefMan.set(getRequest(),getResponse(),Constants.PREF_CONFIGURATION_PAGINATOR_ROWS,String.valueOf(confPaginatorRows));
      confTable.setItemsPerPage(confPaginatorRows);
      target.add(confContainer);
    }
  }
);
  confPaginatorForm.add(rowsChooser);
  add(confPaginatorForm);
}