Page MenuHomePhabricator

Implement common infrastructure fields as export extensions
ClosedPublic

Authored by epriestley on Jan 29 2018, 4:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 19, 8:34 AM
Unknown Object (File)
Mon, Jul 15, 2:44 PM
Unknown Object (File)
Sat, Jul 13, 8:32 PM
Unknown Object (File)
Tue, Jul 9, 10:05 AM
Unknown Object (File)
Thu, Jul 4, 5:27 AM
Unknown Object (File)
Sun, Jun 30, 9:30 AM
Unknown Object (File)
Thu, Jun 27, 3:33 PM
Unknown Object (File)
Thu, Jun 27, 8:50 AM
Subscribers

Details

Summary

Depends on D18959. Ref T13049. Provide tags, subscribers, spaces, and created/modified as automatic extensions for all objects which support them.

(Also, for JSON export, be a little more consistent about exporting null instead of empty string when there's no value in a text field.)

Test Plan

Exported users and tasks, saw relevant fields in the export.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 29 2018, 10:32 PM
This revision was automatically updated to reflect the committed changes.
ysood added inline comments.
src/infrastructure/export/field/PhabricatorListExportField.php
7

This causes values in excel spreadsheet to be displayed without spaces. As an example, try exporting tasks with multiple subscribers. The list is exported with no spaces.
Exports correctly for csv but when the .csv file is open using excel, it only shows the first value in the list.