AL icon indicating copy to clipboard operation
AL copied to clipboard

TestPage field method Caption gives an error when deploying extension

Open lvanvugt opened this issue 7 years ago • 7 comments

I am getting the following error when deploying my automated test extension:

Non-invocable member 'Microsoft.Dynamics.Nav.Runtime.NavTestField.ALCaption' cannot be used like a method.

This is the helper function using the Caption method:

local procedure VerifyNoIsPopulatedOnSeminar(var SeminarCard: TestPage SeminarCard)
begin
Assert.IsTrue(SeminarCard."No.".Value <> '', StrSubstNo(FieldOnTableErr, SeminarCard."No.".Caption(), SeminarCard.Caption()));
end;

The TestPage method Caption itself does not throw an error. No red wrinckle underneath or an error when buidling the extension.

lvanvugt avatar Jan 10 '19 12:01 lvanvugt

Hi @lvanvugt ! We've fixed this bug a few months ago. What version of BC are you using? Are you on the latest CU for that version?

atoader avatar Jan 14 '19 08:01 atoader

D365BC, build 26413 (CU02, right?)

Did you test it yourself?

lvanvugt avatar Jan 14 '19 09:01 lvanvugt

@lvanvugt we fixed the bug in master which corresponds to the next major release of the product. By default, any issue that is reported through GitHub will only be fixed in master and, only if the customer requests it, in the current major release. Requests for backporting to older versions must go through CSS. We are working on backporting the fix to the current release branch. You should see it in the next CU.

atoader avatar Jan 15 '19 08:01 atoader

Clear. And great you picked it up for current release. Thanx.

lvanvugt avatar Jan 15 '19 10:01 lvanvugt

You should see it in the next CU.

When will that be? Still waiting for it.

lvanvugt avatar Mar 18 '19 08:03 lvanvugt

Same issue here with W1 13.4 (28874) OnPrem.

plagijat avatar Apr 03 '19 15:04 plagijat

The bug is fixed: W1 master: Application Build 28874, Platform Build 28871 (CU 04) W1 13.4: Application Build 29483, Platform Build 29358 (CU 05)

AndreyKorepanov avatar Aug 19 '19 08:08 AndreyKorepanov