<?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/web-cat/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/web-cat/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/web-cat/bugs/</id><updated>2012-12-01T16:22:00Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Comments do not appear in Chrome</title><link href="https://sourceforge.net/p/web-cat/bugs/99/" rel="alternate"/><published>2012-12-01T16:22:00Z</published><updated>2012-12-01T16:22:00Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netb5077b167e5cdce56afa37f31bfb172e6a7969f9</id><summary type="html">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\).</summary></entry><entry><title>org.webcat.diff.Differ runs into infinite loop</title><link href="https://sourceforge.net/p/web-cat/bugs/98/" rel="alternate"/><published>2012-11-05T23:34:17Z</published><updated>2012-11-05T23:34:17Z</updated><author><name>Garmann</name><uri>https://sourceforge.net/u/garmann/</uri></author><id>https://sourceforge.netcdd52f5c1a48aff19e3493ee11874af27b5e10c1</id><summary type="html">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;
\}
\}
</summary></entry><entry><title>Erroneous ReflectionSupport.canAutoBoxFromActualToFormal</title><link href="https://sourceforge.net/p/web-cat/bugs/97/" rel="alternate"/><published>2012-05-02T22:26:10Z</published><updated>2012-05-02T22:26:10Z</updated><author><name>Garmann</name><uri>https://sourceforge.net/u/garmann/</uri></author><id>https://sourceforge.net98822273fa2786f6a98cbb4740d05d9cb28ccd45</id><summary type="html">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\) \)\);
\}
</summary></entry><entry><title>Hover/Dropdowns are problematic</title><link href="https://sourceforge.net/p/web-cat/bugs/96/" rel="alternate"/><published>2012-04-26T13:23:25Z</published><updated>2012-04-26T13:23:25Z</updated><author><name>Michael Stewart</name><uri>https://sourceforge.net/u/thegreatmichael/</uri></author><id>https://sourceforge.net9e19cdb646663a2e75ed35fa412d34ec1722bae8</id><summary type="html">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...</summary></entry><entry><title>Unlabelled web interface buttons </title><link href="https://sourceforge.net/p/web-cat/bugs/95/" rel="alternate"/><published>2012-04-19T20:40:20Z</published><updated>2012-04-19T20:40:20Z</updated><author><name>gholder</name><uri>https://sourceforge.net/u/gholder/</uri></author><id>https://sourceforge.netd65c70e89ac746ab9e86e1f1e8abc1d4c738df80</id><summary type="html">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.</summary></entry><entry><title>cannot copy multiple lines of code</title><link href="https://sourceforge.net/p/web-cat/bugs/94/" rel="alternate"/><published>2012-04-19T02:01:27Z</published><updated>2012-04-19T02:01:27Z</updated><author><name>Michael Stewart</name><uri>https://sourceforge.net/u/thegreatmichael/</uri></author><id>https://sourceforge.netb34af2f7cc07337afd25bcb5a5dd34a4d5ff273a</id><summary type="html">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.</summary></entry><entry><title>LDAP integration TLS error</title><link href="https://sourceforge.net/p/web-cat/bugs/93/" rel="alternate"/><published>2012-04-12T17:00:05Z</published><updated>2012-04-12T17:00:05Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net65e2135f1cfe78daf965a2b12d7712fbd3ed8fcd</id><summary type="html">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</summary></entry><entry><title>Instructor home page view assignments</title><link href="https://sourceforge.net/p/web-cat/bugs/92/" rel="alternate"/><published>2012-01-18T18:29:00Z</published><updated>2012-01-18T18:29:00Z</updated><author><name>Kevin Buffardi</name><uri>https://sourceforge.net/u/kboof/</uri></author><id>https://sourceforge.netba90a30591e5211d83c281268044d1806e37d94f</id><summary type="html">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.</summary></entry><entry><title>CxxTest Eclipse plugin missing libbfd</title><link href="https://sourceforge.net/p/web-cat/bugs/91/" rel="alternate"/><published>2012-01-10T14:35:06Z</published><updated>2012-01-10T14:35:06Z</updated><author><name>Daniel Reimann</name><uri>https://sourceforge.net/u/botsepp/</uri></author><id>https://sourceforge.net42a32219b0cd0056acaa98096406c6ac1f480bce</id><summary type="html">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
</summary></entry><entry><title>Web interface is broken; buttons don't work</title><link href="https://sourceforge.net/p/web-cat/bugs/90/" rel="alternate"/><published>2011-11-02T15:51:28Z</published><updated>2011-11-02T15:51:28Z</updated><author><name>William Pugh</name><uri>https://sourceforge.net/u/wpugh/</uri></author><id>https://sourceforge.nete61c5135a94d085fb42a2de1dd244a826005d1da</id><summary type="html">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. </summary></entry></feed>