Error: No read only change hash found for member..

0
Hey guys, since I have not been able to find the answer in past threads (https://community.mendix.com/link/questions/88215, https://community.mendix.com/link/questions/87204) , nor in other forms of Mendix documention, though I'd try it with a new question. At seemingly random times some of my users trigger the following error message: This error also occurs at random times, for users with varying user Roles, on this and other members of the Project entity, which are based on the role of an employee (e.g. Project_Employee_Engineer instead of Project_Employee_UitvoerderG). The associations are written via Excel import, and are set up in such a way that they can only be added/changed with said import. So the various user roles within this application only have read rights to those members. I've looked at this error with several developers already, and we have not been able to find a solution to the problem, nor have we found a way to reproduce the error. The solutions provided in the threads mentioned above all deal with scenario's that do not seem applicable to this case. so if anyone has a different solution to this problem, I would very much like to hear it! Kind regards, Nils  
asked
4 answers
0

Hi Nils, 

This again seems to be the same case as the discussions in the other similar posts as well. So you say you perform Excel Import. I have some questions,

1. Who has access to perform this Excel Import? Does a user with "Engineer" system role have the ability to do this?

2. Does your Excel Import create/update objects of MasterData?

3. You mentioned associations being created what association are we talking about.

3. What's the security level access provided for the attributes like Project and Project_Employee_UitvoerderG? What are their data types.

Please EDIT the original post add the screen snap of your Domain model showcasing the MasterData entity if possible.

Thanks

AD

answered
0

A colleague of mine experienced the same difficulties, and got this response from Mendix:

"we've had reports of similar issues from other customers. Our R&D department created a fix for that issue, which will be released with Mendix 7.17. However, without a reproducible case, we can't be 100% certain this is the exact same issue you're having, so we can't guarantee your issue will be fixed as well.

The issue that has been resolved is caused by the interpretation of the Long number by the browser's JavaScript engine, leading to data changes and unexpected errors in the app. For example, take entity NewEntity, with a Long attribute ObjectId with value 1234567912345678912.


In the browser a different value: 1234567912345678800 will be shown.


Clicking the Save button will trigger an error both in browser and modeler console. The client believes the value is actually changed because of the truncation/rounding, and sends a changed value back to the application. Because the attribute is not editable, a security error is shown. Setting the attribute to writable will resolve this issue, but you might not want to do that.

As said before, without a reproducible case there's not much we can investigate. We recommend you to test your application with version 7.17, once it has been released to see if the error still occurs. If you are able to create a reproducible case in the meantime, please let us know, and we will investigate it.

With kind regards"

answered
0

this document is read only.you can not change ,but you can use it when creating your app in security module system 

this is the security error  please comment the solution

 

answered
0

System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'context')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'context')   at Mendix.Modeler.Common.IdentifierUtil.Resolve[T](IIdentifier`1 identifier, IHasContext context) in Mendix.Modeler.Core\Common\Usages\IdentifierUtil.cs:line 17   at Mendix.Modeler.WebUI.Export.Security.AccessChecker.CheckEntityPath(EntityPath entityPath, IEntity enclosingEntity, IUserRole userRole) in Mendix.Modeler.WebUI.Export\Security\AccessChecker.cs:line 22   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 0   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 75   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 0   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Visitors.ProjectVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Visitors\ProjectVisitor.cs:line 0   at Mendix.Modeler.WebUI.Export.Security.SecurityCheckVisitor.Process(IDocumentObject obj, Trace trace) in Mendix.Modeler.WebUI.Export\Security\SecurityCheckVisitor.cs:line 109   at Mendix.Modeler.WebUI.Export.Visitors.ObjectVisitor.Visit(IDocumentObject startingPoint, Trace initialTrace) in Mendix.Modeler.WebUI.Export\Visitors\ObjectVisitor.cs:line 34   at Mendix.Modeler.WebUI.Export.Security.SecurityCheck.<>c__DisplayClass2_0.<Check>b__2(NavigationProfileBase p) in Mendix.Modeler.WebUI.Export\Security\SecurityCheck.cs:line 38   at Mendix.Common.Util.EnumerableUtil.ForEach[T](IEnumerable`1 source, Action`1 action) in Mendix.Common\Util\EnumerableUtil.cs:line 51   at Mendix.Modeler.WebUI.Export.Security.SecurityCheck.Check(IProject project, ProjectChanges changes, IProblems problems, CancellationToken cancellationToken) in Mendix.Modeler.WebUI.Export\Security\SecurityCheck.cs:line 34   at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.<RunProjectChecks>b__1(ProjectChanges changes) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 61   at Mendix.Modeler.Projects.Changes.ChangedDocumentTracker.TryProcessChangesSync(Action`1 changeProcessor) in Mendix.Modeler.Core\Projects\Changes\ChangedDocumentTracker.cs:line 30   at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.<RunProjectChecks>b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 53   at Mendix.Modeler.Common.ResolveCache.<>c__DisplayClass10_0.<WithCache>b__0() in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 45   at Mendix.Modeler.Common.ResolveCache.WithCache[T](IProject project, Func`1 action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 62   at Mendix.Modeler.Common.ResolveCache.WithCache(IProject project, Action action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 43   at Mendix.Modeler.Projects.Checks.ProjectChecker.RunProjectChecks(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 49   at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass5_0.<Check>b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38   at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 42   at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.Do[T](Boolean unlockImplementation, Func`1 action) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 29   at Mendix.Modeler.Projects.Checks.ProjectChecker.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38   at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View.CrossPlatform\Problems\BackgroundCheckRunner.cs:line 41   at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View.CrossPlatform\Problems\BackgroundCheckRunner.cs:line 50   --- End of inner exception stack trace ---

 

 

Runtime error........ how to solve this error please send solution in comment 

answered