<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/jdbforms/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/jdbforms/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 23 Jan 2007 20:22:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jdbforms/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Security issue: WEB-INF directory can be exposed</title><link>https://sourceforge.net/p/jdbforms/bugs/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Folks,&lt;br /&gt;
a colleague of mine (Patrick Schönenberg from Zendas www.zendas.de) pointed out a possible security risk in dbforms 2.5: If you create a local web page with a modified form, files like WEB-INF/dbforms-config.xml can be exposed to any client without authentication. This is how you do it:&lt;br /&gt;
Create a local file test_dbform.htm with a form tag:&lt;br /&gt;
&amp;lt;form name="dbform" action="http://&amp;lt;&amp;lt;your-webapp&amp;gt;&amp;gt;/servlet/control" method="post"&amp;gt;&lt;br /&gt;
and a button &amp;lt;input type="hidden" name="fu_&amp;lt;&amp;lt;FORM-ID&amp;gt;&amp;gt;" value="/WEB-INF/dbforms-config.xml"/&amp;gt;&lt;br /&gt;
and a submit button will display the dbforms-config file- without authentication! Since this file (or others) in the WEB-INF directory contain sensitive information like connection passwords, this is a serious issue.&lt;/p&gt;
&lt;p&gt;I have corrected this behaviour with the attached webevent-class, but this only works in my installation. A more general solution would be feasible. Maybe this is already corrected in dbforms 2.6. &lt;/p&gt;
&lt;p&gt;Thank you for your attention, and please keep developing this great product!&lt;/p&gt;
&lt;p&gt;Daniel Quathamer&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Quathamer</dc:creator><pubDate>Tue, 23 Jan 2007 20:22:02 -0000</pubDate><guid>https://sourceforge.netbed1a2858e1500020e3cc704c6fe9631607c7943</guid></item><item><title>OutOfMemoryError</title><link>https://sourceforge.net/p/jdbforms/bugs/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am having problems with out of memory errors when&lt;br /&gt;
using the application that I have developed with&lt;br /&gt;
dbforms. After using the system for a few hours it&lt;br /&gt;
falls over with the error java.lang.OutOfMemoryError:&lt;br /&gt;
Java heap space. I have tried uping the initial and max&lt;br /&gt;
memory pool size in the tomcat config, now 128MB and&lt;br /&gt;
256MB which did improve things but I am still getting&lt;br /&gt;
the error.&lt;/p&gt;
&lt;p&gt;I was originally getting the error when I loaded the&lt;br /&gt;
full database (about 45000 records) and clicked on the&lt;br /&gt;
last record button on the form, uping the memory size&lt;br /&gt;
the first time solved this but made me wonder of&lt;br /&gt;
records where being released properly.&lt;/p&gt;
&lt;p&gt;Tomcat version 5.5.9&lt;br /&gt;
Java 1.5.0_02&lt;br /&gt;
DbForms 2.6 snapshot 20051105&lt;/p&gt;
&lt;p&gt;Steven&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sphawkins</dc:creator><pubDate>Thu, 17 Aug 2006 08:45:57 -0000</pubDate><guid>https://sourceforge.netbd31cfd0199ff5313a08cb9f10b1e86ce3c9a656</guid></item><item><title>Class not found using snapshot 20060405</title><link>https://sourceforge.net/p/jdbforms/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have tried to upgrade from 2.6 snapshot 20051105 to&lt;br /&gt;
the latest weekly build snapshot 20060405 but get the&lt;br /&gt;
following error&lt;/p&gt;
&lt;p&gt;java.lang.NoClassDefFoundError:&lt;br /&gt;
org.dbforms.taglib.StaticData&lt;/p&gt;
&lt;p&gt;I have copied all the depended jar files accross to&lt;br /&gt;
replace the existing ones and the dbforms.tld but as&lt;br /&gt;
sone as I start using the dbforms2.6-SNAPSHOT jar I get&lt;br /&gt;
the above error?&lt;/p&gt;
&lt;p&gt;Steven&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sphawkins</dc:creator><pubDate>Thu, 17 Aug 2006 08:29:23 -0000</pubDate><guid>https://sourceforge.nete20430aaee03d24622eefbe83da262d6b7802155</guid></item><item><title>sql count error</title><link>https://sourceforge.net/p/jdbforms/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When using a data access class to make a row count in a&lt;br /&gt;
list table it dosn´t work by a sql error (by example,&lt;br /&gt;
using&lt;br /&gt;
dtaAccessClass="dataaccess.DataSourceJDBCWithRowCount"&lt;br /&gt;
in dbforms-config.xml and &amp;lt;db:textFormat&lt;br /&gt;
contextVar="rsv_TABLE.attribute(ROWCOUNTALL)" /&amp;gt; )&lt;/p&gt;
&lt;p&gt;The sql is wrong formated at&lt;br /&gt;
org.dbforms.event.datalist.dao.DataSourceJDBC because&lt;br /&gt;
an "order by" sentence is at the end of the select&lt;br /&gt;
count(*). &lt;/p&gt;
&lt;p&gt;Proposed solution&lt;br /&gt;
-----------------&lt;/p&gt;
&lt;p&gt;I have deleted de "orderConstraint" and compliled&lt;br /&gt;
dbforms and it works.&lt;/p&gt;
&lt;p&gt;Class-&amp;gt; org.dbforms.event.datalist.dao.DataSourceJDBC&lt;br /&gt;
Method -&amp;gt; protected void open()&lt;/p&gt;
&lt;p&gt;Inside --- if(isCalcRowCount()) ---&lt;/p&gt;
&lt;p&gt;We change --- orderConstraint --- by  --- new&lt;br /&gt;
FieldValue[]{} ---&lt;/p&gt;
&lt;p&gt;Before&lt;br /&gt;
------&lt;/p&gt;
&lt;p&gt;....&lt;/p&gt;
&lt;p&gt;if(Util.isNull(whereClause)) {&lt;br /&gt;
String pquery = getTable().getSelectQuery(v,&lt;br /&gt;
filterConstraint, orderConstraint, sqlFilter,&lt;br /&gt;
Constants.COMPARE_NONE);&lt;br /&gt;
PreparedStatement pstmt =&lt;br /&gt;
connection.prepareStatement(pquery);&lt;/p&gt;
&lt;p&gt;....&lt;/p&gt;
&lt;p&gt;After&lt;br /&gt;
-------&lt;/p&gt;
&lt;p&gt;....&lt;/p&gt;
&lt;p&gt;if (Util.isNull(whereClause)) { &lt;br /&gt;
String pquery = getTable().getSelectQuery(v,&lt;br /&gt;
filterConstraint, new FieldValue[]{}, sqlFilter, &lt;/p&gt;
&lt;p&gt;Constants.COMPARE_NONE);&lt;br /&gt;
....&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jose Enrique</dc:creator><pubDate>Wed, 24 May 2006 16:28:15 -0000</pubDate><guid>https://sourceforge.netc57ebf7de8b30ffbf5a6078b635645314629883b</guid></item><item><title>Date Validation</title><link>https://sourceforge.net/p/jdbforms/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have setup the following date validation on a field&lt;br /&gt;
on my form:&lt;/p&gt;
&lt;p&gt;&amp;lt;field property="LETTER_SENT" depends="date"&amp;gt;&lt;br /&gt;
&amp;lt;msg name="date" key="Invalid date entered "&lt;br /&gt;
resource="false"/&amp;gt;&lt;br /&gt;
&amp;lt;var&amp;gt;&lt;br /&gt;
&amp;lt;var-name&amp;gt;datePatternStrict&amp;lt;/var-name&amp;gt;&lt;br /&gt;
&amp;lt;var-value&amp;gt;dd-MMM-yyyy&amp;lt;/var-value&amp;gt;&lt;br /&gt;
&amp;lt;/var&amp;gt;&lt;br /&gt;
&amp;lt;/field&amp;gt; &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;When I use one of the navigation buttons (next, last&lt;br /&gt;
etc) the field is validated correctly but if I use the&lt;br /&gt;
Update or Insert buttons valid dates are reported as&lt;br /&gt;
invalid?&lt;/p&gt;
&lt;p&gt;Also is there anyway of validating that a date is on or&lt;br /&gt;
before the date of entry.&lt;/p&gt;
&lt;p&gt;Steven&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sphawkins</dc:creator><pubDate>Thu, 17 Nov 2005 17:44:44 -0000</pubDate><guid>https://sourceforge.net92a06956b87a4217b85694b08e1d6e0396355308</guid></item><item><title>navigation with autoupdate=true</title><link>https://sourceforge.net/p/jdbforms/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A problem using datalist:&lt;br /&gt;
Set autoupdate attribute to true, make some changes to&lt;br /&gt;
a form, navigate to next, (an update is executed),&lt;br /&gt;
navigate to prev, at this point, you don't see the data&lt;br /&gt;
freshly inserted, but the old ones. It seems to me that&lt;br /&gt;
cached data isn't updated on executing update as a&lt;br /&gt;
secondary event. If Update is clicked the amended data&lt;br /&gt;
is dispayed.&lt;/p&gt;
&lt;p&gt;steven.hawkins@stedsbc.gov.uk&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 30 Aug 2005 15:55:29 -0000</pubDate><guid>https://sourceforge.netb08de35509bf5910d18bdba37175c219d21835cb</guid></item><item><title>devgui - mysql syntax...</title><link>https://sourceforge.net/p/jdbforms/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;: Retrieving metadata using the following properties&lt;br /&gt;
-----------------------------------------------------&lt;br /&gt;
jdbcDriver=com.mysql.jdbc.Driver&lt;br /&gt;
jdbcURL=jdbc:mysql://localhost/customer&lt;br /&gt;
username=root&lt;br /&gt;
password=(hidden)&lt;br /&gt;
catalog=customer&lt;br /&gt;
schemaPattern=null&lt;br /&gt;
tableNamePattern=null&lt;br /&gt;
Warning: Reading of auto-incremented columns&lt;/p&gt;
&lt;p&gt;failed with message&lt;br /&gt;
'You have an error in your SQL syntax; check the manual&lt;br /&gt;
that corresponds to your MySQL server version for the&lt;br /&gt;
right syntax to use near 'order LIKE 'order_id'' at&lt;br /&gt;
line 1'.&lt;br /&gt;
No reason to panic, just detection auf auto-incremented&lt;br /&gt;
columns will not work. However, better send a mail to&lt;br /&gt;
DbForms Mailing list to get this corrected&lt;br /&gt;
finished&lt;/p&gt;
&lt;p&gt;Tried this with both Stable and Weekly build using&lt;br /&gt;
table definitions in the user manual example for a&lt;br /&gt;
customer database.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Mysql 4.1.12 binary installation&lt;br /&gt;
Solaris 10&lt;br /&gt;
Java - j2sdk 1.4.2_08&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 10 Jun 2005 18:30:23 -0000</pubDate><guid>https://sourceforge.net5cc6bc0656e2c8e1479e52e22ef81ad35822c216</guid></item><item><title>imput is not a valid HTML tag</title><link>https://sourceforge.net/p/jdbforms/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;br /&gt;
There is a bug in dbforms2.5-SNAPSHOT (August 18), and&lt;br /&gt;
I have also seen it in dbforms2.4, where a form mad&lt;br /&gt;
will dbforms contains the following:&lt;br /&gt;
&amp;lt;imput type="hidden" name="country" value="US"/&amp;gt;&lt;/p&gt;
&lt;p&gt;imput is not a valig tag, should be input.&lt;/p&gt;&lt;/div&gt;</description><pubDate>Wed, 15 Sep 2004 10:30:30 -0000</pubDate><guid>https://sourceforge.netaa8725bc4a2022cdc6f6c99baeb972dc1352eccc</guid></item><item><title>validator-rules.xml (dbforms 2.3)</title><link>https://sourceforge.net/p/jdbforms/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Validator-rules.xml has several errors:&lt;/p&gt;
&lt;p&gt;1) &lt;br /&gt;
In the attribute  "methodParams" of the &lt;br /&gt;
element "validator", the last type should &lt;br /&gt;
be "org.dbforms.config.DbFormsErrors" instead &lt;br /&gt;
of "org.dbforms.DbFormsErrors", for all validators;&lt;/p&gt;
&lt;p&gt;2) &lt;br /&gt;
The javascript function of the "long" validator has 2 &lt;br /&gt;
errors: &lt;br /&gt;
2.1) The 5th line of the function should be "oLong = new &lt;br /&gt;
longValidations();" instead of "oLong = new &lt;br /&gt;
LongValidations();" (notice the upper case "L"); &lt;br /&gt;
2.2) In the for loop is used "oInteger" instead of "oLong".&lt;/p&gt;
&lt;p&gt;Joăo Pires (jgmp@mail.pt)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 01 Jun 2004 13:51:47 -0000</pubDate><guid>https://sourceforge.net3aedf5dd724341183d2dc3f52276ee44dacfeee3</guid></item><item><title>Locale Bug?</title><link>https://sourceforge.net/p/jdbforms/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a Web-Application with Locale-support (both &lt;br /&gt;
language und Country attributes are needed).&lt;/p&gt;
&lt;p&gt;But when your method "processLocale" creates a new &lt;br /&gt;
Locale-Object, only the language-Attribute is processed.&lt;/p&gt;
&lt;p&gt;What shall we do with our country-Attribute? &lt;br /&gt;
(e.g. "de_DE", "en_ZA")&lt;/p&gt;
&lt;p&gt;private void processLocale(HttpServletRequest request)&lt;br /&gt;
{&lt;br /&gt;
String loc = ParseUtil.getParameter(request, "lang");&lt;br /&gt;
if (!Util.isNull(loc)) {&lt;br /&gt;
Locale locale = new Locale(loc);&lt;br /&gt;
MessageResources.setLocale(request, locale);    &lt;br /&gt;
} else if (MessageResources.getLocale(request) == &lt;br /&gt;
null)&lt;br /&gt;
{&lt;br /&gt;
MessageResources.setLocale(request, &lt;br /&gt;
request.getLocale());&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Thanks from Germany&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chris</dc:creator><pubDate>Tue, 04 May 2004 09:38:43 -0000</pubDate><guid>https://sourceforge.net0cc7b752828563378393fc99b91478cc8be2e201</guid></item></channel></rss>