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

  • New related issue

Name field for countries should be limited to two characters

Closed

Name field for countries should be limited to two characters

Description

The name field for countries, stored in "c", only accepts 2-letter long values, but FD accepts any value, leading to LDAP errors. (invalid dn)

Steps to Reproduce

  1. Create a country
  2. Give it a name longer than 2 characters
  3. Try to save it

Expected behavior:

The country is saved or we get a clear error.

Actual behavior:

LDAP error about invalid dn syntax.

Reproduces how often:

100%

Additional Information

Found in https://gitlab.fusiondirectory.org/fusiondirectory/fd/issues/5861#note_50686

    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
      bmortier @bmortier · 6 years ago
      Author Maintainer

      Syntax for countryName field: https://www.alvestrand.no/objectid/1.3.6.1.4.1.1466.115.121.1.11.html

      By Côme Chilliet on 2018-08-08T12:04:27 (imported from GitLab)

    • bmortier added PJ1802-0188 label 6 years ago

      added PJ1802-0188 label

      By bmortier on 2018-08-08T12:07:19 (imported from GitLab)

    • bmortier created branch 5864-name-field-for-countries-should-be-limited-to-two-characters 6 years ago

      created branch 5864-name-field-for-countries-should-be-limited-to-two-characters

      By Côme Chilliet on 2018-08-08T12:11:20 (imported from GitLab)

    • bmortier mentioned in merge request !350 6 years ago

      mentioned in merge request !350

      By Côme Chilliet on 2018-08-08T12:11:21 (imported from GitLab)

    • bmortier mentioned in commit 89af097f 6 years ago

      mentioned in commit 89af097f

      By Côme Chilliet on 2018-08-08T12:29:14 (imported from GitLab)

    • bmortier added 1h of time spent at 2018-08-08 6 years ago

      added 1h of time spent at 2018-08-08

      By Côme Chilliet on 2018-08-08T12:51:18 (imported from GitLab)

    • bmortier added To Be Tested label 6 years ago

      added To Be Tested label

      By Côme Chilliet on 2018-08-08T12:51:19 (imported from GitLab)

    • bmortier mentioned in merge request !352 6 years ago

      mentioned in merge request !352

      By Côme Chilliet on 2018-08-08T12:53:22 (imported from GitLab)

    • bmortier added fixes-merged and removed To Be Tested fixes labels 6 years ago

      added fixes-merged and removed To Be Tested fixes labels

      By Côme Chilliet on 2018-08-08T13:33:45 (imported from GitLab)

    • bmortier mentioned in issue #5861 (closed) 6 years ago

      mentioned in issue #5861 (closed)

      By Côme Chilliet on 2018-08-08T13:34:21 (imported from GitLab)

    • bmortier added To Be Tested label 6 years ago

      added To Be Tested label

      By bmortier on 2018-08-08T15:47:50 (imported from GitLab)

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

      added Fixed and removed To Be Tested labels

      By bmortier on 2018-08-08T20:16:42 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      hello @MCMic,

      tested and it work can be merged in 1.4-dev

      Cheers

      By bmortier on 2018-08-08T20:17:20 (imported from GitLab)

    • bmortier added 10m of time spent at 2018-08-08 6 years ago

      added 10m of time spent at 2018-08-08

      By bmortier on 2018-08-08T20:17:21 (imported from GitLab)

    • bmortier changed milestone to %FusionDirectory 1.2.2 6 years ago

      changed milestone to %FusionDirectory 1.2.2

      By Côme Chilliet on 2018-08-09T07:34:14 (imported from GitLab)

    • bmortier created branch 5864-name-field-for-countries-should-be-limited-to-two-characters 6 years ago

      created branch 5864-name-field-for-countries-should-be-limited-to-two-characters

      By Côme Chilliet on 2018-08-09T07:35:01 (imported from GitLab)

    • bmortier mentioned in merge request !353 6 years ago

      mentioned in merge request !353

      By Côme Chilliet on 2018-08-09T07:35:10 (imported from GitLab)

    • bmortier mentioned in merge request !351 6 years ago

      mentioned in merge request !351

      By Côme Chilliet on 2018-08-09T07:38:31 (imported from GitLab)

    • bmortier closed 6 years ago

      closed

      By Côme Chilliet on 2018-08-09T07:40:04 (imported from GitLab)

    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