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

EST configuration in Admin UI is not cleared when navigating away from the page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.3.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Customer
    • Sprint:
      EJBCA Team Alice - 2019 w34

      Description

      From Selwyn, who got it reported by customer.

      There are issues editing EST aliases, sometime changing settings does not work.

      It appears that the problem starts happening when you edit an EST alias and click away from it without clicking Save or Cancel. It seems that the configuration object in memory gets corrupted when you do this.

       Fixed by:

      I added a PostConstruct initialize method to EditEstConfigMBean.java to clear the EST Config Clone, similar to the initialize method in EditCmpConfigMBean.java.

      Modifled:

      admin-gui/src/org/ejbca/ui/web/admin/configuration/EditEstConfigMBean.java

       

      import javax.annotation.PostConstruct;
      
      …
      
          @PostConstruct
      
          public void initialize() {
      
              getEjbcaWebBean().clearEstConfigClone();
      
          }
      

       

       

        Attachments

          Activity

            People

            Assignee:
            selwyno Selwyn Oh
            Reporter:
            selwyno Selwyn Oh
            Verified by:
            Tomas Gustavsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified