• Carlos Roy Billones Jr 4
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi, 

Class started throwing below errom from yesterday. We have not updated anything  recently. 

Error : System.QueryException: No such column 'lastpasswordchangedate' on entity 'User'

Observations:
  • This class is failing only in sandbox but not in prod.
  • Sandbox Version - Summer '20 Patch 10  and Spring '20 Patch 23.21
  • If i update the class to without sharing then it is working fine.
  • The class is failing only while testing the functionlity using community user but it is perfectly working fine for internal user.
Any help will/would be appreciated?
  • June 24, 2020
  • Like
  • 0