Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123820

Logging in after the session expires results in Internal Server Error when FIDO2 enabled

    Details

    • Branch Version/s:
      7.3.x
    • Backported to Branch:
      Committed
    • Story Points:
      1
    • Sprint:
      AppSec Iteration 51

      Description

      Steps to reproduce:
      1. login portal
      2. Enabled FIDO2
      3. Go to Account Settings>MFA, Register a FIDO2 authenticators
      4. Wait for login session expired
      5. Click Remove All Registered FIDO2 Authernticators button
      6. Click sgin in
      7. Enter email and password
      8. Verify FIDO2

      Expected result: Login in successfully

      Actual result: Internal Server Error shows, and the below error throws in the console log.

      2020-11-23 02:58:47.176 ERROR [http-nio-8080-exec-10][runtime:59] Error executing FreeMarker template
      FreeMarker template error:
      Java method "com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor.processDynamicColumn(String, String)" threw an exception when invoked on com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor object "com.lif[email protected]6b7bb66"; see cause exception in the Java stack trace.
      
      ----
      FTL stack trace ("~" means nesting-related):
              - Failed at: ${processor.processDynamicColumn("col...  [in template "null_CUSTOM_1_column_dynamic" at line 4, column 25]
      ----
      
      Java stack trace (for programmers):
      ----
      freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...
      

      Test on:
      Tomcat 9.0.37 + MySQL 5.7. master GIT ID: fc951eb3feae30f49989082f75f0e7fd4d7bb558.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              della.wang Della Wang (Inactive)
              Reporter:
              della.wang Della Wang (Inactive)
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 2 days ago

                  Packages

                  Version Package
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master