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
0001617phplist applicationSubscriber Importpublic19-08-04 14:4523-10-04 23:13
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.9.2 
Summary0001617: Imported attributes that are blank do not get assigne an attribute value
DescriptionWhen importing a list with e.g. [first name] as an attribute if the first name is blank for an individual user no user_user_attribute record is created for it. This means when sending to that list and using [first name] as a placeholder in the email will produce [first name] as the literal output rather than blank.
There is no mechanism to create these missing records easily and so users get [first name] or whatever the placeholder is carried through to their email
Additional Informationphplist 2.8.10 running debian linux stable use browser Mozilla Firefox 0.9
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
michiel (manager)
23-10-04 23:13

temporary patch:

in import2.php where it says
            Sql_query(sprintf('replace into %s (attributeid,userid,value) values("%s","%s","%s")',

change it to

            Sql_query(sprintf('replace into %s (attributeid,userid,value) values("%s","%s","%s")',
          } else {
            # add an empty entry if none existed
            Sql_Query(sprintf('insert ignore into %s (attributeid,userid,value) values("%s","%s","")',

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker