I continue to have no access to token attributes.

The problem seems to involve ls_api/limesurvey_sync_ls_api_survey.inc

I believe that in line 102, the values from my survey are not being unserialized, so the array remains empty. I can see the attribute info after line 65 but it seems to be in a format that fails in line 102.

Thanks.

Comments

jsibley created an issue. See original summary.

jsibley’s picture

Here is the format that, I believe, cannot be unserialized:

{"attribute_1":{"description":"RaterName","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_2":{"description":"RaterID","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_3":{"description":"RateeName","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_4":{"description":"RateeID","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_5":{"description":"RateeGender","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_6":{"description":"PairID","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_7":{"description":"Placeholder","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_8":{"description":"RaterSelf","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_9":{"description":"RaterSelfName","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_10":{"description":"RateGroup","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_11":{"description":"RateRatee","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_12":{"description":"SurveyTitle","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_13":{"description":"RaterGroupName","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_14":{"description":"RateeGroupName","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_15":{"description":"SurveyDescription","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_16":{"description":"SurveyType","mandatory":"N","show_register":"N","cpdbmap":""},"attribute_17":{"description":"SurveyIteration","mandatory":"N","show_register":"N","cpdbmap":""}}

  • thedut committed b0c59ff on 7.x-2.x
    Issue #2747993 fix survey attributes for last LS versions
    
thedut’s picture

Title: Ongoing issue with attributes » Survey attributes not availables
Version: 7.x-2.x-dev » 7.x-1.8
Assigned: Unassigned » thedut

Hello,

Thanks for reporting. I was aware of this issue. It occures only with latest version of LimeSurvey software (v2.5+).
I have just commited a fix for the 7.x-2.x dev version.
I change the issue metadatas because I still need to fix it for the 7.x-1.x version of the LimeSurvey Sync module.

  • thedut committed b0c59ff on 7.x-3.x
    Issue #2747993 fix survey attributes for last LS versions