ICEpdf
  1. ICEpdf
  2. PDF-147

Annotation Action Editing index out of bounds error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.1
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any annotation action edit
    • Workaround Description:
      Index out bounds error is logged but causes no problems. Select an action from the list and then the edit or remove button.

      Description

      When editing an existing annotation action a index out of bounds error occurs. Steps to reproduce the error.

      1. ) Use annotation tool to select a link annotation
      2. ) Click edit from the action panel to generate null pointer error.
      3. ) Select an action from the action panel to edit the action.

        Activity

        Hide
        Patrick Corless added a comment -

        Updated the annotation selection logic to automatically select the first available child action. This insures that the button edit and delete state is correct. If the action is deselected the edit and delete buttons are disabled as expected.

        Show
        Patrick Corless added a comment - Updated the annotation selection logic to automatically select the first available child action. This insures that the button edit and delete state is correct. If the action is deselected the edit and delete buttons are disabled as expected.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: