Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
When two different controllers register a widget and the method name is the same in both controllers, only the first widget gets registered. For example: Controller CustomAController.cs has a method 'Tutorials' defined with the [RegisterWidget] annotation. Controller CustomBController.cs has a method 'Tutorials' defined with the [RegisterWidget] annotation. Registering the second widget throws an exception Quote:An item with the same key has already been added. Recommend using both Controller Name along with the systemName var to create a unique key for the dictionary collection. Also would be helpful to throw that exception into the Able error log if possible in addition to WebTrace. This wasn't an easy problem to find.....
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close