Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-892

Resource Bundle Editor allows removing default value set, throwing indexOutOfBoundsException

    XMLWordPrintable

Details

    • Sprint 84

    Description

      Steps to reproduce:
      1) Create project with Resource Bundle Editor
      2) Create a new RBD
      3) Add some value sets that start with a capital, save, close reopen
      4) Click the red cross to remove a value set
      Expected: Default is not an option to remove
      Actual: Default can be removed
      5) Delete the default
      6) Store
      Result:
      [INFO] [talledLocalContainer] 13.07.2014 12:24:30 ERROR http-bio-8080-exec-11 [DefaultExceptionMapper.internalMap:129] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted a
      [INFO] [talledLocalContainer] Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      [INFO] [talledLocalContainer] at java.util.ArrayList.rangeCheck(ArrayList.java:635)
      [INFO] [talledLocalContainer] at java.util.ArrayList.get(ArrayList.java:411)
      [INFO] [talledLocalContainer] at org.onehippo.cms7.resourcebundle.dialogs.ValueSetDeleteDialog.<init>(ValueSetDeleteDialog.java:46)

      Attachments

        Activity

          People

            abanck Arent-Jan Banck (Inactive)
            abanck Arent-Jan Banck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: