Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79615

Fix #applyDecorator("form-aui") not working with Velcoity Directives in Struts

      Pages including applyDecorator based AUI forms are found to be broken at the moment during Velocity rendering.

      For eg:

      • Login was not working most problem because seraph filter is not able to find the os_username with Confluence.  > 5] [atlassian.seraph.auth.DefaultAuthenticator] getUser getUser : User not found in either Session, Cookie or Basic Auth.
        2022-07-25 22:44:13,373 DEBUG [http-nio-8080-exec-5] [atlassian.seraph.filter.SecurityFilter] doFilter doFilter : Setting Auth Context to be 'anonymous ' 
        We have put a workaround temporarily for login.
      • Edit page is not working in Collab mode

            [CONFSERVER-79615] Fix #applyDecorator("form-aui") not working with Velcoity Directives in Struts

            A fix for this issue is available in Confluence Server and Data Center 8.0.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 8.0.0. Upgrade now or check out the Release Notes to see what other issues are resolved.
            Quan Pham made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 80 › Jira Issues Macro › issue-80-CONFSERVER-79615-final-merge (server-syd-bamboo)" [ 690675 ]
            Quan Pham made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 80 › Jira Issues Macro (Adoptium Temurin 17) › issue-80-CONFSERVER-79615-final-merge (server-syd-bamboo)" [ 690597 ]
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 80 › Jira Issues Macro (Adoptium Temurin 17) › issue-80-CONFSERVER-79615-updating-all-tag-and-bodytag-directives-milestone (server-syd-bamboo)" [ 682336 ]
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 80 › Jira Issues Macro › issue-80-CONFSERVER-79615-updating-all-tag-and-bodytag-directives-milestone (server-syd-bamboo)" [ 682523 ]
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "ASINGH18 Confluence Bundled Plugins 80 › Jira Issues Macro › issue-80-CONFSERVER-79615-updating-all-tag-and-bodytag-directives-milestone (server-syd-bamboo)" [ 682522 ]
            Anoop Singh (Inactive) made changes -
            Remote Link New: This issue links to "Confluence Bundled Plugins 80 › Jira Issues Macro › issue-80-CONFSERVER-79615-updating-all-tag-and-bodytag-directives (server-syd-bamboo)" [ 682423 ]

            Fixed by migrating from #tag or #bodytag elements in a VM file to #s based Struts tag. Ex:

            #bodytag( "Component" "label='create.support.zip.include.tomcat'" "name='includeServerLogs'" "value=includeServerLogs" "theme='aui'" "template='onofflist.vm'")}}
                #param ("description" "$i18n.getText('create.support.zip.include.tomcat.desc')")
            #end

            converts to

            #scomponent("label='create.support.zip.include.tomcat'" "name='includeServerLogs'" "value=includeServerLogs" "theme='aui'" "template='onofflist.vm'"
                "description=$i18n.getText('create.support.zip.include.tomcat.desc')")
            #end

            And 

            #bodytag( "TextField" "label='create.support.zip.logs.other.directory'" "name='serverLogsDirectory'" "value=serverLogsDirectory" "theme='aui'")
                #param ("description" "$i18n.getText('create.support.zip.logs.other.directory.desc')")
            #end

            converts to

            #stextfield("label='create.support.zip.logs.other.directory'" "name='serverLogsDirectory'" "value=serverLogsDirectory" "theme='aui'"
            "description=$i18n.getText('create.support.zip.logs.other.directory.desc')")

            Ganesh Gautam added a comment - Fixed by migrating from #tag or #bodytag elements in a VM file to #s based Struts tag. Ex: #bodytag( "Component" "label='create.support.zip.include.tomcat'" "name='includeServerLogs'" "value=includeServerLogs" "theme='aui'" "template='onofflist.vm'")}}     #param ("description" "$i18n.getText('create.support.zip.include.tomcat.desc')") #end converts to #scomponent("label='create.support.zip.include.tomcat'" "name='includeServerLogs'" "value=includeServerLogs" "theme='aui'" "template='onofflist.vm'"     "description=$i18n.getText('create.support.zip.include.tomcat.desc')") #end And  #bodytag( "TextField" "label='create.support.zip.logs.other.directory'" "name='serverLogsDirectory'" "value=serverLogsDirectory" "theme='aui'")     #param ("description" "$i18n.getText('create.support.zip.logs.other.directory.desc')") #end converts to #stextfield("label='create.support.zip.logs.other.directory'" "name='serverLogsDirectory'" "value=serverLogsDirectory" "theme='aui'" "description=$i18n.getText('create.support.zip.logs.other.directory.desc')")
            Ganesh Gautam made changes -
            Fix Version/s New: 8.0.0-struts-m020 [ 102217 ]
            Ganesh Gautam made changes -
            Remote Link New: This issue links to "R8.0 P1. Baseline › Data Center Tests, Postgres 14.x, Tomcat 9, Adoptium Temurin 17 › issue-80-CONFSERVER-79615-fix-broken-email-settings-vm-file (server-syd-bamboo)" [ 674737 ]

              8d92d18aad77 Bhanu Darisi (Inactive)
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: