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-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #4894
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by Côme Chilliet@cchillietReporter
  • New related issue

  • New related issue

printGeneric code is too old and ugly and 1.1 code should be used instead

Closed

printGeneric code is too old and ugly and 1.1 code should be used instead

(from redmine: issue id 4894, created on 2016-06-21, closed on 2016-06-24)

  • Relations:
    • copied_to #4895
  • Changesets:
    • Revision 7d8cf8bd by Côme Chilliet on 2016-06-21T08:19:04.000Z:
Fixes #4894 Pulled 1.1 fdPrinter code into 1.0.13-fixes
  • Revision c09f13ec by Côme Chilliet on 2016-06-21T09:43:43.000Z:
Fixes #4894 Added missing fields in printGeneric
  • Revision a875f0c9 by Côme Chilliet on 2016-06-21T09:45:42.000Z:
Fixes #4894 Added missing fields in printGeneric

Conflicts:
	systems/contrib/openldap/systems-fd.schema
  • Revision ec665efc by Côme Chilliet on 2016-06-22T04:58:53.000Z:
Fixes #4894 Fixed printGeneric case in systemManagement code
  • Revision 8c6772d6 by Côme Chilliet on 2016-06-23T07:40:24.000Z:
Fixes #4894 Added missing compute_dn method in printGeneric for 1.0.13
  • Custom Fields:
    • Bug in version: 1.0.13

    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
      Maintainer

      hello,

      in the create menu entry there is no object of type printer in 1.0.13-fixes with this code

      Cheers

      (from redmine: written on 2016-06-21)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      i tested under demo-dev and the menu is here and i can create and save a printer with all attributes and add user and admin into this printer. The reference tab show the printer also.

      Cheers

      (from redmine: written on 2016-06-21)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Author Reporter

      Should be better now.

      (from redmine: written on 2016-06-22)

    • Jonathan Swaelens
      Jonathan Swaelens @jswaelens · 8 years ago
      Developer

      I tried to create a network printer and I have the following error.

       	Fatal error
      Could not compute dn: could not find objectType infos from tab class "simpleTabs"
      
      Please fix the above error and reload the page. 
      

      I have a php error too.

      PHP error "" - File: /usr/share/fusiondirectory/include/class_msg_dialog.inc (Line 96)
      Trace[1]: class msg_dialog / function __construct	File: /usr/share/fusiondirectory/include/class_msg_dialog.inc (Line 117)	Type: method
      Arguments: "Fatal error","Could not compute dn: could not find objectType infos from tab class "simpleTabs"","10006"
      Trace[2]: class msg_dialog / function display	File: /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc (Line 293)	Type: static
      Arguments: "Fatal error","Could not compute dn: could not find objectType infos from tab class "simpleTabs"","10006"
      Trace[3]: class simplePlugin / function compute_dn	File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc (Line 389)	Type: method
      Arguments: -
      Trace[4]: class simpleTabs / function save	File: /usr/share/fusiondirectory/include/class_management.inc (Line 781)	Type: method
      Arguments: -
      Trace[5]: class management / function saveChanges	File: /usr/share/fusiondirectory/include/class_management.inc (Line 455)	Type: method
      Arguments: "save",array(),array("save",array())
      Trace[6]: class management / function handleActions	File: /usr/share/fusiondirectory/include/class_management.inc (Line 172)	Type: method
      Arguments: array("save")
      Trace[7]: class management / function execute	File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 908)	Type: method
      Arguments: -
      Trace[8]: class simpleManagement / function mainInc	File: /usr/share/fusiondirectory/plugins/admin/systems/main.inc (Line 21)	Type: static
      Arguments: "systemManagement"
      Trace[9]: function require	File: /usr/share/fusiondirectory/html/main.php (Line 285)	Type: -
      Arguments: "/usr/share/fusiondirectory/plugins/admin/systems/main.inc"
      

      (from redmine: written on 2016-06-22)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      it seems to work i just got this but don't know if its normal or not

      Erreur PHP "deprecated call to old tabclass constructor" Trace[1]: fonction trigger_error Fichier: /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc (Ligne 73) Type: - Arguments: "deprecated call to old tabclass constructor" Trace[2]: classe simpleTabs / fonction __construct Fichier: /usr/share/fusiondirectory/include/class_management.inc (Ligne 756) Type: méthode Arguments: "",array(array("printGeneric","Imprimante"),array("netgroupSystem","Groupe NIS"),array("dnsHost","DNS"),array("ejbcaCertificates","EJBCA"),array("webLink","Lien Web")),"cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org","printer" Trace[3]: classe management / fonction editEntry Fichier: /usr/share/fusiondirectory/plugins/admin/systems/class_systemManagement.inc (Ligne 337) Type: méthode Arguments: "edit",array("cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org"),array(array("cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org"),"edit"),"simpleTabs","PRINTERTABS","printer" Trace[4]: classe systemManagement / fonction editEntry Fichier: /usr/share/fusiondirectory/include/class_management.inc (Ligne 455) Type: méthode Arguments: "edit",array("cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org"),array(array("cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org"),"edit") Trace[5]: classe management / fonction handleActions Fichier: /usr/share/fusiondirectory/include/class_management.inc (Ligne 172) Type: méthode Arguments: array(array("cn=test-prn,ou=printers,ou=systems,dc=fusiondirectory,dc=org"),"edit") Trace[6]: classe management / fonction execute Fichier: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Ligne 908) Type: méthode Arguments: - Trace[7]: classe simpleManagement / fonction mainInc Fichier: /usr/share/fusiondirectory/plugins/admin/systems/main.inc (Ligne 21) Type: statique Arguments: "systemManagement" Trace[8]: fonction require Fichier: /usr/share/fusiondirectory/html/main.php (Ligne 286) Type: - Arguments: "/usr/share/fusiondirectory/plugins/admin/systems/main.inc"

      Cheers

      (from redmine: written on 2016-06-23)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Author Reporter

      Hum yeah we should remove this error as systems plugin in 1.0.13 still use the old management class. But you get it for all systems type, not only printers right?

      (from redmine: written on 2016-06-24)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      yes of course that why i indicate its not really an error, you coudl leave it like that then

      Cheers

      (from redmine: written on 2016-06-24)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      Close issue

      (from redmine: written on 2016-06-24)

    • bmortier closed 7 years ago

      closed

    • bmortier added Changed label 6 years ago

      added Changed label

    Please register or sign in to reply
    Assignee
    Côme Chilliet's avatar
    Côme Chilliet
    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