Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2954

LineDecorator.decorateLine(int) never call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.5.3
    • 2.4.1, 2.5.1
    • Integrations

    Description

      I want to add extra information to annotated views of files, and to diffs using a Gutter Renderer Module.

      It seems that the DiffLineDecorator works but not the LineDecorator: method LineDecorator.decorateLine(int i) is never call.

      Details

      I've created the GutterRenderer, the DiffLineDecorator and the LineDecorator.

      • When I go on a diff page:
        • GutterRenderer.getAnnotationDecorators(DiffType diffType, String repository, String fromPath, String fromRev, String toPath, String toRev) is called, a single element list of DiffLineDecorator is returned
        • DiffLineDecorator.decorateLineXXX(...) is called
        • The gutter is visible with the html specified in decorateLineXXX methods.
      • When I go on an annotated file:
        • getAnnotationDecorators(String repository, String path, String rev) is called, a single element list of LineDecorator is returned
        • LineDecorator.decorateLine(...) is never call
        • The gutter is not present on the file

      Attachments

        Activity

          People

            tom@atlassian.com Tom Davies
            7166e634a30a Julien Hoarau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: