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
  • #5556
Something went wrong while setting issue due date.
Closed
Open
Issue created 7 years ago by SBosquin@SBosquinReporter
  • New related issue

  • New related issue

%askme% dans les champs date

Closed

%askme% dans les champs date

Dans les champs date %askme% génère une erreur php (FD 1.0.20) :

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (%askme%) at position 0 (%): Unexpected character' in /usr/share/fusiondirectory/include/simpleplugin/attributes/class_DateAttribute.inc:93 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/attributes/class_DateAttribute.inc(93): DateTime->__construct('%askme%', Object(DateTimeZone)) #1 /usr/share/fusiondirectory/plugins/personal/samba/class_sambaAccount.inc(592): DateAttribute->getDateValue() #2 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(651): sambaAccount->prepare_save() #3 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(422): simplePlugin->save() #4 /usr/share/fusiondirectory/include/class_management.inc(839): simpleTabs->save() #5 /usr/share/fusiondirectory/include/class_management.inc(466): management->applyChanges('apply', Array, Array) #6 /usr/share/fusiondirectory/include/class_management.inc(170): management->handleActions(Array) #7 /usr/shar in /usr/share/fusiondirectory/include/simpleplugin/attributes/class_DateAttribute.inc on line 93

(from redmine: issue id 5556, created on 2017-05-29, closed on 2017-06-12)

  • Changesets:
    • Revision a30908b4 by Côme Chilliet on 2017-06-06T15:09:49.000Z:
Fixes #5556 Samba tab was crashing when using %askme% in password expiration
  • Custom Fields:
    • Bug in version: 1.1
    • Support contract: Bronze
    • Dolibarr project Name: PJ1703-0083
An error occurred while loading designs. Please try again.

Tasks

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

Linked items
...

    Activity


    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      Should be good now. Was specific to samba.

      Set time spent

      (from redmine: written on 2017-06-06)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      Applied in changeset commit:fusiondirectory-plugins|a30908b4.

      (from redmine: written on 2017-06-06)

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

      Close issue

      (from redmine: written on 2017-06-12)

    • Côme Chilliet added 1h of time spent 7 years ago

      added 1h of time spent

    • Jonathan Swaelens closed 7 years ago

      closed

    • bmortier removed Bugs label 7 years ago

      removed Bugs label

    • bmortier added Fixed label 7 years ago

      added Fixed 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