The script generated when altering a MV attempts to catch the "No PK" error, but it appears Oracle 19 is not throwing -12014 error but instead a "ORA-12016: materialized view does not include all primary key columns" error. The script should be updated to catch either assuming 12014 is still valid.
Attached is output from running the generated script.
MV Update PK Error.txt (1.7 KB)
I also have scripts set to record start and end times, but this does not seem to work correctly in scripts run from the edit object wizards. You will see the following lines at the end of the attached file:
Time End: 11/2/2021 9:19:28 AM
Elapsed Time for Script Execution: 44502 days 09:19:28 hours
I believe the issue caused because the generated scripts do not set the start time.