Index: src/org/w3c/unicorn/action/ObserveAction.java
===================================================================
--- src/org/w3c/unicorn/action/ObserveAction.java	(revision 307:70d3ceb5376d)
+++ src/org/w3c/unicorn/action/ObserveAction.java	(revision 308:282a2eca7c05)
@@ -1,3 +1,3 @@
-// $Id: ObserveAction.java,v 1.19 2009-09-08 15:15:27 tgambet Exp $
+// $Id: ObserveAction.java,v 1.20 2009-09-08 15:30:26 tgambet Exp $
 // Author: Jean-Guilhem Rouel
 // (c) COPYRIGHT MIT, ERCIM and Keio, 2006.
@@ -165,5 +165,6 @@
 						aUnicornCall.setEnumInputMethod(EnumInputMethod.UPLOAD);
 					} else {
-						// TODO log "ucn_file not an instance of FileItem ?"
+						// should be impossible (see getRequestParameters)
+						logger.warn("ucn_file is not of type FileItem!");
 					}
 				} else if (paramName.equals("text_mime")) {
@@ -171,5 +172,5 @@
 				} else {
 					logger.debug("Unknown parameter: " + key + " - " + (String) reqParams.get(key) +". This parameter is added to aUnicornCall.");
-					aUnicornCall.addParameter(key, (String) reqParams.get(key));
+					aUnicornCall.addParameter(key, reqParams.get(key).toString());
 				}
 			}
@@ -260,5 +261,5 @@
 					params.put(aFileItem.getFieldName(), aFileItem);
 				} else {
-					// TODO log "unknown fileItem, ignored"
+					logger.warn("Unknown FileItem in request: " + aFileItem.getFieldName());
 				}
 			}
