Question 370
At fictional Pinewell Electronics, the Business Central development team is supporting equipment returns and invoicing and reviewing solution architecture design during a localization review (MB820-1.2-015). The observed development issue is that an extension package references a library app but omits the required dependency from app.json. Which recurring engineering check would best prevent this issue from returning?
Explanation
Correct Answer
The ongoing check is to audit app.json dependency lists during release packaging. This helps detect recurrence when an extension package references a library app but omits the required dependency from app.json. The associated correction is to declare the exact dependency identifier and compatible version constraints in the manifest; a confirming result is that compilation and installation resolve the prerequisite app before loading dependent objects.
Incorrect Answers
“Check AppSource compatibility and extension analyzer results before submission” supports the separate task “implement published tables, page extensions and event subscribers rather than distributing a modified base application”, not the reported problem: an extension package references a library app but omits the required dependency from app.json. This case instead calls for “Audit app.json dependency lists during release packaging”.
“Compare exported API surfaces at every version promotion” concerns the separate step “version public interfaces compatibly and review downstream dependency contracts before a breaking change”. The reported issue is that an extension package references a library app but omits the required dependency from app.json, so the direct response is to audit app.json dependency lists during release packaging.
The proposed “Run translation coverage review before each AppSource release” tests a different control: add language translation files and validate translatable properties for the supported locales. The reported condition is that an extension package references a library app but omits the required dependency from app.json; the more direct action is to audit app.json dependency lists during release packaging.