Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata Tab Component cannot be replaced #2664

Open
rtercerol opened this issue Sep 22, 2022 · 2 comments
Open

Metadata Tab Component cannot be replaced #2664

rtercerol opened this issue Sep 22, 2022 · 2 comments

Comments

@rtercerol
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/Alfresco/alfresco-content-app/blob/master/CONTRIBUTING.md#question

Current behavior

I'm trying to replace the MetadataTabComponent registering my own component in my extension module with:

extensions.setComponents({ 'app.components.tabs.metadata': MetadataROTabComponent, });

It is then shown properly in the personal-files page sidebar, but not in /personal-files/details/properties tab, and neither in the preview page.... and the personal-files sidebar is also wrong after accessing the other two locations.

Expected behavior

The desired behavior is that the replaced metadata tab component is shown across the application.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


ACA version: X.Y.Z


Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Edge version XX
- [ ] IE11
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@rtercerol
Copy link
Author

ACA version: 2.11 (with ADW 2.9.1)

@rtercerol
Copy link
Author

I just found that not only the configuration element 'app.components.tabs.metadata' is affected. I've configured one extension to remove certain options from the context menu (copy, move, delete, edit aspects) and all works fine until the viewer is launched. After that the application seem to revert/ignore the extension setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant