Page MenuHomePhabricator

Display custom fields in the project details
Closed, ResolvedPublic

Description

project/edit/1/

In order to view custom fields you need to edit project details

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

nikita assigned this task to • orange.
nikita raised the priority of this task from to Needs Triage.
nikita updated the task description. (Show Details)
nikita added a subscriber: nikita.

@btrahan I'm not able to see my custom fields on view or edit in my sandbox.

Hmmm, I don't repro the edit bit which I added in D10679... Do you see description at least (which is a custom field) ?

On view,as far as I know these fields have never showed up on the view page (where would description be if so?) Where would you expect them to show up? project/view/1/ and project/edit/1/ or just one or the other or?

I do have a little diff to add right away tho... Typo in config instructions such that if you add the sample custom field it doesn't work.

btrahan added a revision: Restricted Differential Revision.Oct 21 2014, 7:24 PM

Actually, i take back the view thing now that I am in the code. Its written like it should work. Hopefully a diff in a few...

Okay, so apparently the way custom fields work is they don't show up on "views" until you have a set value against them. Once you set a value they will show up on view.

A possible fix would be to just render them anyway with blank values. Theoretically though the way things work now is preferred for folks who have many, many custom fields where some don't apply to every instance of an object.

I'll defer to @chad and @epriestley about how the product should work, but my inclination is to keep the behavior as is and enhance the documentation. The other option I see is to render them anyway with blank values.

btrahan added a commit: Restricted Diffusion Commit.Oct 21 2014, 7:31 PM

I'm fine with just documentation.

chad added a revision: Restricted Differential Revision.Oct 22 2014, 5:40 PM
chad added a commit: Restricted Diffusion Commit.

Closed by commit rPef3df7e4bf5d.