Closed TaskletFactory closed 10 months ago
I think this has nothing todo with TenantMedia. I think this is how InStream of Blob are working currently. Check out the following issues:
https://github.com/microsoft/AL/issues/7172 https://github.com/microsoft/AL/issues/7329
Thanks @pri-kise
Anyway, it is what it is.
So I wil close this issue.
-
Record TenantMedia.Content can successfully be read using an InStream. BUT: An Instream will lose its instance beyond the scope of the TenantMedia record variable.
To Reproduce
Use any Item but add an Image to it. I used Cronus and Item 1000.
Execute the "TestTenantMedia" from the WebClient.
An Instream based on TenantMedia.Content should not lose its value for no reason.
Actual behavior An Instream based on TenantMedia.Content loose its instance and value if used as VAR parameter - even as Returnparameter.
Versions: AL Language. 12.1.887908 Visual Studio Code: 1.78.2 BC W1 23.0 (Platform 23.0.13032.0 + Application 23.0.12034.13092)
List of Visual Studio Code extensions that you have installed. N/A