Skip to content
GitLab
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 33
    • Issues 33
    • 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
  • #5565
Closed
Open
Issue created May 31, 2017 by bmortier@bmortierMaintainer

prepare_save should be able to return errors as well

Hello,

Almost all functions from the save workflow can return errors except for prepare_save. Most probably because in most cases it cannot fail, but in posixAccount case it can because it needs to create the primary group early in order to fill the right value in gidNumber. So it should be able to return errors to abort the save as well.

(from redmine: issue id 5565, created on 2017-05-31)

  • Relations:
    • relates #4893
    • copied from fd-plugins#5564 (closed)
  • Custom Fields:
    • Bug in version: 1.1
    • Support contract: None
Edited Mar 08, 2018 by bmortier
Assignee
Assign to
Time tracking