Skip to content

@api recordId returns null in apiVersion 55.0 #3011

Open
@gmpmovies

Description

@gmpmovies

Description

When a component is loaded on a record page, @api recordId; should pull in the record id, however when using apiVersion 55.0, it returns null.

Steps to Reproduce

If you switch the apiVersion in the .js-meta.xml to: <apiVersion>55.0</apiVersion>, then the recordId will not be fetched and will return null. However if you switch the apiVersion to <apiVersion>54.0</apiVersion>, it will work as expected. There appears to be a bug in version 55.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    External: Other SalesforceCategorizes issue or PR as related to Salesforce related features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions