Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Crawford Tait 11 posts 64 karma points
    Apr 24, 2015 @ 11:55
    Crawford Tait
    0

    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)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies