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

"Edit" in a Checklist within Methodologies returns "NoMethodError" #409

Open
stevewillson opened this Issue Dec 11, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@stevewillson
Copy link

stevewillson commented Dec 11, 2018

Steps to reproduce

Install Dradis-CE from github following the steps outlined in the installation guide. Start Dradis, login to server and select "Methodology" > "Add new" > "New Checklist"

Click the green "Edit" button for the checklist.

Expected behavior

I expect to be able to edit and modify a checklist.

Actual behavior

I receive a page "NoMethodError"
NoMethodError in Methodologies#edit

System configuration

Dradis version: Dradis CE 3.11.0

Ruby version: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux-gnu]

OS version: Kali-rolling (most recent patches applied as of 12/11/18)

@jumson

This comment has been minimized.

Copy link

jumson commented Dec 31, 2018

I get this same error everytime. I'm also using Kali rolling as well, same Dradis version, and Ruby 2.5.1p57.

When I create a new checklist, called "New checklist" this is what I see:
image

Then I click that edit button, and I get this:
image

That full "extracted source" is:

<div class="row-fluid">
  <div class="span6">
    <%= simple_form_for [current_project, @methodology], { url: project_methodology_path(current_project, @methodology), method: :put, html: { class: 'form-vertical' } } do |f| %>
      <%= f.error_notification %>

      <%= f.input :content, as: :text, input_html: { data: { preview: preview_project_methodologies_path(current_project) }, rows: 30, style: 'width:100%' } %>

@aapomm aapomm referenced a pull request that will close this issue Jan 7, 2019

Open

Use explicit arguments for link helper + mini fixes #419

@etdsoft

This comment has been minimized.

Copy link
Member

etdsoft commented Jan 7, 2019

@stevewillson @jumson could you confirm the fix in this PR #419 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment