Skip to content
GitLab
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 50
    • Issues 50
    • 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
  • #5747
Closed
Open
Issue created Dec 06, 2017 by Jonathan Swaelens@jswaelensDeveloper

Line number in CSV import error messages is incorrect

Description

Hello,

The error message from CSV import is not correct when we fail an import It mention the last valid line in place of the last line that failed.

Example:

import failed for line 68

But we had 68 correct import, it's the line 69 that failed

Distribution Name and Version

Ubuntu LTS

FusionDirectory Version

1.3-dev

Plugin with the defect

ldapmanager

PHP version used

7.0

Origin of php packages

Ubuntu

Steps to Reproduce

  1. Create a CSV with an error
  2. Import your csv

Expected behavior:

Mention the correct failed line

Actual behavior:

Mention an incorrect failed line

Reproduces how often: 100%

Edited Dec 12, 2017 by Côme Chilliet
Assignee
Assign to
Time tracking