Solr
  1. Solr
  2. SOLR-1072

absolute path for sharedLib is treated as a relative path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Hoss Man added a comment -

        in spite of years of Java experience, thoroughly reading hte javadocs dozens of time, and consulting with several other java developers with the same backround, i somehow failed to ever discover that "new File(parent, child)" doesn't bother to check when child is absolute.

        but is in CodeContainer.load ~line 180 ... there are probably a lot of other places in the code base with similar bugs.

        Show
        Hoss Man added a comment - in spite of years of Java experience, thoroughly reading hte javadocs dozens of time, and consulting with several other java developers with the same backround, i somehow failed to ever discover that "new File(parent, child)" doesn't bother to check when child is absolute. but is in CodeContainer.load ~line 180 ... there are probably a lot of other places in the code base with similar bugs.
        Hide
        Hoss Man added a comment -

        path to fix this (and add a utility we should probably start using in a lot more places where we construct a new File) ... i'm still running the tests (slow computer)

        Show
        Hoss Man added a comment - path to fix this (and add a utility we should probably start using in a lot more places where we construct a new File) ... i'm still running the tests (slow computer)
        Hide
        Shalin Shekhar Mangar added a comment -

        Hoss, can we mark this as resolved?

        Show
        Shalin Shekhar Mangar added a comment - Hoss, can we mark this as resolved?
        Hide
        Hoss Man added a comment -

        huh ... i thought i did resolve this. sorry.

        Show
        Hoss Man added a comment - huh ... i thought i did resolve this. sorry.
        Hide
        Grant Ingersoll added a comment -

        Bulk close Solr 1.4 issues

        Show
        Grant Ingersoll added a comment - Bulk close Solr 1.4 issues

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development