Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7443

CAs and Fields in User Data Sources are stored as strings, causing ClassCastException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.0.0
    • Fix Version/s: EJBCA 7.0.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Another issue
    • Epic Link:
    • Sprint:
      EJBCA Sprint 21 Team Bob

      Description

      The JSF selectManyListBox component does not store type of the available elements (unless they are represented as SelectItems), and converts them to strings when submitting the form.

      This causes Available CA Ids and Modifiable Fields IDs to be stored as strings in the Collection<Integer> field, which causes problems when the User Data Source is later used (for example, exported with statedump)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel Samuel Lidén Borell
                Reporter:
                samuel Samuel Lidén Borell
                Verified by:
                Jekaterina Bunina
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h