albertocolom / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

ErrorFilterModule does not filter under medium trust in v1.0.8922 (BETA1) #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add the ErrorLogModule to the configuration.
2. Add the ErrorFilterModule to the configuration.
3. Add error filtering via configuration that uses data-binding.
4. Cause an error to occur that should be filtered.

What is the expected output? 
The error should not be logged by the error logging module.

What do you see instead?
The error is logged by the error logging module and an exception occurs 
during the binding of the data expression that is swallowed by ASP.NET.

Original issue reported on code.google.com by azizatif on 25 Jun 2007 at 9:34

GoogleCodeExporter commented 8 years ago
This bug was caused by the fact that ErrorFilterModule.AssertionHelperContext 
was 
marked internal rather than public. Consequently, medium trust applications 
would 
not be able to use any data-bound assertions on the helper context due to 
insufficient permissions. Apply the attached patch to ELMAH sources fix the 
problem.

Original comment by azizatif on 25 Jun 2007 at 9:50

Attachments: