Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用JavaBean生成Condition对象时,如果使用匹配属性的正则表达式时,会将NutEntity中的fields属性改变 #1016

Closed
wendal opened this issue Feb 5, 2016 · 0 comments
Assignees
Milestone

Comments

@wendal
Copy link
Member

wendal commented Feb 5, 2016

Daos.filterFields 方法 612行 it.remove();
使用JavaBean生成Condition对象时,如果使用匹配属性的正则表达式时,会将NutEntity中的fields属性改变。导致此NutEntity实例无法正常装载数据。对于这些IOC等缓存的基础对象数据在get的时候应该clone一份给调用者使用。说错勿怪,如使用方法错误,请帮助纠正。

http://nutz.cn/yvr/t/4ttf4vm0e2h6tpka3qlo9ktsa3

@wendal wendal added this to the 1.r.55 milestone Feb 5, 2016
@wendal wendal self-assigned this Feb 5, 2016
@wendal wendal closed this as completed in a33da10 Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant