sulu / SuluRedirectBundle

Sulu bundle for managing redirects
MIT License
18 stars 19 forks source link

Import file without header line #16

Closed wachterjohannes closed 3 years ago

wachterjohannes commented 6 years ago
Q A
Bug? no
New Feature? no
Sulu Version 0.1.*
SuluRedirect Version ---
Browser Version ---

Actual Behavior

When importing a file without header line (source,target) the import fails foreach line without message.

Expected Behavior

The import should work or fail with an accurate error message.

Steps to Reproduce

Upload csv file without header line. image

Possible Solutions

There are two possible solutions:

  1. use source,target as default header and try to import
  2. detect this issue and return an accurate error message
niklasnatter commented 3 years ago

Fixed in #36