Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1175

Wrong log level for storing post data for C agent 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.0
    • Fix Version/s: 5.0.0.0
    • Component/s: Web Agents
    • Labels:
    • Environment:
      OpenAM Web Agent for Apache Server 2.4.x 64bit
       Version: 5.0.0-M3
       Revision: 5bad925
       Build machine:
       Build date: Oct 16 2017 10:11:00

      Description

      Wrong log level for storing post data for C agent 5.

      Steps to reproduce

      1.) I used index page which is able to makes post data

      <p>
      <form name="ShowForm" action="/cgi-bin/show.cgi" method="post">
      <input name="post-attr1" value="value1" type="hidden">
      <input type="submit" value="show.cgi">
      </form>
      <p>

      2.) Set index.html page as not enforced URL
      3.) Enable post data preservation <Agent Profile> / Post Data Preservation = enabled
      4.) Hit Index page
      5.) Click on show.cgi button which makes a post data, you will be redirected to AM login page and login with user
      6.) Observe agent debug.log

      Observed:

      Following messages are set to ERROR log level

      2017-10-17 12:13:29.133 +0100   ERROR [1b77f8ff-2fb2-564f-8e67-1e3a036b6c89]create_post_body(): created file /opt/agents/web_agents-5.0.0/apache24_agent/bin/../log/1b77f8ff-2fb2-564f-8e67-1e3a036b6c89
      2017-10-17 12:13:41.208 +0100   ERROR [761cc7be-a199-0e42-b246-3663d600c5b0]create_post_body(): created file /tmp/a7355204-91c5-504f-84e7-ce26f87f9b22
      2017-10-17 12:13:41.210 +0100   ERROR [761cc7be-a199-0e42-b246-3663d600c5b0]close_post_body(): reading body content to memory
      

      Expected:

      Messages above should be set to DEBUG log level

        Attachments

          Activity

            People

            Assignee:
            pilar.gomez Pilar Gomez [X] (Inactive)
            Reporter:
            richard.hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: