Comments (8)
I'm a little unclear as to what you are trying to do and what the problem is. When you say you are trying to override the file, do you mean that you are trying to create a new layout that looks/works differently than the original, or are you just trying to get past the error you pasted above?
Also, can you tell me a little about your application - is this an existing application and are you trying to retrofit surveyor_gui, or is this a brand new application?
from surveyor_gui.
@kjayma I'm just trying to get past the error. This is new application, using master branch of surveyor_gui.
I experienced this error when i created a question (Grid - drop-downs ) with choice for other and comments selected. if i exclude other and comments then it will work fine.
Note:
I also override question_type_methods.rb because it did not allowed me to create question when choice for other and comments are selected. It gave me error "undefined method + for nil class" because display_order of default answer was nil. Below is code snippet which i included to make it work.
https://gist.github.com/akhildave/786342b179a627910ecc
from surveyor_gui.
OK, I'll take a look. Would appreciate if you could put together a pull request for the change you did make.
from surveyor_gui.
I tried to reproduce the error and am so far unsuccessful. One thing I noticed is that the "Row Heading" seems to have been edited and moved to a different spot in the form. It looks like you may have edited the _question.html.haml view.
If this is the case, be aware that changes to the form could be affecting the operation of the javascript and ajax calls to create the new question. The problems may be caused by your code changes. It's possible that by moving things around, the javascript may no longer pick up changes to the "Row Heading" portion of the DOM. If you've got a fork posted to github, I could take a look and give you some more specific comments.
from surveyor_gui.
Thanks for your response, and sorry for delayed reply, as i was away for a work..
Here is the complete code in github
https://github.com/akhildave/survey-application
Skype: akhiltheway
from surveyor_gui.
No problem. I'll have a look as soon as I can.
On Sun, Mar 8, 2015 at 2:55 PM, Akhil Dave [email protected] wrote:
Thanks for your response, and sorry for delayed reply, as i was away for a
work..
Here is the complete code in github
https://github.com/akhildave/survey-application
Skype: akhiltheway—
Reply to this email directly or view it on GitHub
#44 (comment).
from surveyor_gui.
@akhildave I understand now how you triggered the bug, and it is indeed a problem in surveyor_gui. I'll get a fix out.
from surveyor_gui.
Thank you
from surveyor_gui.
Related Issues (20)
- Slider becomes dropdown after a logic dependency is added HOT 3
- Status of mandatory question feature HOT 1
- Feature: Dependencies to support sum of integer responses HOT 1
- Surveyor gui not available at /surveyforms like readme says HOT 1
- Documentation needed for layout files regarding #surveyor_gui_mount_point
- Support for HTML in answers HOT 1
- Asset precompile fails with undefined method `column_attributes' HOT 6
- Questions that are mandatory and dependent on another question do not display HOT 2
- Report generation doesn't scale HOT 14
- Testbed app raising Forbidden Attributes Error HOT 6
- Unable to perform rails g surveyor_gui:install HOT 6
- override surveyor layout HOT 2
- missing migration for QuestionType model? HOT 1
- SurveyorController Pundit authorization HOT 1
- Unable to execute the command "rails g surveyor_gui:install" HOT 1
- Help Required HOT 2
- Install process causing "PermittedParameters" error HOT 1
- Custom templates HOT 3
- Rails 6 surveyor_gui not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surveyor_gui.