SalesforceLabs / Milestones-PM

Lightweight Project and Task Management for Force.com #forcedotcom
http://labs.force.com/pm
208 stars 520 forks source link

UNSUPPORTED_API_VERSION: The API version that was specified (20.0) is below the minimum supported (21.0 #156

Open Snatchio opened 2 years ago

Snatchio commented 2 years ago

Within a Project Detail Page, when trying to move a milestone timeline by grabbing and sliding in the Gantt view, I get the following error;

An error has ocurred:: {faultcode:'sf:UNSUPPORTED_API_VERSION', faultstring:'UNSUPPORTED_API_VERSION: The API version that was specified (20.0) is below the minimum supported (21.0). Change the version number and run the request again.', detail:{UnexpectedErrorFault:{exceptionCode:'UNSUPPORTED_API_VERSION', exceptionMessage:'The API version that was specified (20.0) is below the minimum supported (21.0). Change the version number and run the request again.', }, }, Screen Shot 2022-06-27 at 1 09 15 PM Screen Shot 2022-06-27 at 1 09 15 PM }

I attached a screenshot.

alexleduc-acc commented 2 years ago

I was able to have the error disappear after I changed all the Apex Class version to 21.0 and...changed line 16 in the Milestone1_Charts_GanttComponent from

to