You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/ui5-modernization/skills/fix-component-async/SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,6 +228,7 @@ sap.ui.define([
228
228
- The interface makes `async: true` flags redundant - they can be safely removed
229
229
- Components that extend UIComponent (not just Component) can use IAsyncContentCreation
230
230
- If the component inherits from a custom base component that already implements IAsyncContentCreation, no changes are needed
231
+
-**`IAsyncContentCreation` vs manifest v2**: These are independent concerns. Updating manifest `_version` to `"2.0.0"` does NOT automatically enable async content creation — `IAsyncContentCreation` must still be explicitly implemented in Component.js. Conversely, adding `IAsyncContentCreation` does not require manifest v2.
**Problem**: `sap.m.MessagePage` is deprecated in favor of `sap.m.IllustratedMessage`.
334
+
`sap.m.MessagePage` is deprecated in favor of `sap.m.IllustratedMessage`. Key changes: `text`+`description` → single `description`, `icon` → `illustrationType` enum, `showNavButton`/`navButtonPress` → `Button` in `additionalContent` aggregation.
273
335
274
-
**Property and Aggregation Mapping:**
336
+
For the full property mapping table, XML/JS examples, and illustration type list, read `references/control-migration-details.md`.
275
337
276
-
| Old `MessagePage`| New `IllustratedMessage`| Rule |
277
-
|---|---|---|
278
-
|`title`|`title`| Direct transfer |
279
-
|`text` and `description`|`description`| Combine with `\n` separator, or use single value if only one present |
Key changes: `variantItems` → `items`, `VariantItem.text` → `.title`, `showExecuteOnSelection` → `supportApplyAutomatically`, `showShare` → `supportPublic`. The standard variant must be explicitly created with `rename="false"` and `remove="false"`.
Key replacements: `MessageManager` → `sap/ui/core/Messaging`, `Export*` → `sap/ui/export/Spreadsheet`, `LocalBusyIndicator` → `Control.setBusy(true)`. `SearchProvider`, `OpenSearchProvider`, and `ScrollBar` have no replacement.
340
347
341
-
**Common illustration types**: `NoData`, `NoEntries`, `PageNotFound`, `UnableToLoad`, `NoSearchResults`. Check `sap.m.IllustratedMessageType` API reference for full list.
348
+
For the full table and MessageManager→Messaging code example, read `references/control-migration-details.md`.
342
349
343
350
## Implementation Steps
344
351
@@ -434,6 +441,8 @@ sap.ui.define([
434
441
- When replacing deprecated libraries (sap.ui.commons, sap.ui.ux3), the replacement controls may have different APIs
435
442
- Property replacements may have inverted logic (e.g., `blocked: true` → `enabled: false`)
436
443
- Consider using `npx @ui5/linter --details` to get direct links to migration documentation
444
+
-`sap.f.IllustratedMessage` and `sap.f.Illustration` are deprecated in favor of `sap.m.IllustratedMessage` and `sap.m.Illustration` — this is a simple namespace move with the same API
445
+
- When migrating `sap.ui.comp.variants.VariantManagement`, the standard variant must be explicitly created (see section 9)
**Common illustration types**: `NoData`, `NoEntries`, `PageNotFound`, `UnableToLoad`, `NoSearchResults`. Check `sap.m.IllustratedMessageType` API reference for full list.
0 commit comments