beangle / beangle3

Agile Java Development Scaffold and Toolkit
GNU Lesser General Public License v3.0
20 stars 12 forks source link

getEntity会报错 #163

Closed computerkwwl closed 10 years ago

computerkwwl commented 11 years ago

错误现象:当Bean中有boolean类型时,会报错。 具体如下:

  1. 调用时的代码: Course course = getEntity(Course.class, "course");
  2. 报错的位置,在ConvertPopulatorBean的“public Object populate(Object entity, EntityType type, Map<String, Object> params)”中: copyValue(entity, attr, value);
  3. 上面语句,在Debug中的信息: entity=CourseBean attr=enabled value=null
duantihua commented 10 years ago

已经修复请使用3.4.x