<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/ralasafe/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/ralasafe/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/ralasafe/bugs/</id><updated>2012-08-14T02:12:18Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>ralasafe 里的dbcp配置 会产生 dbcp那个连接断开的问题 是不是应该把这两个加上？？</title><link href="https://sourceforge.net/p/ralasafe/bugs/19/" rel="alternate"/><published>2012-08-14T02:12:18Z</published><updated>2012-08-14T02:12:18Z</updated><author><name>Hurry</name><uri>https://sourceforge.net/u/jpr1990/</uri></author><id>https://sourceforge.netf6c06c64e9c21352623f84fcdd1d8a0f3bb20327</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ralasafe 里的dbcp配置 会产生 dbcp那个连接断开的问题 是不是应该把这两个加上？？timeBetweenEvictionRunsMillis和minEvictableIdleTimeMillis&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>无效的列类型</title><link href="https://sourceforge.net/p/ralasafe/bugs/18/" rel="alternate"/><published>2012-05-31T12:10:17Z</published><updated>2012-05-31T12:10:17Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net96e07e16cec7785620502df21d752ae4bb0df42e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;报错内容：提交用户元数据的时候后台报“无效的列类型”错误。&lt;/p&gt;
&lt;p&gt;环境：weblogic 9.2 + oracle 10g&lt;/p&gt;
&lt;p&gt;原因：在提交元数据时，调用了UserCategoryManagerImpl.java 中的 addReservedUserCategory(Locale locale)方法，该方法中创建了UserCategory这个实例，但是没有设值UserCategory实例的file属性的值，所以默认为null。JavaBeanCoumnAdapter.java类中的setPreparedStatement设值UserCategory实例的file属性的值时，导致错误。&lt;/p&gt;
&lt;p&gt;解决方法：PstmtSetter.java中的ObjectPstmtSetter类的set增加值是否为null的判断，并对值为null的情况做特殊处理。&lt;br /&gt;
if(o == null){&lt;br /&gt;
pstmt.setObject(pstmtIndex,o,java.sql.Types.VARCHAR);&lt;br /&gt;
}else{&lt;br /&gt;
pstmt.setObject(pstmtIndex,o);&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>设置策略时选择固定列，作为值，类型为 integer，但保存后类型变为String了。</title><link href="https://sourceforge.net/p/ralasafe/bugs/17/" rel="alternate"/><published>2012-05-03T02:25:34Z</published><updated>2012-05-03T02:25:34Z</updated><author><name>jason</name><uri>https://sourceforge.net/u/beideman/</uri></author><id>https://sourceforge.netce108dc50177cca138f1b8cd40f00714b0ecb7a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;设置策略时选择固定列，作为值，类型为 integer，但保存后类型变为String了。&lt;/p&gt;
&lt;p&gt;前&lt;/p&gt;
&lt;p&gt;后，点编辑&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Business data test doesn't support for long datatype</title><link href="https://sourceforge.net/p/ralasafe/bugs/16/" rel="alternate"/><published>2012-05-01T03:55:19Z</published><updated>2012-05-01T03:55:19Z</updated><author><name>Julian Wong</name><uri>https://sourceforge.net/u/ralasafe/</uri></author><id>https://sourceforge.net511343940dccc4633adfff060a39bab4b8723202</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I make a biz category which policy contains a biz field is a long type.&lt;br /&gt;
Then I test it, input biz class name, click load, input "1" for this field's value. Then crack:&lt;/p&gt;
&lt;p&gt;org.ralasafe.RalasafeException: java.lang.IllegalArgumentException&lt;br /&gt;
at org.ralasafe.util.Util.setJavabeanAttribute(Util.java:493)&lt;br /&gt;
at org.ralasafe.servlet.AbstractTestAction.buildTestBusinessData(AbstractTestAction.java:55)&lt;br /&gt;
at org.ralasafe.servlet.AbstractPolicyTestAction.doPost(AbstractPolicyTestAction.java:94)&lt;br /&gt;
at org.ralasafe.servlet.RalasafeController.doPost(RalasafeController.java:157)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>获取序列没考虑并发问题</title><link href="https://sourceforge.net/p/ralasafe/bugs/15/" rel="alternate"/><published>2012-01-05T06:04:51Z</published><updated>2012-01-05T06:04:51Z</updated><author><name>David Xu</name><uri>https://sourceforge.net/u/xvweirong/</uri></author><id>https://sourceforge.net6783109d9366de986f70527bd2d0419a13d73028</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;详见论坛 &lt;a href="http://www.ralasafe.cn/rs-forum/bug-req-cn/%E6%B1%82%E8%A7%A3%EF%BC%8C%E9%9A%8F%E4%BE%BF%E7%9C%8B%E4%BA%86%E4%B8%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E8%8E%B7%E5%8F%96%E5%BA%8F%E5%88%97%E5%A5%BD%E5%83%8F%E6%B2%A1%E8%80%83%E8%99%91%E5%B9%B6%E5%8F%91/#p1633" rel="nofollow"&gt;http://www.ralasafe.cn/rs-forum/bug-req-cn/%E6%B1%82%E8%A7%A3%EF%BC%8C%E9%9A%8F%E4%BE%BF%E7%9C%8B%E4%BA%86%E4%B8%8B%E4%BB%A3%E7%A0%81%EF%BC%8C%E8%8E%B7%E5%8F%96%E5%BA%8F%E5%88%97%E5%A5%BD%E5%83%8F%E6%B2%A1%E8%80%83%E8%99%91%E5%B9%B6%E5%8F%91/#p1633&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NullPointException happens when I enter an invalid url</title><link href="https://sourceforge.net/p/ralasafe/bugs/14/" rel="alternate"/><published>2011-12-14T05:38:22Z</published><updated>2011-12-14T05:38:22Z</updated><author><name>Julian Wong</name><uri>https://sourceforge.net/u/ralasafe/</uri></author><id>https://sourceforge.net9c60f47ce1540756b7102a7225dfe6d6abbde7d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I should enter &lt;a href="http://localhost:8080/demo/ralasafe/designer.rls" rel="nofollow"&gt;http://localhost:8080/demo/ralasafe/designer.rls&lt;/a&gt; for ralasafe web console web page.&lt;br /&gt;
But I make a mistake enter &lt;a href="http://localhost:8080/demo/ralsafe/designer.rls." rel="nofollow"&gt;http://localhost:8080/demo/ralsafe/designer.rls.&lt;/a&gt; I only change ralasafe to ralasafe. It's very difficult to find out the mistake.&lt;/p&gt;
&lt;p&gt;I got an error page displays:&lt;br /&gt;
HTTP Status 500 - &lt;br /&gt;
oot cause&lt;/p&gt;
&lt;p&gt;java.lang.NullPointerException&lt;br /&gt;
java.lang.Class.forName0(Native Method)&lt;br /&gt;
java.lang.Class.forName(Class.java:164)&lt;br /&gt;
org.ralasafe.servlet.RalasafeController.getAction(RalasafeController.java:139)&lt;/p&gt;
&lt;p&gt;It would be wonderful if it tells me "an invalid url", so I will check my url again, instead of wondering if ralasafe bugs.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Privilege orderNum property is reset to zero</title><link href="https://sourceforge.net/p/ralasafe/bugs/13/" rel="alternate"/><published>2011-12-14T05:16:00Z</published><updated>2011-12-14T05:16:00Z</updated><author><name>Julian Wong</name><uri>https://sourceforge.net/u/ralasafe/</uri></author><id>https://sourceforge.netd99561ae38843833cf3af53f0e03416fa16e75c0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I modify a privilege information, the orderNum property of privilege is reset to zero. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can't add query variable when designing policies</title><link href="https://sourceforge.net/p/ralasafe/bugs/12/" rel="alternate"/><published>2011-11-10T10:34:44Z</published><updated>2011-11-10T10:34:44Z</updated><author><name>Julian Wong</name><uri>https://sourceforge.net/u/ralasafe/</uri></author><id>https://sourceforge.net7c146e512735b594dc1c4465d8239e8deb535447</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I am designing business data policy, when I select "query" as variable type. The drop menu is blank, no queries are displayed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>No order by effect when I'm using manual sql</title><link href="https://sourceforge.net/p/ralasafe/bugs/11/" rel="alternate"/><published>2011-11-08T10:07:15Z</published><updated>2011-11-08T10:07:15Z</updated><author><name>Julian Wong</name><uri>https://sourceforge.net/u/ralasafe/</uri></author><id>https://sourceforge.netb1e1be9c83082981d795fb5e409777eed8b9ed0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I customized a query, and input sql manually.&lt;br /&gt;
When I add CustomizedWhere to query it, the customized order by doesn't effect.&lt;/p&gt;
&lt;p&gt;Some code goes by:&lt;br /&gt;
CustomizedWhere where = new CustomizedWhere();&lt;br /&gt;
Collection list = WebRalasafe.query(request, Constants.XMGL_QUERY_PRE_SALE,where);&lt;/p&gt;
&lt;p&gt;Read this post for details: &lt;a href="http://www.ralasafe.cn/rs-forum/questions-cn/ralasafe-v1-2%E7%89%88%E4%B8%AD%EF%BC%8Ccustomizedwhere%E7%9A%84%E6%8E%92%E5%BA%8F%E9%97%AE%E9%A2%98/" rel="nofollow"&gt;http://www.ralasafe.cn/rs-forum/questions-cn/ralasafe-v1-2%E7%89%88%E4%B8%AD%EF%BC%8Ccustomizedwhere%E7%9A%84%E6%8E%92%E5%BA%8F%E9%97%AE%E9%A2%98/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>多次上传元数据导致新增字段显示为null</title><link href="https://sourceforge.net/p/ralasafe/bugs/10/" rel="alternate"/><published>2011-10-19T08:36:40Z</published><updated>2011-10-19T08:36:40Z</updated><author><name>天地有雪</name><uri>https://sourceforge.net/u/wzg1101/</uri></author><id>https://sourceforge.net607141024487b420337ec474737e1f87e481fc43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;模拟场景：&lt;br /&gt;
1.在数据库中创建userview视图，修改附件中的xml，去掉公司名称和部门编码&lt;br /&gt;
2.进入“用户元数据”，上传xml文件&lt;br /&gt;
3.在元数据列表中删除配置文件信息&lt;br /&gt;
4.编辑xml文件，添加公司名称和部门编码，再次上传&lt;br /&gt;
5.在“给用户分配角色”中，公司名称和部门编码显示为null&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>