Forms 4.1 - FormStorage::GetFormFromRecordId throws error
Passing a Guid constructed from the UniqueId of a submission I see the error below, what is the intended usage?
2015-04-24 10:49:56,130 [65] WARN umbraco.macro - [Thread 97] Error loading Partial View (file: ~/Views/MacroPartials/viewSurvey.cshtml). Exception: System.ArgumentException: Parameter '@id' specified but none of the passed arguments have a property with this name (in 'SELECT Form AS FormId
FROM UFRecords WHERE Id = @id')
at Umbraco.Core.Persistence.Database.<>c__DisplayClass1.<ProcessParams>b__0(Match m)
Forms 4.1 - FormStorage::GetFormFromRecordId throws error
Passing a Guid constructed from the UniqueId of a submission I see the error below, what is the intended usage?
2015-04-24 10:49:56,130 [65] WARN umbraco.macro - [Thread 97] Error loading Partial View (file: ~/Views/MacroPartials/viewSurvey.cshtml). Exception: System.ArgumentException: Parameter '@id' specified but none of the passed arguments have a property with this name (in 'SELECT Form AS FormId
FROM UFRecords WHERE Id = @id')
at Umbraco.Core.Persistence.Database.<>c__DisplayClass1.<ProcessParams>b__0(Match m)
at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
at Umbraco.Core.Persistence.Database.CreateCommand(IDbConnection connection, String sql, Object[] args)
at Umbraco.Core.Persistence.Database.ExecuteScalar[T](String sql, Object[] args)
at Umbraco.Forms.Data.Storage.FormStorage.GetFormFromRecordId(Guid recordId)
is working on a reply...