Page MenuHomePhabricator

Implement common infrastructure fields as export extensions
ClosedPublic

Authored by epriestley on Jan 29 2018, 4:52 PM.
Tags
None
Referenced Files
F18857096: D18960.diff
Sat, Nov 1, 1:12 PM
F18814725: D18960.diff
Mon, Oct 20, 11:50 PM
F18783112: D18960.id45484.diff
Mon, Oct 13, 3:47 AM
F18766519: D18960.id.diff
Tue, Oct 7, 5:04 PM
F18703574: D18960.id.diff
Sep 28 2025, 4:26 AM
F18699595: D18960.diff
Sep 27 2025, 1:07 PM
F18685692: D18960.id45460.diff
Sep 26 2025, 11:35 AM
F18640024: D18960.diff
Sep 17 2025, 3:16 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.