You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things that should be tackled is preventing the root controllers and area names from clashing.
Say a user has a CatalogsController, and also a Catalogs area with further controllers. The MVC class would have a MVC.Catalogs field for the controller and a MVC.Catalogs property for the area.
I've added a basic check for this, and will rename the area property in the MVC class to MVC.CatalogsArea. All other areas (that don't clash) don't get the suffix.
If someone has a CatalogsAreaController or a CatalogsArea area this will of course cause a clash, but I'm not handling that, since there's no practical reason to have a controller or area named this way :)
Does that sound reasonable?
(a patch to finish this logic will be in the next pull request late this week)
The text was updated successfully, but these errors were encountered:
! Fixing view class reference for virtual controllers
! Fixing display/editor template registrations
(also seems like I already did T4MVC#51 in previous commits)
One of the things that should be tackled is preventing the root controllers and area names from clashing.
Say a user has a
CatalogsController
, and also aCatalogs
area with further controllers. The MVC class would have aMVC.Catalogs
field for the controller and aMVC.Catalogs
property for the area.I've added a basic check for this, and will rename the area property in the MVC class to
MVC.CatalogsArea
. All other areas (that don't clash) don't get the suffix.If someone has a
CatalogsAreaController
or aCatalogsArea
area this will of course cause a clash, but I'm not handling that, since there's no practical reason to have a controller or area named this way :)Does that sound reasonable?
(a patch to finish this logic will be in the next pull request late this week)
The text was updated successfully, but these errors were encountered: