-
Notifications
You must be signed in to change notification settings - Fork 151
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 card not displaying custom group in the Recent Files navigation. It displays properly in "My Libraries" navigation #923
Comments
@nvmadhav - thank you for the feedback; we've created a ticket in our backlog for this - https://issues.alfresco.com/jira/browse/ACA-2194 |
@nvmadhav not sure if that helps but with the ACA 1.7 (development) and ACS Community 6.1.2.0 I am able to see custom aspect everywhere. Note that versions are just what I am using right now, not the minimal requirement for this feature. I've created a custom model and aspect called "content-metadata-presets": [
{
"id": "app.content.metadata.custom",
"custom": [
{
"id": "custom.aspect.demo",
"title": "aca:denys",
"items": [
{
"id": "aca:denys",
"aspect": "aca:denys",
"properties": "*"
}
]
}
]
} At runtime, in all the places where metadata is displayed, I can see it: |
@DenysVuika Is this in "Recent Files" navigation view or the regular view? I was able to see in other views except "Recent Files" view. |
Recent Files is Search API query: source code |
ya. Sorry looks like I was not clear. When I go to "Recent Files" and select a document, then click on "i" (information) icon then it was not showing the custom metadata view. But when I go to libraries and browse to a document and select that document and click on "i" then I was able to view the custom metadata. Not sure why as the component is same in both places. I have not tested with latest from development. I will test with development branch and will inform you. |
The screenshot I made was for the "Recent Files", I have also tested with Files Component that backs Personal Files and Libraries. |
Tested with ACS 6.1 -> cannot reproduce Closing this issue as 5.2.x APIs do not enable us to support this use case |
@DenysVuika can you please provide more details which component uses the ACS6.1 service and about the service so that we will explore possibility of making it work for 5.2 version |
@nvmadhav same component this issue is raised for: Metadata Card from ADF |
@DenysVuika Little bit confused.Metadata component working in Favorites navigation and in the preview page but not working only in the recent files navigation. I need to still understand what ACS6.1 change impacting only recent files. |
@nvmadhav just a guess - 6.1 has solr6 and various fixes to Search Services, we use Search API for recent files. |
@DenysVuika We use Solr6 with search services 1.1.1. I know solr6 uses search services 1.2. Will dig into more to understand |
@DenysVuika For me it looks like a bug. When I click on information icon, I didn't even see the calls going to metadata. And also initial call its making to favorites component and its not getting that document. You should be able to replicate this by selecting non-favorited document in Recent files. I will dig into more to see the actual root cause |
@DenysVuika I think I found the problem Issue is in the content-app Here we are allowing to load the node content only for the images. Ideally we should load the node info for all the documents. Not sure what exactly the purpose of having this condition. Also in case of Shared node, we are supposed to pass "entry.id" instead of "entry.nodeId". Can you please explain why do we have this condition for Recent files. Based on this condition, it should fail with ACS6.1 as well. Bit confused . sorry for multiple threads |
I reopened the ticket and will investigate today. Thanks for details. |
@nvmadhav Originally, we introduced Metadata prototype in ACA for images only, I think that's a very old block of code that needs to be removed. Good finding! |
@DenysVuika Thanks for looking into this. Ideally irrespective of the navigation, here we should load the node information. I am not sure why are we loading the node info based on the condition. This is impacting if we write new navigational items. For new navigational items, we have to update this file for metadata component to work properly. Please consider this and provide generic solution here while fixing this. |
Hello, In above example, Thanks, |
@jigirshah we use GitHub issue tracker for bugs and feature requests, please use Gitter or Community portal for generic chats and questions. |
Describe the bug
We have defined the custom preset in the app.extensions.json like below
Then the custom properties is getting displayed when we navigate to "My Libraries" and click on "i" icon.
But when we navigate to recent files and click on "i" icon, the custom group is not displayed in the side panel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should display the configured custom metadata.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: