v4.7.9 release
Release date: July 12, 2023
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.jsp
was migrated to thePasswordFormInput
class. - The Java Server Page
change-password.jsp
was migrated to theChangePasswordPage
class. - The Java Server Page
objectIdResult.jsp
was migrated to theObjectIdResultPage
class. - The Java Server Page
savedSearch.jsp
was migrated to theSavedSearchPage
class. - The Java Server Page
objectId.jsp
was migrated to theObjectIdPage
class. - The Java Server Page
misc/search.jsp
was migrated to theInitiateSearchPage
class. - Usages of the Java Server Page
objectMessage.jsp
were replaced with the methodFormRequest#writeObjectMessage
. - Usages of the Java Server Page
objectForm.jsp
were replaced with the methodToolPageContext#writeSomeFormFields
. - Usages of the Java Server Page
errors.jsp
were replaced with the methodFormRequest#writeErrorMessages
. - Usages of the Java Server Page
footer.jsp
were replaced with the methodToolPageContext#writeFooter
. - Usages of the Java Server Page
field.jsp
were replaced with the methodsFormRequest#updateFromInput
orFormRequest#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
LoginPage
from resolvingHEAD
requests. - 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#writeObjectMessage
requires the following parameters:
-
object
—the object’s status/visibility determines what message is sent to the form (cannot benull
). -
body
—theWebResponseBody
containing the banner's text (cannot benull
).
-
- The new method
FormRequest#writeSomeFormFields
requires the following parameters:
-
object
—source object for the form's contents (cannot benull
). -
includeGlobals
—boolean
indicating 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.jsp
withFormRequest#updateFromInput
orFormRequest#writeInput
:
- In the original use case, if the
isFormPost
attribute is set totrue
, then useFormRequest#updateFromInput
. This method updates the given object's field from HTML inputs. - In the original use case, if the
isFormPost
attribute 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
Previous Topic
v4.7.10.1 release
Next Topic
v4.7.8 release