Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Corrupt Wiki Issue NoMethodError in Projects#show

I was clearing some old work off an existing wiki as I had been doing all day, when one of them appeared to corrupt, initially I just got a Server Error message and later it was a little more informative and then it was a little more informative delivering this message.


NoMethodError in Projects#show

Showing /usr/share/collabd/coreclient/app/views/cc/_comment.html.erb where line #2 raised:

undefined method `authorUserGUID' for nil:NilClass


Extracted source (around line #2):

1: <% admin_or_owner = (@user.isAdmin or current_user_is_owner) %> 2: <% comment_author = (@user.guid == comment.authorUserGUID) %> 3: <% has_actions = (comment_author or admin_or_owner) %> 4: <div class="cc-comment selectable <%= comment.isRead ? '' : 'unread' %> <%= comment.isApproved ? '' : 'unapproved' %> <%= has_actions ? 'hasactions' : '' %>" 5: data-guid="<%= comment.guid %>"


Trace of template inclusion: app/views/sidebars/_comments.html.erb, app/views/cc/_sidebar_section.html.erb, app/views/cc/_sidebar.html.erb, app/views/projects/show.html.erb

Rails.root: /usr/share/collabd/coreclient

Application Trace | Framework Trace | Full Trace

app/views/cc/_comment.html.erb:2:in `_app_views_cc__comment_html_erb__1619715857_2226649020_7456780' app/views/sidebars/_comments.html.erb:31:in `_app_views_sidebars__comments_html_erb___1879081492_2226691040_22353108' app/views/cc/_sidebar_section.html.erb:8:in `_app_views_cc__sidebar_section_html_erb___1040273053_2226767260_4455948' app/views/cc/_sidebar.html.erb:9:in `_app_views_cc__sidebar_html_erb___737302050_2226792360_22948564' app/views/projects/show.html.erb:48:in `_app_views_projects_show_html_erb__1481224347_2227073920_0' app/controllers/projects_controller.rb:107:in `show'


Request

Parameters:

{"id"=>"historygrp17b", "title"=>"History_Grp_1"}


Show session dump

Show env dump

Response

Headers:

None

All I want to do is delete this particular Wiki and I'll rebuild it manually, but it seems to slow the Server right down every time someone clicks on it.

Any Ideas how I can accomplish this?

Posted on Jul 7, 2014 10:45 PM

Reply

There are no replies.

Corrupt Wiki Issue NoMethodError in Projects#show

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.