Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-11372

remove initial log message for access_codes/show.html.erb is not Liquid template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.14.0 GA
    • System
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      When accessing the developer portal for the first time, a page asking you to input the "Access Code" is displayed. At the same time, the following is logged in the logs for the system-developer container:

      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2] Started GET "/" for 10.217.0.2 at 2024-09-20 04:45:17 +0000
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2] Processing by DeveloperPortal::CMS::NewContentController#show as HTML
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2] #<ActionView::Template lib/developer_portal/app/views/developer_portal/access_codes/show.html.erb locals=[]> is not Liquid template and can't override layout
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2]   Rendering lib/developer_portal/app/views/developer_portal/access_codes/show.html.erb
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2]   Rendered lib/developer_portal/app/views/developer_portal/access_codes/show.html.erb (Duration: 1.1ms | Allocations: 353)
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2] Filter chain halted as :protect_access rendered or redirected
      [28043f3c-f91a-41d4-91a1-527933c546af] [3scale.apps-crc.testing] [10.217.0.2] Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 4.1ms | Allocations: 2147)
      

      The log seems to be coming from template_support.rb#72 and seems to be correct, because show.html.erb does not appear to be a liquid template.

      Is it possible to fix it so the above log is not printed out?

              Unassigned Unassigned
              rhn-support-iwalker Ian Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: