[Archivesspace_Users_Group] Error when trying to add Event Type

Busch, Ed buschedw at msu.edu
Mon Oct 29 13:26:43 EDT 2018


It all looks successful in the log but I get the "Failed to create Value" error.

I, [2018-10-29T12:23:25.882812 #1487]  INFO -- : Started POST "/enumerations?id=15" for 0:0:0:0:0:0:0:1 at 2018-10-29 12:23:25 -0400
I, [2018-10-29T12:23:25.885272 #1487]  INFO -- : Processing by EnumerationsController#create as */*
I, [2018-10-29T12:23:25.885387 #1487]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"M+yfAohEuLprNaEEaUkNvi12m4UfvKkbuDt9igdRvxw6+Gia/SzqbVOoz5ekJVr1YUB8ERzQcKzSDkoROQnVQg==", "enumeration"=>{"lock_version"=>"2", "name"=>"", "value"=>"litigation_hold"}, "id"=>"15"}
I, [2018-10-29T12:23:25.987311 #1487]  INFO -- :   Rendered shared/_flash_messages.html.erb (0.2ms)
I, [2018-10-29T12:23:25.987576 #1487]  INFO -- :   Rendered shared/_form_messages.html.erb (0.9ms)
I, [2018-10-29T12:23:25.989543 #1487]  INFO -- :   Rendered shared/_flash_messages.html.erb (0.2ms)
I, [2018-10-29T12:23:25.989741 #1487]  INFO -- :   Rendered shared/_form_messages.html.erb (0.7ms)
I, [2018-10-29T12:23:25.991631 #1487]  INFO -- :   Rendered enumerations/_new.html.erb (5.8ms)
I, [2018-10-29T12:23:25.992173 #1487]  INFO -- : Completed 200 OK in 107ms (Views: 7.1ms)
I, [2018-10-29T12:23:30.998868 #1487]  INFO -- : Started POST "/enumerations?id=15" for 0:0:0:0:0:0:0:1 at 2018-10-29 12:23:30 -0400
I, [2018-10-29T12:23:31.001346 #1487]  INFO -- : Processing by EnumerationsController#create as */*
I, [2018-10-29T12:23:31.001475 #1487]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"lVX9LUrbMw2uXTPBrxAN8NNpt+jOUKHfKWo7VMSEpW+cQQq1P7Nh2pbAXVJifFq7n19QfM08eGhDXwzP+tzPMQ==", "enumeration"=>{"lock_version"=>"2", "name"=>"", "value"=>"test"}, "id"=>"15"}
I, [2018-10-29T12:23:31.080980 #1487]  INFO -- :   Rendered shared/_flash_messages.html.erb (0.2ms)
I, [2018-10-29T12:23:31.081277 #1487]  INFO -- :   Rendered shared/_form_messages.html.erb (1.0ms)
I, [2018-10-29T12:23:31.083233 #1487]  INFO -- :   Rendered shared/_flash_messages.html.erb (0.2ms)
I, [2018-10-29T12:23:31.083429 #1487]  INFO -- :   Rendered shared/_form_messages.html.erb (0.8ms)
I, [2018-10-29T12:23:31.085720 #1487]  INFO -- :   Rendered enumerations/_new.html.erb (6.3ms)
I, [2018-10-29T12:23:31.086253 #1487]  INFO -- : Completed 200 OK in 85ms (Views: 7.6ms)

Thanks also for the explanation for the system info error. I put a ticket in the system for that.

Ed

-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Monday, October 29, 2018 12:21 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Error when trying to add Event Type


> On Oct 29, 2018, at 11:07 AM, Busch, Ed <buschedw at msu.edu> wrote:
> 
> Hi-
> 
> Nothing showing up in the log regarding the create event type error. System info report says the log level is set to debug. Any other ideas?
> 
> Not sure if this is related, but I noticed that when I am logged as me (with admin priv), I can't access the system_info page: I get Unable to access Page. When I log in as the actual Admin user, I can access the page.
> 

Not related. System info controller is checking that user = “admin” instead of checking that user has admin privileges, which would probably be a better choice. 

Any clues at all in the log?  Can you post a snippet from around the time of the submit ? 


— Steve Majewski






More information about the Archivesspace_Users_Group mailing list