Issue T2013
Visible to All Users

C# Demonstration project // integration rename issue

created 6 years ago (modified 6 years ago)

Hello.

In the C# demonstration project, it appears that if you create a new survey, update the name and then change the survey, it fails.

I suspect the issue is due to the server application callback (that you set so that it can save the data) is either using the old ID or is corrupting the one that it has.

survey-creator.js

surveyCreator.loadSurvey(surveyId);
surveyCreator.saveSurveyFunc = function(saveNo, callback) {

This occurs in our 'production' integration as well, there does not appear to be an easy workaround.

Steps to reproduce

  1. Add a new survey
  2. Immediately edit it
  3. Change the name
  4. Update the new name
  5. Add a step (say rating in my case)
  6. Save the survey
  7. Fails … ID is null

The screen shot is a break point of a save request.

Thank you in adance

Comments (1)

    Hello,
    We will fix it.

    Thank you,
    Andrew
    SurveyJS Team

    Answers approved by surveyjs Support

    created 6 years ago

    Hello,

    I've fixed the issue via the https://github.com/surveyjs/surveyjs-aspnet-mvc/commit/a05bf88737def1dcbfecc7c8376dd8fffe3df8dd commit

    Thanks, Serge
    SurveyJS Team