Page MenuHomePhabricator

Implement common infrastructure fields as export extensions
ClosedPublic

Authored by epriestley on Jan 29 2018, 4:52 PM.
Tags
None
Referenced Files
F15500286: D18960.diff
Sun, Apr 13, 5:15 PM
F15467236: D18960.id45460.diff
Thu, Apr 3, 1:50 PM
F15454956: D18960.id45460.diff
Sat, Mar 29, 9:29 PM
F15453779: D18960.id45484.diff
Sat, Mar 29, 2:19 PM
F15445060: D18960.id45460.diff
Thu, Mar 27, 12:23 PM
F15443578: D18960.id.diff
Thu, Mar 27, 5:07 AM
F15440790: D18960.diff
Wed, Mar 26, 2:32 PM
F15426939: D18960.id45460.diff
Sun, Mar 23, 11:45 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.