Code Monkey home page Code Monkey logo

Comments (5)

freddydk avatar freddydk commented on June 26, 2024 1

Looking at your log, the problem is probably Invoke-NavContainerCodeUnit, which I myself stopped using earlier due to instabilities.

Reason is that the Invoke-NavCodeUnit cmdlet only works with Windows Authentication. For this reason - BcContainerHelper creates a tmp windows user and uses this to invoke the codeunit.
Apparently - that doesn't always work:-(

I modified my apps to include an API page and then I used Invoke-BcContainerAPI to invoke the code I needed - that always works and is something I can use in online environments as well.
Another mechanism is to have an install codeunit in the app, which runs the code needed.

from al-go.

gntpet avatar gntpet commented on June 26, 2024

One more error to the collection. This time it's from step "Importing test data"

Error: Unexpected error when running action. Error Message: Cannot bind argument to parameter 'WindowsAccount' because it is null., StackTrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 112 <- at Invoke-NavContainerCodeunit, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\ObjectHandling\Invoke-NavContainerCodeunit.ps1: line 49 <- at <ScriptBlock>, C:\a\srs-bc\srs-bc\SRS.base\.AL-Go\ImportTestDataInBcContainer.ps1: line 3 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2315 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 947 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 909 <- at <ScriptBlock>, C:\a\_actions\microsoft\AL-Go-Actions\v5.1\RunPipeline\RunPipeline.ps1: line 361 <- at <ScriptBlock>, C:\a\_temp\ac4616ac-5fe8-44a0-abca-b1ee51138d11.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1

from al-go.

freddydk avatar freddydk commented on June 26, 2024

Could you share your ImportTestDataInBcContainer with us?

from al-go.

freddydk avatar freddydk commented on June 26, 2024

Could you share the full log of a failing Test Current?

from al-go.

gntpet avatar gntpet commented on June 26, 2024

Could you share your ImportTestDataInBcContainer with us?

It's already shared. See at the bottom of the post.

Could you share the full log of a failing Test Current?

Will send file via Yammer

from al-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.