Alfresco Angular components ( Documentation -> https://alfresco.github.io/adf-component-catalog )
@DenysVuika Hello again, there is one more pretty nice bug.
From version 3.9 for adf/core/content-services etc npm packages, it is happening.
The problem is displayed file size when editing FOLDER name/properties.
Prior to the 3.9.0 version of ADF libraries, everything worked fine. (so 3.8.0 and below). filesize-cell.component.ts is used to display the size of a file or folder. For the file, it displayed some numbers, for the folder it was empty which is fine. When you want to edit the folder name it will still after the update remain empty.
From 3.9.0 when you update folder name, file size column will get some text displayed "NaN CORE". And it is still in 4.2.0 version.
WHERE IS THE PROBLEM:
file-size.pipe.ts which is setting the display value gets '' as a value to work with for the folders instead of undefined or null. On update name/propties of the folder in DataTableCellComponent (in datatable-cell.component.ts file) in updateValue method function is called and resolves file size value of folder to '', which latter calls this file-size.pipe.ts.
In previous versions (3.8.0 and below) updateValue() was not called. Why? Because ngOnInit of DataTableCellComponent where it should be call throws exception when getting property "content.sizeInBytes" of node, because in payload folder nodes doesn't have even content property. This is fixed in 3.9.0 to get the actual property. But then updateValue is called which will call file-size.pipe with value ''. And that case is not handled there. And that's why we get display text of file size for folder "NaN CORE".
Hello,
in the document-list, I cannot configure 3 consecutive sortings. Example: sorting: ['alf:meta1 asc', 'alf:meta2 asc', 'alf:meta3 asc'].
Whereas in the public API it is possible.
I think that you have made a regression with your sorting and additionnalSorting ?
How can I configure my 3 sorts ?
Thanks in advance
Hello,
I'm trying to add a unclaim/claim task button on a custom page.
I'have add the TaskListModule on the imports of my module.ts.
and when i add the "<button adf-unclaim-task [taskId]="taskId" (success)="onUnclaimTask()">Unclaim</button>" i got that error :
Uncaught Error: Template parse errors:
Can't bind to 'taskId' since it isn't a known property of 'button'.
do you know how to correct this error ?
we're trying to use the adf-claim-task
& adf-unclaim-task
directives, that takes taskId
as a required property
we're following ADF Doc : https://www.alfresco.com/abn/adf/docs/process-services/directives/unclaim-task.directive/
the directives seems to be in the "TaskListModule"
we added it in our module, but we still have the error mentioned above