v4.7.9 release
v4.7.9 has three bug fixes and 19 improvements.
Significant improvements
- The workflow for content templates was removed from global site settings (and still remains in role/user settings). A site can be assigned to a content template, so the entire admin experience for content templates is similar to that for workflows and audiences.
- Preview-to-edit of an asset now allows editing of embedded or shared children assets.
- Improved the selection of visible and hidden items in content forms.
- The Java Server Page
password.jspwas migrated to thePasswordFormInputclass. - The Java Server Page
change-password.jspwas migrated to theChangePasswordPageclass. - The Java Server Page
objectIdResult.jspwas migrated to theObjectIdResultPageclass. - The Java Server Page
savedSearch.jspwas migrated to theSavedSearchPageclass. - The Java Server Page
objectId.jspwas migrated to theObjectIdPageclass. - The Java Server Page
misc/search.jspwas migrated to theInitiateSearchPageclass. - Usages of the Java Server Page
objectMessage.jspwere replaced with the methodFormRequest#writeObjectMessage. - Usages of the Java Server Page
objectForm.jspwere replaced with the methodToolPageContext#writeSomeFormFields. - Usages of the Java Server Page
errors.jspwere replaced with the methodFormRequest#writeErrorMessages. - Usages of the Java Server Page
footer.jspwere replaced with the methodToolPageContext#writeFooter. - Usages of the Java Server Page
field.jspwere replaced with the methodsFormRequest#updateFromInputorFormRequest#writeInput(see breaking changes, below). - All files in
src/main/webapp/v4/dom/were converted to TypeScript. - Preview-to-edit is now streamlined for many levels of nested assets. Fields in the preview pane have multiple distinctive borders corresponding to levels of nesting. Modifying nested assets involves fewer mouse clicks.
- Quick View now includes fields that have empty or no value.
- Quick View now displays fields in the same order as in the associated content edit form.
- Brightspot now includes an indication that the integration with Google Analytics 4 is configured correctly.
Significant defects addressed
- Corrected an issue that prevented the class
LoginPagefrom resolvingHEADrequests. - Corrected an issue that prevented display of the navigation menu after clicking .
- Corrected an issue that caused the Google Drive Content Edit widget to display an error instead of hiding.
Breaking changes
-
The new method
FormRequest#writeObjectMessagerequires the following parameters:object—the object’s status/visibility determines what message is sent to the form (cannot benull).body—theWebResponseBodycontaining the banner's text (cannot benull).
-
The new method
FormRequest#writeSomeFormFieldsrequires the following parameters:object—source object for the form's contents (cannot benull).includeGlobals—booleanindicating inclusion of global fields.includeFields—collection of all fields that should be included (can benull).excludeFields—collection of all fields that should be excluded (can benull).
-
Regarding the replacement of
field.jspwithFormRequest#updateFromInputorFormRequest#writeInput:- In the original use case, if the
isFormPostattribute is set totrue, then useFormRequest#updateFromInput. This method updates the given object's field from HTML inputs. - In the original use case, if the
isFormPostattribute is set tofalse, then useFormRequest#writeInput. This method writes HTML inputs for the given object's field to the given body.
- In the original use case, if the