Skip to content

Commit

Permalink
The 'GetURL' method of the external file did not take into considerat…
Browse files Browse the repository at this point in the history
…ion the URL (which has specific attributes such as expiration time) (#898)
  • Loading branch information
claudiamurialdo authored Nov 9, 2023
1 parent 570544a commit 503e144
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dotnet/src/dotnetframework/GxClasses/Domain/GXFileIO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,12 @@ public string AbsolutePath
private string URL
{
get {
return _provider == null ? String.Empty : _provider.GetUrl(_name, _fileTypeAtt, 0);
if (_provider == null)
return string.Empty;
else if (!string.IsNullOrEmpty(_url))
return _url;
else
return _provider.GetUrl(_name, _fileTypeAtt, 0);
}
}

Expand Down

0 comments on commit 503e144

Please sign in to comment.