nextcloud / nextcloud/tables

Cannot import table with columns which have the similar headers

Open
#2,687 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce
  1. Have a table
  2. Have a prepared CSV file with columns
  3. Have some columns which have similar names
  4. In the preview window observe that the field is empty and not possible to select another one.
Expected behavior

Allow to have the columns with headers with the same name.

Actual behavior

Currently, it is not possible to have the columns with the similar names.

Tables app version

No response

Browser

No response

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the CSV import in the preview window with multiple columns sharing similar headers, then trace how preview fields are matched and selected. Confirm the affected import and column-mapping entry points while investigating. Done means every duplicate-named column remains selectable and imports into the intended table field.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.