Giter VIP home page Giter VIP logo

Comments (5)

martonsagi avatar martonsagi commented on July 18, 2024 1

Thanks for the update. OK, so this is the same bug I'm working on. It'll be fixed this week (before BCBeerinar 😀)

from alstudio.

martonsagi avatar martonsagi commented on July 18, 2024

Can you send me the output from the Output Window / AL Studio section?
Mostly the recent translation manager updates caused some regressions on Page designer. Do you have the generated xlf file in the workspace or it's the state before the first compilation?

from alstudio.

SimonOfHH avatar SimonOfHH commented on July 18, 2024

Sorry for not being quicker - I didn't expect such a fast response 😅

Here is the output

[AL Studio][2021-03-03T13:56:40.376Z][Debug]: dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1]
      Received hub invocation: InvocationMessage { InvocationId: "11", Target: "HasValidLicense", Arguments: [  ], StreamIds: [  ] }.

[AL Studio][2021-03-03T13:56:41.185Z][Debug]: dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1]
      Received hub invocation: InvocationMessage { InvocationId: "12", Target: "GetSettings", Arguments: [  ], StreamIds: [  ] }.

[AL Studio][2021-03-03T13:56:41.253Z][Debug]: dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1]
      Received hub invocation: InvocationMessage { InvocationId: "13", Target: "QueryProperties", Arguments: [ ALObjectDesigner.Library.SymbolData ], StreamIds: [  ] }.

[AL Studio][2021-03-03T13:56:41.261Z][Debug]: dbug: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[1]
      Received hub invocation: InvocationMessage { InvocationId: "14", Target: "QueryPageDesign", Arguments: [ ALObjectDesigner.Library.SymbolData ], StreamIds: [  ] }.

[AL Studio][2021-03-03T13:56:41.436Z][Debug]: fail: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[8]
      Failed to invoke hub method 'QueryPageDesign'.
      System.ArgumentNullException: Value cannot be null. (Parameter 'source')
         at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
         at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
         at ALObjectParser.Pro.Converters.DesignConverterService.GetTranslationEntries(IEnumerable`1 filter)
         at ALObjectParser.Pro.Converters.DesignConverterService.UpdatePageDesign(ALPage page)
         at ALStudio.Server.Services.ALObjectService.GetPageDesign(SymbolData info, Boolean skipSourceTable, ALTable parentTable)
         at ALStudio.Server.ALStudioHub.QueryPageDesign(SymbolData info)
         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteMethod(ObjectMethodExecutor methodExecutor, Hub hub, Object[] arguments)
         at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.<>c__DisplayClass16_0.<<Invoke>g__ExecuteInvocation|0>d.MoveNext()

from alstudio.

SimonOfHH avatar SimonOfHH commented on July 18, 2024

Oh, and I don't have a translation file in that workspace. It's really just a Table.al-file and the app.json basically. Also I didn't build the project before I tested, but the result is the same even if I did build it before trying to access the designer.

from alstudio.

SimonOfHH avatar SimonOfHH commented on July 18, 2024

And the next answer: it was a good hint with the translation file 😅 As soon as I activate the feature and generate the Xliff the Designer works 👍

So the problem only comes up, when translations are not active.

from alstudio.

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.