Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-93

AutoProtoSchemaBuilder.schemaFilePath() is not handled correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.Alpha6
    • 4.3.0.Alpha4
    • None

    Description

      Current implementation is wrong in these aspects:

      • the (optional) schemaFilePath together with schemaFileName should only be used for constructing the classloader resource path
      • when computing the final resource path from schemaFilePath + schemaFileName should take into account eventual leading or trailing '/' and handle it gracefully
      • the file path used for SerializationContext registration should be only based on schemaFileName, and should not be relative to schemaFilePath

      Attachments

        Activity

          People

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: