← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 767283] [NEW] orm: at csv import, properly report lines with less columns

 

Public bug reported:

The "if not line[i]" check would cause an IndexError earlier than the
exception. Also, report the line number where that happened.
(the +2 op. is needed because we skip 1 for header and count at 0)

** Affects: openobject-server
     Importance: Undecided
     Assignee: xrg (xrg)
         Status: In Progress


** Tags: orm

** Changed in: openobject-server
       Status: New => In Progress

** Changed in: openobject-server
     Assignee: (unassigned) => xrg (xrg)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/767283

Title:
  orm: at csv import, properly report lines with less columns

Status in OpenERP Server:
  In Progress

Bug description:
  The "if not line[i]" check would cause an IndexError earlier than the
  exception. Also, report the line number where that happened.
  (the +2 op. is needed because we skip 1 for header and count at 0)


Follow ups

References