Suha Can
dbe908a717
Exception handling consolidation in command handlers.
...
Use Context.Output to write error messages when you handle an Exception or an error case. If you can't recover afterwards, just return.
Don't throw an exception from within the handler unless necessary.
-> If you want to throw due to an inner exception, throw an OrchardException. Add an error message and the exception as the innerexception of your OrchardException.
Your exception will be caught by the command executive, an error message will indicate which command failed, and the inner exceptions will be displayed.
Also, do not return values from commands, they are not services.
--HG--
branch : 1.x
extra : transplant_source : %5Ej%123%DA%E0%28%A7l%F5%F9%A4%B0z%05%EB%E4%21%FD%DC
2011-06-10 13:34:29 -07:00
Suha Can
95c0ac69e6
IExceptionPolicy concept and default implementation.
...
Updating EventBus and UnhandledExceptionFilter to use the exception policy.
Adding OrchardFatalException.
Updating text on default error page.
(Part II) Removing the unhandled "catch" from module controllers. If there are "expected" exceptions, move them closer to the APIs where they occur.
Removing ControllerExtensions.Error and refactoring.
--HG--
branch : 1.x
extra : transplant_source : %5C9a%E2%9A%F4%ACI%A3F%3C%D2%5C%CC%5C%9A.%E1%EF%3C
2011-06-09 16:34:31 -07:00
Suha Can
d83d922a6b
(Part I) Removing the unhandled "catch" from module controllers. If there are "expected" exceptions, move them closer to the APIs where they occur.
...
--HG--
branch : 1.x
extra : transplant_source : %C9q%EC%E3%C3%E3%98QL%27%2B%D68%A9x%DD%40J%93A
2011-06-08 16:26:58 -07:00
Suha Can
51e43a624a
Exception handling in controllers. No more YSOD.
...
Create custom 500 error page (with admin theme) for all technical errors (i.e. exceptions that the app doesn't handle)
Implement an filter that will catch all unhandled exceptions and display the custom 500 page. Filter will also use ILogger to log the exception.
--HG--
branch : 1.x
extra : transplant_source : %F5P%0E%3EXv%A0%A3%85%DAu7%9Et%FB2l%86%FC%A3
2011-06-08 14:27:05 -07:00
Suha Can
fa41a1b736
Removed the FailFast option on EventHandler. Will call notifier instead.
...
--HG--
branch : 1.x
extra : transplant_source : %A6%BA%F1%8A%F8%28R%05%7D%5C%F3%9D%27%3D%FD%C2%3B%88%82%AF
2011-06-07 16:58:33 -07:00
Sebastien Ros
9943c889f4
Fixing unit tests for Comments
...
--HG--
branch : 1.x
2011-11-09 11:21:09 -08:00
Sebastien Ros
4e5edf5438
Fixing unit tests for Search
...
--HG--
branch : 1.x
2011-11-09 11:17:28 -08:00
Sebastien Ros
62aa36c5de
Fixing nullable fields storage
...
--HG--
branch : 1.x
2011-11-08 15:51:39 -08:00
Sebastien Ros
36d83615df
Fixing Nullable types storage for fields
...
--HG--
branch : 1.x
2011-11-08 14:27:56 -08:00
Sebastien Ros
722cad36ee
Adding a css class for admin tables
...
--HG--
branch : 1.x
2011-11-07 18:10:53 -08:00
Sebastien Ros
5a908ef0bd
Making Tags projections available if Tags is enabled
...
--HG--
branch : 1.x
2011-11-07 16:10:36 -08:00
Sebastien Ros
d4632ec770
Adding missing files for jQuery
...
--HG--
branch : 1.x
2011-11-06 09:38:03 -08:00
Sebastien Ros
ba46f15447
Adding missing files for jQuery
...
--HG--
branch : 1.x
2011-11-06 09:37:23 -08:00
Sebastien Ros
72155d2919
Updating jQuery to 1.7
...
--HG--
branch : 1.x
2011-11-04 13:53:22 -07:00
Sebastien Ros
f9ffc95964
Fixing references to SqlCe library
...
--HG--
branch : 1.x
2011-11-04 10:48:35 -07:00
Sebastien Ros
d3064355f6
Adding WithIds to IExpressionFactory
...
--HG--
branch : 1.x
2011-11-03 19:16:29 -07:00
Sebastien Ros
cad9138ac4
Securing json endpoint for tags
...
--HG--
branch : 1.x
2011-11-02 15:34:01 -07:00
piedone
a1d749423e
#18182 : Implementing Autocompleted on Tags
...
Work Item: 18182
--HG--
branch : 1.x
2011-11-02 15:15:29 -07:00
Sebastien Ros
bc7be146f0
Updating jQuery UI css file
...
--HG--
branch : 1.x
2011-11-02 15:13:27 -07:00
Sebastien Ros
eafb6930ab
Allowing LuceneSearchBuilder.Parse to be used with .Mandatory() and .AsFilter()
...
--HG--
branch : 1.x
2011-11-01 16:58:07 -07:00
Sebastien Ros
2760db08b2
Back porting Pager shapes from dev branch
...
--HG--
branch : 1.x
2011-11-01 16:07:20 -07:00
Sebastien Ros
d7f258b830
Adding CommentsFilter
...
--HG--
branch : 1.x
2011-10-30 10:46:16 -07:00
Sebastien Ros
8859efb933
Refactoring CommentsPart to enable querying over comments
...
--HG--
branch : 1.x
2011-10-30 10:45:29 -07:00
Sebastien Ros
01fc3a7ab6
Fixing FieldStorageEvents regarding common types
...
--HG--
branch : 1.x
2011-10-27 21:24:44 -07:00
Sebastien Ros
f3bdce25d5
Fixing ellipsis extension method
...
--HG--
branch : 1.x
2011-10-26 15:24:28 -07:00
Sebastien Ros
64166e8b5e
Adding word boundary option to Ellipsis extension method
...
--HG--
branch : 1.x
2011-10-25 18:11:11 -07:00
bertrandleroy
d5c42cbc5a
Added test for multiple host names on a single tenant.
...
--HG--
branch : 1.x
2011-10-21 21:33:46 -07:00
bertrandleroy
e52f990b90
Fixing RunningShellTableTests after multi-tenancy change to allow for comma-separated lists of tenants.
...
--HG--
branch : 1.x
2011-10-21 18:46:46 -07:00
bertrandleroy
7e8e0eeecf
Adding web.config so jQueryUI images can be served.
...
--HG--
branch : 1.x
2011-10-21 17:53:18 -07:00
bertrandleroy
f557207d6c
Roles ordered by name in admin page
...
--HG--
branch : 1.x
2011-10-21 17:47:39 -07:00
bertrandleroy
d638fafb16
Merge
...
--HG--
branch : 1.x
2011-10-21 17:26:51 -07:00
bertrandleroy
cf8afd07d7
Bringing Content admin menu item one notch up to be above Blog
...
--HG--
branch : 1.x
2011-10-21 17:16:05 -07:00
Sebastien Ros
715c81047a
Merge
...
--HG--
branch : 1.x
2011-10-20 00:17:58 -07:00
Sebastien Ros
44ec6440c6
Adding FieldDriver.Describe to let content fields expose their storage properties
...
--HG--
branch : 1.x
2011-10-20 00:17:13 -07:00
bertrandleroy
d633df3a43
Minor fixes to refresh.html
...
--HG--
branch : 1.x
2011-10-18 22:10:55 -07:00
bertrandleroy
d1b98262c8
Minor fixes to refresh.html
...
--HG--
branch : 1.x
2011-10-18 22:00:46 -07:00
Sebastien Ros
3b137fe0cd
Fixing Sql Ce reference for unit tests
...
--HG--
branch : 1.x
2011-10-18 15:58:06 -07:00
piedone@pyrocenter.hu
645e737981
Fixing issue #18170
...
--HG--
branch : 1.x
extra : transplant_source : %2B%5E%B6%9F%A3/%9EPl%87%C82i%22%28I%DC%3B%27%C6
2011-10-17 12:16:54 +02:00
Sebastien Ros
e2af924c87
Adding missing file
...
--HG--
branch : 1.x
2011-10-18 15:00:09 -07:00
Sebastien Ros
674192ed59
Adding filters to Orchard.Projections
...
--HG--
branch : 1.x
2011-10-18 14:37:49 -07:00
Sebastien Ros
d56e83b815
Merge with default
...
--HG--
branch : 1.x
2011-10-14 15:51:16 -07:00
Sebastien Ros
cad1149ea5
Fixing Azure solution and build script
2011-10-14 15:45:50 -07:00
Sebastien Ros
1bccf5e148
Formating HtmlHelperExtensions class
...
--HG--
branch : 1.x
2011-10-14 10:39:46 -07:00
Steve@raptor
52dfa68d74
#18167 : Fixing drop-down box doesn't work in FireFox
...
Work Item: 18167
--HG--
branch : 1.x
extra : transplant_source : %DC%BCr%BD%B0%01RXP%FF%2B%23%11/D%83%0A%07%E8q
2011-10-14 10:39:55 -04:00
Sebastien Ros
efa24db822
Adding a space before "Lost Your Password?"
...
--HG--
branch : 1.x
2011-10-14 10:15:08 -07:00
Sebastien Ros
8b4c249e07
Specializing a widget's alternate to use the shape name too. Otherwise there
...
could be conflicts if two shapes are returned for the same content item.
--HG--
branch : 1.x
2011-10-12 17:00:44 -07:00
Sebastien Ros
212483445c
Fixing WidgetAlternatesFactory to check for a content item in ContentPart too
...
--HG--
branch : 1.x
2011-10-12 16:41:37 -07:00
Sebastien Ros
77eedb8f0d
Fixing MatchMode in dynamic queries
...
--HG--
branch : 1.x
2011-10-11 15:52:26 -07:00
Sebastien Ros
190bac9ba8
Implementing dynamic query operators
...
--HG--
branch : 1.x
2011-10-11 15:12:50 -07:00
Sebastien Ros
ec4cb77f78
Addind missing localizer initialization
...
--HG--
branch : 1.x
2011-10-11 15:12:17 -07:00