Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5041
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

FIXME legacy code should be removed from callHook method

Closed

FIXME legacy code should be removed from callHook method

There is an ugly piece of code with this comment in plugin::callHook:

// If there are still some %.. in our command, try to fill these with some other class vars (FIXME: useless)

The code seems dangerous and may be slow in some cases. We should remove it and just need to check that vars such as the base stays availables.

(from redmine: issue id 5041, created on 2016-08-02, closed on 2017-02-09)

  • Changesets:
    • Revision 57af1805 on 2016-08-02T13:27:09.000Z:
Fixes #5041 Removed legacy code from callHook method

Added base as a special case. Others might be added later if needed.
  • Custom Fields:
    • Bug in version: 1.0.14

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • bmortier
      bmortier @bmortier · 8 years ago
      Author Maintainer

      I added a selenium test for hook which test access to base, callerDN and callerUID, it works fine.

      Close issue

      (from redmine: written on 2017-02-09)

      By Côme Chilliet on 2017-09-02T15:32:30 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By Côme Chilliet on 2017-09-02T15:32:31 (imported from GitLab)

    • bmortier added Changed label 6 years ago

      added Changed label

      By bmortier on 2018-09-24T14:09:42 (imported from GitLab)

    • bmortier removed Bugs label 2 years ago

      removed Bugs label

    • bmortier added PJ1802-0188 fusiondirectory-core labels 2 years ago

      added PJ1802-0188 fusiondirectory-core labels

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets