Program: 42449
Project: 42449
Buggy source:
public void testEditPage_2() throws Throwable {
  String selectedPageCode="String_Node_Str";
  String result=this.executeActionOnPage(selectedPageCode,"String_Node_Str","String_Node_Str",null);
  assertEquals(Action.SUCCESS,result);
  IPage page=this._pageManager.getDraftPage(selectedPageCode);
  PageAction action=(PageAction)this.getAction();
  assertEquals(action.getStrutsAction(),ApsAdminSystemConstants.EDIT);
  assertEquals(page.getCode(),action.getPageCode());
  assertEquals(page.getParentCode(),action.getParentPageCode());
  assertEquals(page.getModel().getCode(),action.getModel());
  assertEquals(page.getGroup(),action.getGroup());
  assertEquals(page.isShowable(),action.isShowable());
  assertEquals("String_Node_Str",action.getTitles().getProperty("String_Node_Str"));
  assertEquals("String_Node_Str",action.getTitles().getProperty("String_Node_Str"));
  Map<String,Map<String,PageMetatag>> metas=(Map<String,Map<String,PageMetatag>>)this.getRequest().getAttribute(PageActionAspect.PARAM_METATAGS);
  assertNotNull(metas);
  assertEquals(3,metas.size());
  Map<String,PageMetatag> engMetas=metas.get("String_Node_Str");
  assertNotNull(engMetas);
  assertEquals(6,engMetas.size());
  assertNull(engMetas.get("String_Node_Str").getValue());
  assertEquals("String_Node_Str",engMetas.get("String_Node_Str").getValue());
  String descriptionIt=(String)this.getRequest().getAttribute(PageActionAspect.PARAM_DESCRIPTION_PREFIX + "String_Node_Str");
  assertEquals("String_Node_Str",descriptionIt);
  Boolean useDefaultDescrIt=(Boolean)this.getRequest().getAttribute(PageActionAspect.PARAM_DESCRIPTION_USE_DEFAULT_PREFIX + "String_Node_Str");
  assertFalse(useDefaultDescrIt);
}

Fixed version (ground truth):
public void testEditPage_2() throws Throwable {
  String selectedPageCode="String_Node_Str";
  String result=this.executeActionOnPage(selectedPageCode,"String_Node_Str","String_Node_Str",null);
  assertEquals(Action.SUCCESS,result);
  IPage page=this._pageManager.getDraftPage(selectedPageCode);
  PageAction action=(PageAction)this.getAction();
  assertEquals(action.getStrutsAction(),ApsAdminSystemConstants.EDIT);
  assertEquals(page.getCode(),action.getPageCode());
  assertEquals(page.getParentCode(),action.getParentPageCode());
  assertEquals(page.getModel().getCode(),action.getModel());
  assertEquals(page.getGroup(),action.getGroup());
  assertEquals(page.isShowable(),action.isShowable());
  assertEquals("String_Node_Str",action.getTitles().getProperty("String_Node_Str"));
  assertEquals("String_Node_Str",action.getTitles().getProperty("String_Node_Str"));
  Map<String,Map<String,PageMetatag>> metas=(Map<String,Map<String,PageMetatag>>)this.getRequest().getAttribute(PageActionAspect.PARAM_METATAGS);
  assertNotNull(metas);
  assertEquals(3,metas.size());
  Map<String,PageMetatag> engMetas=metas.get("String_Node_Str");
  assertNotNull(engMetas);
  assertEquals(6,engMetas.size());
  assertNull(engMetas.get("String_Node_Str").getValue());
  assertEquals("String_Node_Str",engMetas.get("String_Node_Str").getValue());
  String descriptionIt=(String)this.getRequest().getAttribute(PageActionAspect.PARAM_DESCRIPTION_PREFIX + "String_Node_Str");
  assertEquals("String_Node_Str",descriptionIt);
  Boolean useDefaultDescrIt=(Boolean)this.getRequest().getAttribute(PageActionAspect.PARAM_DESCRIPTION_USE_DEFAULT_PREFIX + "String_Node_Str");
  assertFalse(useDefaultDescrIt);
  String keywordsEn=(String)this.getRequest().getAttribute(PageActionAspect.PARAM_KEYWORDS_PREFIX + "String_Node_Str");
  assertEquals("String_Node_Str",keywordsEn);
  Boolean useDefaultKeywordsEn=(Boolean)this.getRequest().getAttribute(PageActionAspect.PARAM_KEYWORDS_USE_DEFAULT_PREFIX + "String_Node_Str");
  assertTrue(useDefaultKeywordsEn);
}