Page MenuHomePhabricator

Implement common infrastructure fields as export extensions
ClosedPublic

Authored by epriestley on Jan 29 2018, 4:52 PM.
Tags
None
Referenced Files
F13090394: D18960.diff
Thu, Apr 25, 2:22 AM
Unknown Object (File)
Fri, Apr 19, 2:46 AM
Unknown Object (File)
Sun, Apr 7, 12:45 PM
Unknown Object (File)
Sun, Mar 31, 6:58 PM
Unknown Object (File)
Thu, Mar 28, 6:11 PM
Unknown Object (File)
Feb 3 2024, 5:52 PM
Unknown Object (File)
Jan 16 2024, 1:29 AM
Unknown Object (File)
Jan 13 2024, 8:46 PM
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.