question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension of extended apps via manifest configuration

See original GitHub issue

Given

Looks like extending of extended apps via configuration in manifest doesn’t work properly.

For example:

  1. we have component/application ‘App1’ with controller ‘controller1’
  2. we extend component ‘App1’ with component ‘App2’ and within ‘App2’ we extend controller ‘controller1’ by new controller ‘controller1App2’ by means of configuration in manifest (“sap.ui.controllerExtensions”)
  3. we extend component ‘App2’ with component ‘App3’ and within ‘App3’ we extend controller ‘controller1App2’ by new controller ‘controller1App3’ again by means of configuration in manifest

What is the expected result?

When we run component ‘App3’ both controller extensions ‘controller1App2’ and ‘controller1App3’ are applied.

What happens instead?

The result when we run ‘App3’ that the only configuration from component ‘App2’ will be applied for controller extension. Means only ‘controller1App2’.

At this code below when controller is being initialized the component configs mComponentConfigs has two correct configurations for component ‘App2’ and for component ‘App3’. But they are both correct from if condition point of view and there is no sequence implemented. https://github.com/SAP/openui5/blob/d07a224febb832f74a3662d68fda98e7eb060c15/src/sap.ui.core/src/sap/ui/core/CustomizingConfiguration.js#L58-L63

Could you please check.

*Unfortunately I don’t know how to create easy executable example with several extended apps. If you have any simple example with extended apps (via manifest config) which I can copy and modify might be helpful.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
flovogtcommented, Aug 10, 2020

Hi @AndreiLiakhavets , we’ve heard your feedback and added a Restriction section to the document. Screen Shot 2020-08-10 at 12 53 15 See also here https://openui5nightly.hana.ondemand.com/#/topic/c264d66d6e3c4104818bc52c174a000c It will be available with UI5 version 1.81.0. Thanks for your commitment to make the documentation more understandable. All the best, Florian

1reaction
flovogtcommented, Jul 16, 2020

Follow-Up: We’ve enhanced the documentation to distinguish better between the different extension mechanisms https://openui5nightly.hana.ondemand.com/#/topic/c264d66d6e3c4104818bc52c174a000c. Thanks a lot for your opening this issue. Florian

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage project configurations with the Extensions manifest
Create an extensions manifest. Manage your extensions manifest with the Firebase CLI; Export a project's extensions configuration.
Read more >
Extending the Delivered Apps Manifest Using ... - SAPUI5 SDK
The delivered apps can be extended by adding a new node in the object page or by modifying the manifest configurations settings through...
Read more >
Extension Manifest Reference - Azure DevOps | Microsoft Learn
In this article. Every extension has a JSON manifest file that defines basic information about the extension. The file also defines how it...
Read more >
App Manifest Attribute Reference | Cloud Foundry Docs
This topic describes manifest formatting and provides a full list of attributes available for app manifests. You can use it alongside Deploying ...
Read more >
Manifests for Google Workspace Add-ons | Apps Script
Adding prefixes to your allowlist; Using wildcards. An Apps Script project uses a manifest file to configure certain details about the script and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found