Downloading a file document does not work under certain circumstance

1
We are not able to download a file document in a certain part of our application. In other parts however we can download without any problem. The symptoms are: The busy indicator, the spinning wheel, does not stop spinning No errors reported by the Mendix console Using the debugger nothing seems wrong (filedocument record is available, no errors while executing the 'download file' activity We don't have a clue what might cause this issue. Any help is appreciated.
asked
2 answers
6

Thanks to Erwin 't Hoen I found the cause of the problem. I had defined a separate entity as a specialisation of system.filedocument. I forgot to set the entity access rules and therefore nobody was allowed to view the document.

It took me so much time that I won't make this mistake ever again. But it would be nice if the debugger gave some hints that the current user is not authorised to show data...

answered
1

Are you using System.Filedocument as Generalization in another entity? Yesterday I had the same problem. After using the other entity as Filedocument the problem was gone.

answered