Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-109

DefaultSiteTool.getRelativePath returns nonsense if urls do not share DNS name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • doxia-integration-tools-1.6
    • None
    • Integration Tools
    • None

    Description

      see MSITE-750
      relative path
      from dav:https://nexus1.mysite.net:123/nexus/content/sites/site/mysite-parent/1.0.0/
      to dav:https://nexus2.mysite.net:123/nexus/content/sites/site/mysite-child/2.0.0/ (notice nexus2 vs nexus1 in DNS name)
      returns ../../../../../../../nexus2.mysite.net:123/nexus/content/sites/site/mysite-child/2.0.0

      I don't know what's the best to do (fail?), since no relative path can be calculated safely

      Attachments

        Issue Links

          Activity

            People

              elharo Elliotte Rusty Harold
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m