Bug 478169 - MIGRATED_FROM_JIRA: Modules cannot modify DN or Filter Values
Summary: MIGRATED_FROM_JIRA: Modules cannot modify DN or Filter Values
Keywords:
Status: CLOSED EOL
Alias: None
Product: penrose
Classification: Retired
Component: Unknown
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Endi Sukma Dewata
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 471500
TreeView+ depends on / blocked
 
Reported: 2008-12-27 08:05 UTC by Chandrasekar Kannan
Modified: 2020-03-27 18:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:39:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Chandrasekar Kannan 2008-12-27 08:05:37 UTC
Modules which intercept the beforeXXX() actions cannot modify the baseDn nor filter values; the values passed are immutable strings. PenroseSession should be modified to update these values after the initial postEvent() action.
Additional Comments From rammic dated Thu Nov 09 13:14:50 CST 2006 
Example code, allows modules to update search parameters.

Additional Comments From endisd dated Tue Nov 21 13:10:18 CST 2006 
Michael,

Thanks for the patch. I've applied the patch with slight modification, the results object should not be modifiable by event listeners because it could affect the client (e.g. results not closed).



=========================================================
Issue dump from jira
$VAR1 = {
          'priority' => '3',
          'customFieldValues' => [],
          'project' => 'PENROSE',
          'status' => '5',
          'components' => [
                            {}
                          ],
          'attachmentNames' => 'PenroseSessionPatch.txt',
          'reporter' => 'rammic',
          'key' => 'PENROSE-192',
          'assignee' => 'endisd',
          'summary' => 'Modules cannot modify DN or Filter Values',
          'id' => '10570',
          'updated' => '2006-11-21 13:10:18.0',
          'votes' => '0',
          'fixVersions' => [
                           {
                             'releaseDate' => '2006-11-27 00:00:00.0',
                             'sequence' => '20',
                             'name' => 'Penrose-1.1.2',
                             'released' => 'true',
                             'id' => '10091',
                             'archived' => 'false'
                           }
                         ],
          'description' => 'Modules which intercept the beforeXXX() actions cannot modify the baseDn nor filter values; the values passed are immutable strings. PenroseSession should be modified to update these values after the initial postEvent() action.',
          'affectsVersions' => [],
          'created' => '2006-11-09 13:09:43.0',
          'resolution' => '1',
          'type' => '1'
        };


=========================================================

Comment 1 Chandrasekar Kannan 2008-12-27 08:05:39 UTC
Marking bug as MODIFIED as it was already resolved in Jira - PENROSE-192


Note You need to log in before you can comment on or make changes to this bug.