Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations won't process #264

Open
tanyaclement opened this issue Dec 27, 2022 · 2 comments
Open

Annotations won't process #264

tanyaclement opened this issue Dec 27, 2022 · 2 comments

Comments

@tanyaclement
Copy link
Contributor

Tried to upload these annotations but it throws an error.
Ellison.txt

Project: https://github.com/tanyaclement/ellison_test

@tanyaclement
Copy link
Contributor Author

I tried again. Here's the new repository: https://github.com/tanyaclement/Ellison_Test3
The annotations are attached.
and the error:
Showing /home/audiannotate/audi-annotate/AudiAnnotateWeb/app/views/items/show.html.erb where line #123 raised:

No route matches {:action=>"delete_annotation_layer", :controller=>"items", :layer=>"", :repo_name=>"Ellison_Test3", :slug=>"ellison_test3", :user_name=>"tanyaclement"}, missing required keys: [:layer]

    <% @item.canvases.each do |canvas| %>
    <% canvas.annotation_pages.each do |page| %>
      <%= page.label %> <%= link_to("Delete", delete_annotation_layer_path(@item.user_name, @item.repo_name, @item.slug, page.label)) %><br/>
    <% end %>
  <% end %>
  <h3> Annotation Files </h3>

Ellison.txt

@benwbrum
Copy link
Collaborator

The source of the problem was a layer column with blank values. We need to figure out what the right behavior ought to be when we encouter these. Current proposal is to automatically label them as unlabeled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants