Closed kmpeters closed 4 years ago
If a database with too many macros is loaded, autosaveBuild (myDbLoadRecordsHook specifically) can silently fail to include the associated request file in the built_*.req files that are generated.
myDbLoadRecordsHook
This is the line of code that determines whether or not requestFileCmd is too long: https://github.com/epics-modules/autosave/blob/1fb6ea5e6255d0215cf9cceec7682f78d8426f47/asApp/src/dbrestore.c#L1643
A message should be printed when requestFileCmd is too long so that users have some idea why autosaveBuild works for some databases but not others.
If a database with too many macros is loaded, autosaveBuild (
myDbLoadRecordsHook
specifically) can silently fail to include the associated request file in the built_*.req files that are generated.This is the line of code that determines whether or not requestFileCmd is too long: https://github.com/epics-modules/autosave/blob/1fb6ea5e6255d0215cf9cceec7682f78d8426f47/asApp/src/dbrestore.c#L1643
A message should be printed when requestFileCmd is too long so that users have some idea why autosaveBuild works for some databases but not others.