Cocoon
  1. Cocoon
  2. COCOON-1395

[PATCH] Missing ContextAttributeInputModule

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.6
    • Fix Version/s: None
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: Other

      Description

      This patch contains missing input module "context-attr" that encapsulates
      o.a.c.environment.Context#getAttribute(String).

      I needed "context-attr" input module for the meta module chain of retrieving
      attribute across viarious scopes:
      <component-instance name="ajf-config"
      class="org.apache.cocoon.components.modules.input.ChainMetaModule">
        <input-module name="request-param"/>
        <input-module name="request-attr"/>
        <input-module name="session-attr"/>
        <input-module name="context-attr"/>
        <input-module name="global"/>
        <input-module name="defaults"/>
      </component-instance>

        Activity

        Michal Durdina created issue -
        Hide
        Michal Durdina added a comment -
        Created an attachment (id=13920)
        RELEASE_2_1_6.patch_13.diff
        Show
        Michal Durdina added a comment - Created an attachment (id=13920) RELEASE_2_1_6.patch_13.diff
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 32986 12324704
        Pier Fumagalli made changes -
        Workflow jira [ 12341139 ] Cocoon Workflow [ 12341530 ]
        David Crossley made changes -
        Other Info [Patch available]
        Description This patch contains missing input module "context-attr" that encapsulates
        o.a.c.environment.Context#getAttribute(String).

        I needed "context-attr" input module for the meta module chain of retrieving
        attribute across viarious scopes:
        <component-instance name="ajf-config"
        class="org.apache.cocoon.components.modules.input.ChainMetaModule">
          <input-module name="request-param"/>
          <input-module name="request-attr"/>
          <input-module name="session-attr"/>
          <input-module name="context-attr"/>
          <input-module name="global"/>
          <input-module name="defaults"/>
        </component-instance>
        This patch contains missing input module "context-attr" that encapsulates
        o.a.c.environment.Context#getAttribute(String).

        I needed "context-attr" input module for the meta module chain of retrieving
        attribute across viarious scopes:
        <component-instance name="ajf-config"
        class="org.apache.cocoon.components.modules.input.ChainMetaModule">
          <input-module name="request-param"/>
          <input-module name="request-attr"/>
          <input-module name="session-attr"/>
          <input-module name="context-attr"/>
          <input-module name="global"/>
          <input-module name="defaults"/>
        </component-instance>
        Bugzilla Id 32986
        Mark Thomas made changes -
        Assignee Cocoon Developers Team [ cocoon ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Michal Durdina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development