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

Auto-resolve configdump references after import

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.3.1, EJBCA 7.3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      After running a configdump import, there can be references that could not be solved in the first import. As a workaround, you can run the import again.

      We should handle this automatically. It could work as follows:

      • After the import attempt, check if there are items with reference problems.
      • For each problematic item, try to import it again (with update as overwrite action).
      • If the update also fails, show the error from the first import attempt (so the user knows the value has been set to the default)
      • If the update succeeds, don't report the error to the user.

      Reference problems can still happen if an object is missing from the dump. Default/skip prompt should still work for that case.

        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:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d