phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003430phplist applicationSubscriber Importpublic17-06-05 03:1308-07-05 14:50
Reporterstephenrs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.8.12 
Target VersionFixed in Version2.9.5 
Summary0003430: False warnings always reported during import
DescriptionDuring a text file import with attribute vales provided for users (admin/?page=import2), if the Show Warnings checkbox is checked, warnings are always displayed, even for valid input files.

the warning comes from line 316 in importcsv.php: Warn("Record has more values than header indicated (". sizeof($values). "!=". (sizeof($_SESSION["import_attribute"]) + sizeof($_SESSION["system_attributes"]))
."), this may cause trouble: $index");

Even though the warnings are reported, the file seems to import fine.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to 0002457resolvedmichiel PHPList v2.9.5 release 
has duplicate 0002765resolvedmichiel In TEST mode, import appears to fail 
has duplicate 0003603resolvedmichiel False warnings during test import with 'import emails with different values for attributes' 
related to 0015231resolvedmichiel False warnings during test import with 'import emails with different values for attributes' 

-  Notes
(0005565)
michiel (manager)
08-07-05 04:53

in order to test this, can you give me an abstract (just a few lines, and if you want the emails changed) of your import file?
(0005567)
stephenrs (reporter)
08-07-05 06:13

here's a clipping from a file that i recently imported, with the names all changed:

email,Agency
user1@email.net,Big greedy company
user2@email.com,Small energetic company
user3@email.com,Another Firm
user4@email.com,Last Entity

i created the "Agency" attribute before importing the list. hope this helps.
(0005572)
michiel (manager)
08-07-05 14:50

i tried this list on the current CVS code and it seems to be fine, even if warnings are on


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker