v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
Issue Details
Find By ID

Security - A custom Detail View for the User class is not displayed when invoked from a navigation item defined via the Application Model Designer

Issue Details

Log in to Track Changes or Edit
B135511
Bug Report
Alex Hoffman
Yes
Processed
Fixed
Yes
.NET (Frameworks)
eXpressApp Framework
9.1.2
v2009 vol 2.0; v2009 vol 1.4
Windows Vista
Microsoft Visual Studio 2008
5/8/2009 2:30:25 PM
-> Created by Alex Hoffman 4/14/2009 10:16:13 PM
Description
Steps to Reproduce
Actual Results
Expected Results

Attachment: AlexHoffman-TestDetailView.zip (163572 bytes)

A new custom DetailView will not be displayed when pointed to from a new Navigation item.

<- Reviewed by DevExpress Team 4/15/2009 6:10:13 AM
<- Reproduced by DevExpress Team 4/15/2009 6:14:41 AM
<- Updated by DevExpress Team 4/15/2009 6:54:24 AM

Hello Alex,

Thanks for the sample and your repro. I was able to reproduce this problem using your sample. We fixed a similar problem the past(When two navigation items are associated with the same List View, selection of one of these items leads to the selection of the other one), but this seems to be another case. We will investigate the problem further and try find a workaround (if any) for you ASAP.

Thanks for your patience,
Dennis

<- Processed (Fixed) by DevExpress Team 4/15/2009 7:45:49 PM

Hello Alex,

We have fixed the problem when the navigation item is not selected after clicking on it. The fact that the User_Test_DetailView is not shown is caused by the work of the MyDetailsController. There, we hard coded that for navigation items with ObjectKey=@CurrentUserID. The default user's detail view will be shown. Currently, this behavior is by design. You can change it by handling the ShowNavigationItemController.ItemsInitialized event and changing the shortcut as needed: ((ViewShortcut)ChoiceActionItem.Data).ViewId = "User_Test_DetailView";
If you want, you can create a new suggestion in this regard, but we think that this will be a minor improvement. When implementing the current behavior, we thought that there wouldn't be any need to show another detail view for a user. It is better to customize the layout of the default view here.

Thanks,
Dennis

-> Reactivated by Alex Hoffman 4/16/2009 12:10:35 AM

Don't mislead any readers of this item by stating "We have fixed the problem when the ...". You've fixed nothing. What your saying is that to fix a previous problem, someone hacked a solution that broke previously working functionality. It's hard-coded and your not now prepared to change it.

<- Processed (Fixed) by DevExpress Team 4/24/2009 8:39:15 AM
Log in to Track Changes or Edit

Peer-to-Peer Discussion in DevExpress Forums

No discussion on this article has been started yet.

Please login to start discussion.

v
v
Search
Searching Tips