Thursday, December 16, 2010

Spring Roo เวอร์ชั่น 1.1.0 Release มีบั๊กนะ

สำหรับการ save ข้อมูลภาษาอื่นๆ ที่ไม่ใช่ภาษาอังกฤษ เวอร์ชั่น 1.1.0 Release ของ spring roo มีบั๊กอันตรายมาก

อาการ: save ข้อมูลลง database ไม่ตรงกับข้อความที่กรอกไป
สาเหตุ: การเ้ข้ารหัสผิด รวมถึงลำดับของ การ config ใน web.xml ก็มีผล (เพิ่งรู้เลย)

วิธีแก้ (https://jira.springframework.org/browse/ROO-1684)


Stefan Schmidt added a comment - 24/Nov/10 6:36 AM
With commit 2f373ffa30c5ceeccd53a9d21e64f6c0006d1d6e the following changes were made:
Filter mappings are now installed in the following sequence:
1. CharacterEncodingFilter
2. HttpMethodFilter
(3. springSecurityFilterChain)
4. OpenEntityManagerInViewFilter
default.jspx contains a pageEncoding page directive:
persistence.xml now contains: if Hibernate is selected.
It would be great if I can get some feedback so we can close this ticket.

No comments: