#
Constructor
I have been looking at the various services in 2.0 core.
To do this I created a test module and a class derived from the 'ContentItem' class. I can save this ti the database via the IContentItemService.
When I try to delete it I get this:
Does this mean that V2.0 is not at a stage where testing can take place for R&D purposes?
If it is possible I will study to build modules that are specific to 2.0 and use the new infrastructure.
To do this I created a test module and a class derived from the 'ContentItem' class. I can save this ti the database via the IContentItemService.
When I try to delete it I get this:
Provided id of the wrong type.
Expected: System.Int64, got System.Guid
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: NHibernate.TypeMismatchException: Provided id of the wrong type.
Expected: System.Int64, got System.Guid
Source Error:
Line 48: public T GetById(Guid id)
Line 49: {
Line 50: return ( T ) this.GetNewSession().Load(persistentType, id);
Line 51: }
Line 52:
Does this mean that V2.0 is not at a stage where testing can take place for R&D purposes?
If it is possible I will study to build modules that are specific to 2.0 and use the new infrastructure.