[wp-trac] [WordPress Trac] #44215: Personal data exports - Empty values are included in the report

WordPress Trac noreply at wordpress.org
Wed Aug 15 15:03:00 UTC 2018


#44215: Personal data exports - Empty values are included in the report
-------------------------------------------------+-------------------------
 Reporter:  bor0                                 |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Privacy                              |     Version:  4.9.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots 2nd-       |     Focuses:
  opinion close                                  |
-------------------------------------------------+-------------------------

Comment (by javorszky):

 That sounds reasonable, though that depends on the type of column being
 used. Varchars can't store `false`, only `0` or `''`. But they could also
 store the string `false`.

 I see situations where changing the display value from an empty string to
 the word `false` might be misleading, because does `false` mean it's
 really an empty string, or is it the actual word `false`?

 Maybe there should be a type declaration as well for falsey values, much
 like `var_dump` gives us?

 Replying to [comment:10 desrosj]:
 > One thing that I want to verify before closing this is that values, such
 as `false` or `0`, are correctly represented in the export. For example, a
 `false` value should not show up as a blank space. It should show as
 `false`. I think it is important for accuracy that these empty values are
 not just displayed as an empty table cell.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44215#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list