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

bug:MPQ question #205

Open
kjdav opened this issue Oct 31, 2012 · 1 comment
Open

bug:MPQ question #205

kjdav opened this issue Oct 31, 2012 · 1 comment

Comments

@kjdav
Copy link
Member

kjdav commented Oct 31, 2012

User was creating a MPQ and was adding blank parts. The first part was added successfully but second part was never added. No error was shown; link to add the part was unresponsive.

@Dantemss
Copy link
Member

Dantemss commented Nov 1, 2012

Before we lose track of this:

Exception Encountered

User ID: 29
Username: [removed]

URL: https://quadbase.org/multipart_questions/d5315/add_blank_part

Parameters: {"action"=>"add_blank_part", "controller"=>"multipart_questions", "multipart_question_id"=>"d5315"}

Exception: #<SyntaxError: /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:12: syntax error, unexpected '>' ....safe_concat('').toggle();" %>): ... ^ unmatched close parenthesis: /span>: '); used_question_ids = [] @output_buffer.safe_concat(' '); pairs = "support" == kind ? part.child_question.supporting_question_pairs : part.child_question.prerequisite_question_pairs @output_buffer.safe_concat(' '); if pairs.empty? @output_buffer.safe_concat(' [None]</i /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:24: syntax error, unexpected tIDENTIFIER, expecting ')' ...partial => 'multipart_questions/pair_with_x', ... ^ /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:24: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' ...ultipart_questions/pair_with_x', ... ^ /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:36: unknown regexp options - dv unmatched close parenthesis: /div> '); available_part_options = part_options.reject{|po| used_question_ids.include?(po[1])} @output_buffer.safe_concat(' '); if !available_part_options.empty? @output_buffer.safe_concat('

 </i /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:38: syntax error, unexpected '<' <div style="float:left; displa... ^ /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:38: syntax error, unexpected keyword_class, expecting ')' ...float:left; display:none" class="');@output_buffer.append= (... ... ^ /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:51: unknown regexp options - dv unmatched close parenthesis: /div> '); end @output_buffer.safe_concat('</i /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:51: unterminated string meets end of file /srv/www/www.quadbase.org/releases/20121029211053/app/views/multipart_questions/_one_kind_part_dependencies.html.erb:51: syntax error, unexpected $end, expecting ')'>

Backtrace:

app/views/multipart_questions/_part_dependencies.html.erb:22:in _app_views_multipart_questions__part_dependencies_html_erb__126906850_103793900' app/views/multipart_questions/_question_part_summary.html.erb:12:in_app_views_multipart_questions__question_part_summary_html_erb___682054194_103831220'
app/views/multipart_questions/add_blank_part.js.erb:11:in _app_views_multipart_questions_add_blank_part_js_erb___510845781_103934220' app/controllers/multipart_questions_controller.rb:16:inadd_blank_part'
app/controllers/application_controller.rb:43:in set_admin_overrides' app/middleware/flash_session_cookie_middleware.rb:20:incall'

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