Saving a controller via the Development toolbar overwrites defined Apex class API version to latest
Last updated 2022-02-10 ·Reference W-2912239 ·Reported By 1 users
Summary
Saving a controller via the Development toolbar overwrites defined Apex class API version to latest
Repro
1. Define an apex controller, set API version to for example 30.0
global class changeMeCon {}
2. Define a page using this controller (named "changeMe")
<apex:page controller="changeMeCon"></apex:page>
3. Enable "Development mode" (Settings -> Advanced User Details)
4. Go to /apex/changeMe
5. In the development toolbar, go to "changeMeCon" add something and click the save icon
6. Go to setup -> Apex classes and notice changeMeCon is now on the latest API version
Workaround
n/a
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.