Support for API v40.0
Closed this issue · 6 comments
mick-mehigan commented
Working with version v0.22.73
, I'm getting two errors when doing a
$ force push -f apexFile
- [APEX] Error Method does not exist or incorrect signature: void publish(SObject) from the type EventBus
- [OBJECT]Error Property 'enableChangeDataCapture' not valid in version 39.0
dcarroll commented
Try setting the api version to v40.0
mick-mehigan commented
https://github.com/heroku/force/releases/tag/v0.22.73 did update the api version to v40.0, did it not?
dcarroll commented
Yes, but based on the message it looks like it is set locally to v39.0
…On Fri, Jul 28, 2017 at 10:40 AM, Mick Mehigan ***@***.***> wrote:
https://github.com/heroku/force/releases/tag/v0.22.73 did update the api
version to v40.0, did it not?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#427 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHGHpa1nbK9EFY1fWqIDrilelfRkltQks5sSh0LgaJpZM4Ombti>
.
mick-mehigan commented
where can I check that?
$ force apiversion
returns v40.0
the meta data of the class being put to Org has
<apiVersion>40.0</apiVersion>
dcarroll commented
Then I wonder why it says v39.0 in the error message?
…On Fri, Jul 28, 2017 at 11:21 AM, Mick Mehigan ***@***.***> wrote:
where can I check that?
$ force apiversion
returns v40.0
the meta data of the class being put to Org has
<apiVersion>40.0</apiVersion>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#427 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHGHhlRarhb6WDwD_4ucr3LSpOYZKSBks5sSia1gaJpZM4Ombti>
.
mick-mehigan commented
I created a new Org, and force pushed those two classes, this time with success.