| | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 2 days ago @ 11:15:03 AM Posts: 14, Visits: 89 |
| | I'm getting an error when in the Security Editor. If you choose the top level Permissions and then select any permission from the right pane "All Permissions" view. You get the error displayed below, I also got the same error running form the RBS Sample. Exception Could not create permission editor. Source : MicroFour StrataFrame Security Stack Trace: at MicroFour.StrataFrame.Security.SecurityDialog.CreatePermissionForm(Int32 ProjectPK, Int32 ItemPK, String Category, Boolean IsCopy) at MicroFour.StrataFrame.Security.SecurityDialog.EditPermission() at MicroFour.StrataFrame.Security.SecurityDialog.lvDetail_DoubleClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnDoubleClick(EventArgs e) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m) at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 3:05:53 PM Posts: 552, Visits: 10,434 |
| | Hi Purnell. You are probably trying to edit a permission at runtime, is that so? If this is the case, permissions are not supposed to be edited at runtime, only at design time. This exception will probably be treated differently in the future. Cheers. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 10:22:11 PM Posts: 3,733, Visits: 3,928 |
| | Ivan is correct. There are some options to prevent certain things from showing at run-time, but if you could provide more details as to how you generated this error it would be helpful. Thanks. |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: 2 days ago @ 11:15:03 AM Posts: 14, Visits: 89 |
| | Trent/Ivan I was only trying to view the premission. Trent I emailed a snap shot of the screen. I even was able to recreate the error form the StrataFrame RBS sample. To recreate error, just click on the Permissions group in the left frame and click on any premission key in the right frame and you will get the error. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Yesterday @ 3:05:53 PM Posts: 552, Visits: 10,434 |
| To recreate error, just click on the Permissions group in the left frame and click on any premission key in the right frame and you will get the error. I have just run the sample over here to check it, and it does show the error, but only if I "double click" the permission, which is the action to Edit it. If I only click on it, it just gets selected. And as you already know, Permissions are not supposed to be edited at runtime. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 10:22:11 PM Posts: 3,733, Visits: 3,928 |
| | It is just a bug...I will add it to the list to get fixed. The double-click is still trying to execute the design-time code. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 10:22:11 PM Posts: 3,733, Visits: 3,928 |
| Simple fix...here is the fix for it.
|
| |
|
|