Skip to content

Metadata Tab Component cannot be replaced #2664

@rtercerol

Description

@rtercerol

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions