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
  • #5798
Closed
Open
Issue created 7 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Tabs are not working on ogroup templates

Closed

Tabs are not working on ogroup templates

Description

When you add a tab on an ogroup template, you get a crash when using it to create a group:

Fatal error: Uncaught Error: Call to undefined method stdClass::getRequiredAttributes() in /usr/share/fusiondirectory/include/class_template.inc:88 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(68): template->__construct('OGROUP', 'cn=groupes-list...') #1 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(562): templateDialog->save_object() #2 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(1337): simpleManagement->execute() #3 /usr/share/fusiondirectory/plugins/admin/groups/main.inc(21): simpleManagement::mainInc('groupManagement') #4 /usr/share/fusiondirectory/html/main.php(280): require('/usr/share/fusi...') #5 {main} thrown in /usr/share/fusiondirectory/include/class_template.inc on line 88

Distribution Name and Version

Debian jessie

FusionDirectory Version

1.2-fixes

PHP version used

PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

Origin of php packages

Debian jessie

Steps to Reproduce

  1. create a group template
  2. add %askme% for name
  3. add %askme% for description
  4. add a user in the group
  5. save
  6. open again the template
  7. activate mail tab
  8. add something in mail address
  9. save
  10. use the template
  11. crash

Expected behavior:

Be able to use tabs on ogroups (aka groups)

Actual behavior:

crash

Reproduces how often:

100%

Additional Information

Edited 7 years ago

    Tasks

    0
    Cannot read properties of undefined (reading 'workItem')

    Linked items
    0

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

    Activity


    • bmortier changed title from tab are not working on ogroup templates to Tabs are not working on ogroup templates 7 years ago

      changed title from tab are not working on ogroup templates to Tabs are not working on ogroup templates

      By Côme Chilliet on 2018-03-20T16:27:10 (imported from GitLab)

    • bmortier changed the description 7 years ago

      changed the description

      By Côme Chilliet on 2018-03-20T16:27:10 (imported from GitLab)

    • bmortier added Bugs templates labels 7 years ago

      added Bugs templates labels

      By Côme Chilliet on 2018-03-20T16:27:37 (imported from GitLab)

    • bmortier created branch 5798-tabs-are-not-working-on-ogroup-templates 7 years ago

      created branch 5798-tabs-are-not-working-on-ogroup-templates

      By Côme Chilliet on 2018-03-26T08:28:23 (imported from GitLab)

    • bmortier mentioned in merge request !180 7 years ago

      mentioned in merge request !180

      By Côme Chilliet on 2018-03-26T08:28:24 (imported from GitLab)

    • bmortier mentioned in commit acfd6e28 7 years ago

      mentioned in commit acfd6e28

      By Côme Chilliet on 2018-03-26T08:34:01 (imported from GitLab)

    • bmortier added 1h 30m of time spent at 2018-03-26 7 years ago

      added 1h 30m of time spent at 2018-03-26

      By Côme Chilliet on 2018-03-26T09:28:39 (imported from GitLab)

    • bmortier added To Be Tested label 7 years ago

      added To Be Tested label

      By Côme Chilliet on 2018-03-26T09:28:39 (imported from GitLab)

    • bmortier removed Bugs label 7 years ago

      removed Bugs label

      By bmortier on 2018-04-05T08:58:47 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      Tested on demo-dev to create and using it. It's working

      By Jonathan Swaelens on 2018-06-01T09:20:53 (imported from GitLab)

    • bmortier closed 6 years ago

      closed

      By Jonathan Swaelens on 2018-06-01T09:20:54 (imported from GitLab)

    • bmortier added 20m of time spent at 2018-06-01 6 years ago

      added 20m of time spent at 2018-06-01

      By Jonathan Swaelens on 2018-06-01T09:20:55 (imported from GitLab)

    • bmortier added Fixed and removed To Be Tested labels 6 years ago

      added Fixed and removed To Be Tested labels

      By Jonathan Swaelens on 2018-06-01T09:20:55 (imported from GitLab)

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    3
    Added PJ1802-0188 simple-plugin
    3
    Added PJ1802-0188 simple-plugin
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.2.1
    FusionDirectory 1.2.1 (expired)
    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
    1
    1 Participant
    bmortier
    Reference: fusiondirectory/fd#5342

    Menu

    Explore Projects Groups Topics Snippets