Problem/Motivation

Some formatted fields, needs to keep their final rendered HTML outputs by the field formatter

Steps to reproduce

Given that a Card view mode was selected to have "Only content" for the field templates
When the field passes values or minimal data values as a string
Then the field content will be placed in the region
But only the value not the formatted will be printed out by the field formatter

Using "Only content" will work in many number of cases
But the default should be the default behavior

Proposed resolution

  • Switch all default asset templates for pattern layout to "Default" for the Field templates option

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ✅ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release Varbase 10.0.0-beta1, vmi-3.0.0-alpha5

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3375307 by Ahmad Abbad: Switched field templates for patterns from Only content to Default for sending rendered HTML to the layout region

Comments

Ahmad Abbad created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes

Thanks, Ahamd, for filing the issue.
I agree on this point to Switch all default asset templates for pattern layout to "Default" for the Field templates option

rajab natshah’s picture

Issue summary: View changes

rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.0.0-beta1, +vmi-3.0.0-alpha5
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

✅ Released vmi-3.0.0-alpha5

Status: Fixed » Closed (fixed)

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

rajab natshah’s picture

Issue summary: View changes