Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

getting error: SurveyLanguageSetting.surveyls_legal_notice

  • dsplets
  • dsplets's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #221407 by dsplets
I tried to export a survey from the lime survey cloud (Versie 3.27.19) to the community version (5.1.17). But when I trie to import a lss or lsa file I get the error: Het attribuut "SurveyLanguageSetting.surveyls_legal_notice" is niet gedefinieerd.When I check my surveys, I see corrupt surveys. When I click: I get the error Selected Surveys language not found
Can someone help me? We are using DUTCH as language.

Kindest regards,

Danny
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago - 3 years 3 months ago #221418 by holch
Do a integrity check with the installation and with the survey.

Surveys from LS3 should import into LS5, the problem is the other way round, you can't import surveys from LS5 to LS3.

Also, sometimes just copying the survey within LS3 and then download the copy of the survey might solve the errors (no guarantee of course).

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 3 years 3 months ago by holch.
The topic has been locked.
More
3 years 3 months ago #221425 by jelo
I recommend to open a bug ticket.
The "Survey legal notice" field is only availble in the LimeSurvey Cloud.
We will see more and more difference between the Community and Cloud version.
So certain bugs and issues will only be seen by a subset of users.
www.limesurvey.org/manual/Data_policy_settings

A workaround approach is often to the remove the setting from the LSS-export with a texteditor.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #221428 by Joffm
Here, what you have to remove from the lss file:
   <fieldname>surveyls_legal_notice</fieldname>
   <surveyls_legal_notice><![CDATA[]]></surveyls_legal_notice>


And additionally you may remove these rows.
   <fieldname>showdatapolicybutton</fieldname>
   <fieldname>showlegalnoticebutton</fieldname>

    <showdatapolicybutton><![CDATA[1]]></showdatapolicybutton>
    <showlegalnoticebutton><![CDATA[1]]></showlegalnoticebutton>


But here you get only a warning that the buttons were not imported.
 

And it is obviously a bug.
In Community version 3.27.17 I could import this file without any issue. 
So while version 3.x seems to be able to ignore this discrepancy, version 5.x is not.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • dsplets
  • dsplets's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #221429 by dsplets
Removing these fields solves the problems for a LSS-file. 

But how can I fix this for a LSA-file? 

Many thanks for the help!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #221430 by Joffm
lsa is a zip file.
Unzip it, remove the lines in the lss,
Zip again, rename to "lsa".

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • dsplets
  • dsplets's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #221434 by dsplets
I can unarchive the LSA but not archiving again. I tried with archiving on my MacBook and with winzip.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #221435 by Joffm
Another option:
Install a local 3.x. version.
Import it, export again, and import now into 5.x

Or:
Export the data as vv-export
Export only the lss, remove the lines, import
Import the vv-export file.

Joffm

P.S. I tested both options in  5.1.13. with an export of the cloud.
1. the option with the unzip - zip
2. the option with vv-export

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
3 years 3 months ago #221563 by c_schmitz
I was not able to reproduce the problem.
I exported lss and lsa files from LS5/LS3 cloud to LS5 Community edition and in all cases the additional properties were ignored.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose