SalesforceLabs / survey-force

88 stars 63 forks source link

Can't install #33

Closed wahoobie closed 5 years ago

wahoobie commented 7 years ago

I'd like to get this setup for the first time in a dev instance but the following is resulting at install time: This app can't be installed. There are problems that prevent this package from being installed. Illegal assignment from List to profile ViewSurveyController: Illegal assignment from List to profile Apex class 'ViewSurveyController' does not exist

The instance is Summer '17. Any ideas? Thank you!

jrattanpal commented 7 years ago

That's strange as I don't see any issues that might cause it. It seems error might be coming from https://github.com/ForceDotComLabs/survey-force/blob/master/src/classes/ViewSurveyController.cls at line#102

can you run following code in "Execute Anonymous" coe and let me know theresult?

String profileId = UserInfo.getProfileId(); Profile p = [select Id, UserType from Profile where Id=:profileId]; System.debug(p);

jrattanpal commented 5 years ago

I believe this issue was fixed and it was because of object name issue