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
0015445phplist applicationUser Managementpublic18-04-10 20:3420-04-10 01:57
Reporterh2b2 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.10.10 
Target Version2.10.12Fixed in Version2.10.12 
Summary0015445: Imported blank checkbox attributes are displayed as "checked" on a user's preferences page
DescriptionReported by zeb4dev on the forum:
==== Start Quote ====
When importing users with 1st item "import emails adresses with different attributes"

When the checkbox value is blank, phplist writes by default "off" during import.

When looking at a user, phplist knows that "blank" means "unchecked", and "off" is displayed as "unchecked"

But "the preference page"
- doesn't know that "off" means "unchecked"
- decides that "not blank" means "checked"
==== End Quote ====
Ref: http://forums.phplist.com/viewtopic.php?p=74456#p74456 [^]
Additional InformationThis is the workaround used by zeb4dev:
==== Start Quote ====
2 solutions possible:
-during import, block the "off" written when the cell is blank
-displaying preference pages, translate "off" and blank by "unchecked"
in the file
admin/page/importcsv.php

line 611
replace
$user_att_value = "off";
by
$user_att_value = "";

checkbox data shown on preferences pages are now fine
==== End Quote ====
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker