Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-118

CAS Curator doesn't allow metadata update on file manager browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2
    • curator
    • None
    • Testing out locally

    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.

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: