Details
Description
While fixing OODT-116 I found out that the curator doesn't allow metadata to be updated in the catalog. This is a direct result of porting over to Apache CXF from the old Jersey dependencies. As it turns out line 260 in MetadataResource gives an NPE which is the cause of the error. The root cause is trickier though – it has to do with @FormParam("id") being null and @Consumes("application/x-www-form-urlencoded"). If you see this issue here http://osdir.com/ml/issues-cxf-apache/2010-03/msg00129.html I think what they are saying is that old versions of Apache CXF pre version 2.3 (we are currently on 2.2.7 in curator) don't support this correctly. So I am going to try upgrading to CXF 2.3.0 (which looks like the latest release for Jax RS) and see if that fixes it.