Skip to content

admin settings error saving: null identifier #35

@kaide

Description

@kaide

Hi I downloaded the source code from github(dated dec 3 2012)

I debug using vs 2012 and iis express and sql ce4; at admin->settings page there are 30 settings in the collection; If I do not touch the checkbox or textbox in the html form with mouse or tab, some Setting.Id will be 0, and throw the null identifier exception.

even after all the 30 settings has Id <> 0 after I touch the input form, I still get the null identifier exception.

firebug shown 3 javascripts error:
SyntaxError: syntax error
<!doctype html>
jquery...iVvaRE= (line 1)

SyntaxError: syntax error
<!doctype html>

settings (line 449)
ReferenceError: MiniProfiler is not defined

miniprofiler already set in web.config

Did I miss something?

error section:
Line 37: foreach (var setting in settings)
Line 38: {
Line 39: session.SaveOrUpdate(setting);
Line 40: }
Line 41: session.Flush();

Source File: ...\FunnelWeb-master\src\FunnelWeb\Model\Repositories\Internal\AdminRepository.cs Line: 39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions