Closed (fixed)
Project:
FillPDF
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2018 at 09:27 UTC
Updated:
30 Mar 2019 at 23:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
anas_maw commentedThis patch fixes the issue by making the Administrative description as the label for the entity. Also, i make Administrative description field required.
Comment #3
anas_maw commentedAlso, let me thank you for this great module. I really appreciate the efforts spent to made this great module.
Comment #4
pancho@Anas_maw:
Thanks for your report and the enclosed patch!
Indeed, the admin_title column should be used as label, which is also needed in #3023341: Fix FillPdfFileContext label key; add FillPdfForm canonical route.
I'm a bit hesitant to mark 'admin_title' #required for now, and think we should revisit this decision in a separate issue #3040776: Autocreate 'admin_title' from metadata and mark it required.
However, in order to convey the increased relevance of the 'admin_title', I'm standardizing on calling it 'Administrative title' rather than 'Administrative description' (on the overview page it's already been identified as such) on the FillPdfForm edit form. Also I'm rewording the description, now suggesting the admin may better add an 'admin_title'.
Also, I'm adding a couple of tests to check whether the label is correctly set both in an entity reference select and a status message when updating the FillPdfForm entity.
Here are some screenshots:
Entity reference select before:



After:
Autocomplete after:
And here's the admin_title field before:


and after:
Comment #6
panchoSame, minus logger notices (scope creep), minus a handful of coding standards violations.
Comment #8
panchoAgain, thank you for filing this bug report and providing a patch!
Follow-ups: