<?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/web-cat/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/web-cat/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 01 Dec 2012 16:22:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/web-cat/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Comments do not appear in Chrome</title><link>https://sourceforge.net/p/web-cat/bugs/99/</link><description>When using Chrome \(v. 23\), the comments for the students do not appear.  There is just the icon \(error, warning, etc.\) but no text and no points.  This happens in the grading view and in the student view and has been experienced on multiple computers under Windows and Linux \(I think\).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 01 Dec 2012 16:22:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb5077b167e5cdce56afa37f31bfb172e6a7969f9</guid></item><item><title>org.webcat.diff.Differ runs into infinite loop</title><link>https://sourceforge.net/p/web-cat/bugs/98/</link><description>The Method org.webcat.diff.Differ.getDifferences hangs up when runing the following code:

String\[\] a= new String\[\] \{ "1","2","3","1","2","4","1" \};
String\[\] b= new String\[\] \{ "0","2","3","0","2","4","0" \};		
Differ&amp;lt;String&amp;gt; differ= new Differ&amp;lt;String&amp;gt;\(a, b\);

Suggested fix in class Differ:

private List&amp;lt;T&amp;gt;\[\] halfMatchI\(List&amp;lt;T&amp;gt; longtext, List&amp;lt;T&amp;gt; shorttext, int i\)
\{
// Start with a 1/4 length subList at position i as a seed.
List&amp;lt;T&amp;gt; seed = longtext.subList\(i, i + longtext.size\(\) / 4\);
int j = -1;
List&amp;lt;T&amp;gt; best\_common = new ArrayList&amp;lt;T&amp;gt;\(\);
List&amp;lt;T&amp;gt; best\_longtext\_a = new ArrayList&amp;lt;T&amp;gt;\(\);
List&amp;lt;T&amp;gt; best\_longtext\_b = new ArrayList&amp;lt;T&amp;gt;\(\);
List&amp;lt;T&amp;gt; best\_shorttext\_a = new ArrayList&amp;lt;T&amp;gt;\(\);
List&amp;lt;T&amp;gt; best\_shorttext\_b = new ArrayList&amp;lt;T&amp;gt;\(\);
int oldj= j;
while \(\(j = listIndexOf\(shorttext, seed, j + 1\)\) \!= -1\)
\{
	if \(oldj \!= -1\) j+=oldj+1;
int prefixLength = findCommonPrefix\(longtext.subList\(i, longtext.size\(\)\),
shorttext.subList\(j, shorttext.size\(\)\)\);
int suffixLength = findCommonSuffix\(longtext.subList\(0, i\),
shorttext.subList\(0, j\)\);
if \(best\_common.size\(\) &amp;lt; suffixLength + prefixLength\)
\{
best\_common = addLists\(shorttext.subList\(j - suffixLength, j\),
shorttext.subList\(j, j + prefixLength\)\);
best\_longtext\_a = longtext.subList\(0, i - suffixLength\);
best\_longtext\_b = longtext.subList\(i + prefixLength, longtext.size\(\)\);
best\_shorttext\_a = shorttext.subList\(0, j - suffixLength\);
best\_shorttext\_b = shorttext.subList\(j + prefixLength, shorttext.size\(\)\);
\}
oldj= j;
\}
if \(best\_common.size\(\) \* 2 &amp;gt;= longtext.size\(\)\)
\{
return new List\[\] \{ best\_longtext\_a, best\_longtext\_b,
best\_shorttext\_a, best\_shorttext\_b, best\_common \};
\}
else
\{
return null;
\}
\}
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Garmann</dc:creator><pubDate>Mon, 05 Nov 2012 23:34:17 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcdd52f5c1a48aff19e3493ee11874af27b5e10c1</guid></item><item><title>Erroneous ReflectionSupport.canAutoBoxFromActualToFormal</title><link>https://sourceforge.net/p/web-cat/bugs/97/</link><description>The static method ReflectionSupport.canAutoBoxFromActualToFormal delivers wrong results. As a consequence the method public static &amp;lt;T&amp;gt; T create\(Class&amp;lt;T&amp;gt; returnType, Object ... params\)  fails.

Example: class with two constructors:
public class X \{ 
public X\(int i\) \{ ... \}
public X\(double d\) \{ ... \}
\}

ReflectionSupport.create\(X.class, 5.2\);

The create call internally searches for a matching constructor. The method  public static Constructor&amp;lt;?&amp;gt; getMatchingConstructor\(Class&amp;lt;?&amp;gt; c, Class&amp;lt;?&amp;gt; ... params\)  may deliver the first constructor, because canAutoBoxFromActualToFormal\(Double.class, int.class\) returns true. The first constructor receives a newInstance call, which fails \(java.lang.IllegalArgumentException: argument type mismatch\).

Suggested fix:
public static boolean canAutoBoxFromActualToFormal\(
Class&amp;lt;?&amp;gt; actual, Class&amp;lt;?&amp;gt; formal\)
\{
	return
\( \( formal.equals\(byte.class\)
&amp;&amp; actual.equals\(Byte.class\) \)
||\( formal.equals\(short.class\)
&amp;&amp; Short.class.isAssignableFrom\(actual\) \)
||\( formal.equals\(int.class\)
&amp;&amp; Integer.class.isAssignableFrom\(actual\) \)
||\( formal.equals\(long.class\)
&amp;&amp; Long.class.isAssignableFrom\(actual\) \)
||\( formal.equals\(float.class\)
&amp;&amp; Float.class.isAssignableFrom\(actual\) \)
||\( formal.equals\(double.class\)
&amp;&amp; Double.class.isAssignableFrom\(actual\) \)
||\( formal.equals\(boolean.class\)
&amp;&amp; actual.equals\(Boolean.class\) \)
||\( formal.equals\(char.class\)
&amp;&amp; actual.equals\(Character.class\) \)\);
\}
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Garmann</dc:creator><pubDate>Wed, 02 May 2012 22:26:10 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net98822273fa2786f6a98cbb4740d05d9cb28ccd45</guid></item><item><title>Hover/Dropdowns are problematic</title><link>https://sourceforge.net/p/web-cat/bugs/96/</link><description>The dropdown buttons currently only require a hover to open, this also means that they only require a hover elsewhere to close. This is a crime \(but we love y'all for making web-cat, you ROCK\!\). I'll skip all the usual reasons and go to a worst case:

say i have many assignments \(this is actually happening to me right now\) so many that the dropbown stretches off my screen. so i hover over the assignments thing at the top and down pops the list of assignments, so i scroll down and my cursor ends up exiting the bottom of the list \(how can I know how many there will be while scrolling \[i have to keep my cursor near the top of the screen and scroll "slowly"\]\) which results in the drop down closing, so i have to scroll back up to make it pop up, but what i want is now back oof the bottom of the screen again...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Stewart</dc:creator><pubDate>Thu, 26 Apr 2012 13:23:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9e19cdb646663a2e75ed35fa412d34ec1722bae8</guid></item><item><title>Unlabelled web interface buttons </title><link>https://sourceforge.net/p/web-cat/bugs/95/</link><description>I've downloaded webcat v1.5.0/2.6.10.20120328.  Installed in tomcat6/ubuntu 10.10.

I've tried accessing the configured webcat service via IE8, firefox 9, opera and google chrome.

All render the buttons without labels.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gholder</dc:creator><pubDate>Thu, 19 Apr 2012 20:40:20 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd65c70e89ac746ab9e86e1f1e8abc1d4c738df80</guid></item><item><title>cannot copy multiple lines of code</title><link>https://sourceforge.net/p/web-cat/bugs/94/</link><description>if i view the students code, i cannot copy multiple lines out. also when i copy i get line number, never what i would want.

conside using something like \(or exactly?\) pastebin's display: http://pastebin.com/VJCcXC8n \(looks like the make separate lis in an ol.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Stewart</dc:creator><pubDate>Thu, 19 Apr 2012 02:01:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb34af2f7cc07337afd25bcb5a5dd34a4d5ff273a</guid></item><item><title>LDAP integration TLS error</title><link>https://sourceforge.net/p/web-cat/bugs/93/</link><description>Hello,
I am trying to do ldap authentication for login into WebCAT. Its giving the following error in the tomcat output

ERROR \[http-8080-1\] LdapAuthenticator: authentication failure:
javax.naming.AuthenticationNotSupportedException: \[LDAP: error code 13 - TLS confidentiality required\]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode\(LdapCtx.java:3078\)


From the same machine ldapsearch is working using -ZZ option for TLS. Our LDAP server does not work without TLS. Need help as early as possible
Thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 12 Apr 2012 17:00:05 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net65e2135f1cfe78daf965a2b12d7712fbd3ed8fcd</guid></item><item><title>Instructor home page view assignments</title><link>https://sourceforge.net/p/web-cat/bugs/92/</link><description>When viewing the Home on Web-CAT \(as Staff\), after creating future assignments \(not yet available for submission\), neither the "Assignments Accepting Submissions in your course" nor "Other upcoming assignment deadlines" show those future assignments.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Buffardi</dc:creator><pubDate>Wed, 18 Jan 2012 18:29:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netba90a30591e5211d83c281268044d1806e37d94f</guid></item><item><title>CxxTest Eclipse plugin missing libbfd</title><link>https://sourceforge.net/p/web-cat/bugs/91/</link><description>When starting Eclipse Indigo I always receive the following CxxTest Messagebox:

"In order to support retrieving stack traces when failures occur in CxxTest unit tests, 
the following dependencies need to be installed on your system:

\* The following linker libraries are missing: libbfd

Stack traces will be disabled in any projects that you create. Once you have satisfied
these requirements, you can re-enable this feature in your Eclipse preferences."

My system configuration is:
\- Windows 7 Prof. x64
\- Eclipse Indigo
\- Web-CAT Eclipse C++ Feature 1.7.0.201101121126
\- Cygwin 1.7.9-1 with following packages \(not complete list\)
\- binutils 2.22.51-1
\- bison 2.4.2-1
\- flex 2.5.35-1
\- gcc 3.4.4-999
\- gdb 7.3.50-3

In the Cygwin-Terminal I can find the file "libbfd.a" in the /usr/lib folder, but it seems that the Eclipse plugin can't find it.
I've also tried to recompile the binutils with option "--enable-shared", but still same behaviour.
Any suggestions???

Regards Daniel
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Reimann</dc:creator><pubDate>Tue, 10 Jan 2012 14:35:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net42a32219b0cd0056acaa98096406c6ac1f480bce</guid></item><item><title>Web interface is broken; buttons don't work</title><link>https://sourceforge.net/p/web-cat/bugs/90/</link><description>I downloaded WWeb-CAT.war and got WWeb-CAT configured. The database was initialized. 

But when I tried to do anything, none of the web controls would work. I couldn't create a course, add a project, etc. </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Pugh</dc:creator><pubDate>Wed, 02 Nov 2011 15:51:28 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete61c5135a94d085fb42a2de1dd244a826005d1da</guid></item></channel></rss>