SmartClient V14.1p_2025-06-24
Released: Jun 24, 2025
Mises à jour de V14.1p_2025-06-24
Fonctionnalités
- Added new method Calendar.adjustCriteria(criteria), which allows developers to modify or add custom criteria to whatever the view generated for its date-range/lanes.
- Enhanced DateUtil.createDatetime() to allow the first parameter to be a date-string like "2025-04-29T07:00:00.000", as well as supporting Date instances.
- Modified PortalLayout to add support for creating new columns by dragging Portlets, and auto-removing columns when every portlet has been removed from them.
- See new properties portalLayout.canAddColumns / removeEmptyColumns.
- See documentation overview titled "Drag and Drop behavior within PortalLayouts" for an overview of drag/drop behavior in portalLayouts.
- Backcompat Notes: New PortalLayout canAddColumns and removeEmptyColumns capabilities allow users to drag portlets next to existing columns to add columns to the layout, and will automatically remove empty columns when the last portlet is taken from them. To restore the old behavior - if the user should be able to add columns using the menu but not through drag/drop, leave canAddColumns as true, and explicitly set dropTypes to ["PortalColumn"] on the PortalLayout - to turn off the feature where columns are auto-removed when they are empty, set removeEmptyColumns to false PortalLayout.addPortlet() had an issue where the rowNum parameter, if adding a new row, or the positionInRow parameter, if moving to a position within an existing row could be off-by-one if moving an existing portlet forward. This has been resolved. Any application code written to adjust the specified rowNum/position parameters passed to portalLayout.addPortlet will need to be reworked.
- When a SetFilterItem is used in a ListGrid's searchForm, ensure that the set of options shown in the SetFilterItem appropriately shows only what will be displayed in the grid even if the grid hasn't yet had a filter applied. Also ensure that if a FilterEditor is visible as well as a search form the SetFilterItems within the FilterEditor show the correct set of options based on the current criteria of the searchForm.
- Improved documentation around Layout.addMembers() behavior when used to reorder existing members.
- Made various changes to improve Calendar and Timeline draw and fetch behaviors.
- Clarified in the JSDoc for StockIcon.name and IconSet.name that each must have a valid JavaScript Identifier.
- Removed some internal dependencies on a custom implementation of String.prototype.trim().
Correctifs
- Fixed a Calendar bug where calling fetchData() on an undrawn Calendar followed by animateShow() would not execute the fetch on draw().
- Made a number of small fixes including resolving an issue where in some cases using the addPortlet(...) API to move a portlet within a row or to a new row within a column could interpret the specified new position in the row or new rowNum incorrectly. Prior to this change, the rowNum (or positionInRow if moving within a row) parameter would be offset by -1 from the final position of the new row/column if the portlet was being moved forward.
- Fixed autoFetchData: false in databound Calendar MonthViews.
- Prevent extraneous warning of "ResultSet already contains this object" in AdaptiveMenu (regression).
- Corrected initial fetching behavior in databound Calendars with autoFetchData: false when drawn via animateShow().
- Fixed a potential crash in Reify Starter Apps.
- Fixed a case where AdaptiveMenu could freeze the application with a non-visible visibleWhen menu item, a very small available space and an overflow had occurred.
- Fixed an issue where a FieldPicker's emptyTitleHint was not displayed in the filter-editor item of its title-field.
- Fixed regression in ListGrid.fieldPickerShowSampleValues.
- Made several tweaks to make autoFetchData/fetchData/setData behavior more consistent across the various Calendar views.
- Fixed AdaptiveMenu overflowing regression with certain cases of visibleWhen items.
- Fixed an unclosed comment in the CSS for some skins.
- Fixed issue where shadows get rendered for chart data lines when using SVG + Flat Skins.
- Fixed issue where parameters passed to Calendar.fetchData() were being discarded if called before draw().
- Fixed potential issue with setData() causing an error in TreeGrids in some cases.
- Tweaked so that Skin Editor doesn't send the entire skin-config from the client when silently saving the user's Density changes.
- Fixed issue that occurred when changing RESTHandler to handle String values in numeric PK fields by removing the value from the update, thereby triggering a "missing required value" validation error.
- Fixed potential problem with autosizing of FacetCharts with autoScrollData: true.
- Fixed some additional cases in AdaptiveMenu where buttons could overflow the space.
- Fixed edge case where menu button width isn't factored in during adaptive menu layout causing it to overflow.
- Suppressed unnecessary warnings when adaptiveMenu.setItems() is called on an undrawn menu.
- Ensure that a SetFilterItem used in a searchForm for a ListGrid, deriving options from the ListGrid's data set picks up the fetch operation ID and properties from the listGrid when showing options even if the ListGrid has not yet been filtered and created its data object.
- Fixed some caching issues when serializing DSResponses, which were causing an increase in response serialization time in some cases.
- Fixed a Skin Editor bug where changing Density didn't properly scale all icons in all cases in some skins.
- Fixed a bug where passing a string year parameter like "2025" to DateUtil.createDatetime() would fail because the method assumed the string represented a date and tried to convert it to a Date instance.
- Fixed missing MockDataSource sample DS test data records observed in Reify On-Site.
- Fixed an issue where startEditingNew() called on a grid that has never fetched could cause an unexpected fetch IF a sort was also applied.
- Fixed a Calendar crash when showing the full event-editor window from the MonthView and Calendar.twentyFourHourTime is set to false.
- Fixed a Calendar bug where the popup dialog in the MonthView could be positioned in the wrong column if weekends were hidden.