Template Typo/Bug

Template Typo/Bug

Old forum URL: forums.lhotka.net/forums/t/341.aspx


cmay posted on Sunday, June 11, 2006

I think I found a problem with the EditableRoot template.

Forgive me if this has already been reported.  I tried searching for it and came up empty.

 

 Public Shared Function NewEditableRoot() As EditableRoot
    Return DataPortal.Create(Of EditableRoot)()
  End Function

  Public Shared Function GetEditableRoot(ByVal id As Integer) As EditableRoot
    Return DataPortal.Create(Of EditableRoot)(New Criteria(id))
  End Function

 

If I'm not mistaken, shouldn't the GetEditableRoot be calling DataPortal.Fetch?

tetranz replied on Sunday, July 30, 2006

You are correct. I reported it to Rocky a week or so ago.

Copyright (c) Marimer LLC