As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: AN EMERGENCY WAS DECLARED AND THE AIRCRAFT DIVERTED TO LAX, ON APPROACH INTO SAN WHEN SELECTING FLAPS 2, FLIGHT CONTROL FAULTS FLAPS MESSAGE DISPLAYED. FLAPS WERE AT LESS THAN ONE AND SLATS WERE AT MID POSITION. FLIGHT CREW COMPLIED WITH ECAM AND QRH PROCEDURES. THE AIRCRAFT LANDED SAFELY AT LAX WITHOUT FURTHER INCIDENT. MAINTENANCE REPLACED THE SLAT AND FLAP CONTROL COMPUTER #1 AND ACCOMPLISHED A SATISFACTORY OPERATIONAL CHECK.