Question 480
At fictional Ironwood Charities, the Business Central development team is supporting grant funding and accounting and reviewing extension environment and deployment preparation during a release qualification test (MB820-2.2-046). The observed development issue is that a developer publishes an .app built for one environment straight to another without testing compatibility. Which observed result would most clearly show the intended correction works?
Explanation
Correct Answer
This is the outcome that directly verifies the intended correction: the production package hash matches the artifact that passed tests. The related solution is to promote a versioned extension artifact through sandbox acceptance before production deployment; it is based on the principle that controlled deployment should promote tested artifacts rather than unverified rebuilds.
Incorrect Answers
“A locale switch displays reviewed translations without altering business logic” concerns the alternative task “use AL labels and language translation resources rather than embedding UI messages as literals”, but the stated failure is that a developer publishes an .app built for one environment straight to another without testing compatibility. The required measure is to the production package hash matches the artifact that passed tests.
The proposed “A seeded tenant retains prior values after the new app version is applied” tests a different control: use a versioned upgrade codeunit and preserve/migrate existing records before using the new schema. The reported condition is that a developer publishes an .app built for one environment straight to another without testing compatibility; the more direct action is to the production package hash matches the artifact that passed tests.
“Initial deployment creates required setup once without duplicating it on repeated operations” concerns the separate step “use an installation codeunit with appropriate company initialization and idempotent setup”. The reported issue is that a developer publishes an .app built for one environment straight to another without testing compatibility, so the direct response is to the production package hash matches the artifact that passed tests.