Comments (3)
Thank you for reporting and the suggested codefix.
Can you please help answer the following?
You mention the intended use of the FileType field in AnswerUploadItem.cs. If checking the code all the way to its use in the UI screens (e.g. voter report, file manager, or on the survey form) it does not seem to be an issue.
FileType field is never used, except in the filemanager where it shows up correctly (using a different Stored procedure). Adding the FileType field to the Stored procedure will therefore have no visible effects on screen or cause a malfunction of a particular feature.
Question: did you find any places where the FileType is actually missing on the UI i.e. should appear but doesnt or cause a malfunction?
Note: the suggested fix will be added for reasons of consistency.
from surveyproject.
Now that you mention it, no, I don't see anywhere in the UI that it is being used or displayed... Upon closer inspection, the only time it's referenced is on the download, upload, and delete buttons when setting the LinkButton's CommandArgument...
button.CommandArgument = string.Format("{0},{1},{2},{3}", new object[] { fileId.ToString(), groupGuid, fileName, fileType });
I only noticed because I was sifting through the code and debugging and noticed the property was null even though it was being referenced
On a side note, I noticed that vts_spFileGetDetails
also does not return the FileType
from surveyproject.
Corrected in SP v. 2.4
from surveyproject.
Related Issues (20)
- CSS XML menu security and useability issues
- Length of Question Helptext (255 char) too limited
- CSS not used consistently on Take Survey, Preview, SurveyMobile
- Paging not working correctly on Mailing Errorlog webpage
- Regular Expression webpage: redundant warning to select survey
- Answer Type webpage: redundant warning message to select survey
- On RegEx delete "linked" surveyanswers removed also
- Access security can be improved in web.config file
- VoterID not encrypted in URL of Individual Responses report
- URL Query encryption
- create survey web application in coloud9
- ResultsReport.aspx and CustomResult.aspx does not show anything HOT 1
- Matrix Question - Displayorder not set correctly
- User file upload HOT 1
- Show survey's title on SurveyMobile.aspx (via cs code) HOT 1
- Unable to build in localhost HOT 1
- Campaigns/ Mailing - incorrect URL when using HTTPS
- Adding TimePicker for survey Open/Close timing
- JavaScriptCode answertype takes first 8000 chars only HOT 1
- How to Start locally with visual studio run HOT 2
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 surveyproject.