Skip to content
Bug Barometer

Unable to delete/remove variable from Apex controller because it's falsely determined that it's being referenced in the associated Vf page.

Salesforce closed this issue.

Summary

Unable to delete/remove a variable in an Apex controller because the Apex compiler believes that it's being referenced in the Visualforce page despite there being no reference to the variable in the page. This only happens if the Vf page contains a custom component whose controller contains a variable of the same name.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Closed with 3 reports

    Nov 30, 2026

Also open in Uncategorized