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, Dec 13, 12:47 PM
Unknown Object (File)
Fri, Dec 6, 4:58 AM
Unknown Object (File)
Sun, Dec 1, 6:59 AM
Unknown Object (File)
Mon, Nov 25, 8:42 AM
Unknown Object (File)
Thu, Nov 21, 2:33 AM
Unknown Object (File)
Wed, Nov 20, 9:34 AM
Unknown Object (File)
Nov 17 2024, 3:28 PM
Unknown Object (File)
Nov 14 2024, 4:06 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.