Skip to content

Commit 48ded64

Browse files
The smart devices cache was not working for services in modules, as it failed to consider the full name when checking for smart devices data caching on the server side
1 parent 7c61fef commit 48ded64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/dotnetframework/GxClasses/Services/GxRestWrapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public virtual Task MethodBodyExecute(object key)
118118
gxobject.webExecute();
119119
return Task.CompletedTask;
120120
}
121-
if (!ProcessHeaders(_procWorker.GetType().Name))
121+
if (!ProcessHeaders(GXBaseObject.GetObjectNameWithoutNamespace(_procWorker.GetType().FullName)))
122122
return Task.CompletedTask;
123123
_procWorker.IsMain = true;
124124
if (bodyParameters == null)
@@ -303,7 +303,7 @@ public virtual Task MethodUrlExecute(object key)
303303
{
304304
return Task.CompletedTask;
305305
}
306-
if (!ProcessHeaders(_procWorker.GetType().Name))
306+
if (!ProcessHeaders(GXBaseObject.GetObjectNameWithoutNamespace(_procWorker.GetType().FullName)))
307307
return Task.CompletedTask;
308308
_procWorker.IsMain = true;
309309
IDictionary<string,object> queryParameters = ReadQueryParameters(this._variableAlias);

0 commit comments

Comments
 (0)