Hi Guys,
I'm kind of tearing my hair out here working out what might be wrong.
I have a file manager component defined as :
<div class="filemanagerContainer">
<ejs-filemanager id='overview'
#fileObj
[ajaxSettings]='ajaxSettings'
[view]='view'
[path]="detailsViewPath"
[contextMenuSettings]='contextMenuSettings'
[navigationPaneSettings]='navigationPaneSettings'
[toolbarSettings]='toolbarSettings'
[uploadSettings]='uploadSettings'
[showFileExtension]='showFileExtension'
[showHiddenItems]='showHiddenItems'
[allowDragAndDrop]='allowDragAndDrop'
(success)="success($event)"
(menuOpen)="menuOpen($event)"
(menuClick)="menuClick($event)">
</ejs-filemanager>
</div>
I have a backend based on Volosoft's Zero framework.
To get the component to work I first downloaded and worked with the github code for filemanager into a sandbox project and everything was going well.
I then copied the code to my own project and the method "AzureFileOperations([FromBody] FileManagerDirectoryContent args)".
This gave me great functionality on "read", "delete", "create" and so on.
However, when it came to implementation of the "AzureUpload(FileManagerDirectoryContent args)" I am getting stackoverflow errors before the request meets the MVC pipeline.
My logs show that the the method has been hit and accepted so I have no CORS problems.
I use the upload button as per:
And an error is thrown in my controller:
There is nothing in my logs to suggest what has happened.
After the stackoverflow error is thrown my network tab looks as below:
I can actually run my own server project and the syncfusion project in tandem and have my project server the url value and thye syncfusion project serve the uploadUrl but I cannot, for the life in me, get the AzureUpload function to work in my won own project. I'm sure it's something to do with Volosoft's abp or Zero framework and have dropped a line in their forum too.
Can you guys suggest anything at all I should look for - it's a shame because I have all other functionality working except for this one problem.