Comments

Anas_maw created an issue. See original summary.

anas_maw’s picture

Status: Active » Needs review
StatusFileSize
new1011 bytes

This patch fixes the issue by making the Administrative description as the label for the entity. Also, i make Administrative description field required.

anas_maw’s picture

Also, let me thank you for this great module. I really appreciate the efforts spent to made this great module.

pancho’s picture

@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:
entity reference select before
After:
entity reference select after
Autocomplete after:
entity reference select after

And here's the admin_title field before:
admin_title setting before
and after:
admin_title setting after

Status: Needs review » Needs work

The last submitted patch, 4: entity-reference-field-empty-label_3022485_4_test-only.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

pancho’s picture

Title: Entity reference field empty label » Undefined entity label impedes identifying FillPdfForm
Status: Needs work » Needs review
StatusFileSize
new8.03 KB
new7.48 KB

Same, minus logger notices (scope creep), minus a handful of coding standards violations.

  • Pancho committed 0f1845f on 8.x-4.x
    Issue #3022485 by Anas_maw, Pancho: Undefined entity label impedes...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.