text:
XFS filesystem mounting failure on NVMe

I am getting a failure when attempting to mount an XFS filesystem on NVMe volumes using the csi-driver-lvm. This issue is due to incompatible XFS features that are not supported by the kernel on my worker nodes. Here are the details:

Driver: csi-driver-lvm (v0.6.0)
Kubernetes version: v1.27.16-eks-ce1d5eb
Kernel version: 5.10.226-214.880.amzn2.x86_64 (Amazon Linux)
StorageClass: XFS filesystem with striped LVM configuration on NVMe devices
LVM configuration: Using striped storage class configured with csi-driver-lvm
XFS rrror message: Superblock has unknown incompatible features (0x20) enabled

XFS (dm-0): Superblock has unknown incompatible features (0x20) enabled.
XFS (dm-0): Filesystem cannot be safely mounted by this kernel.
XFS (dm-0): SB validate failed with error -22.

The error suggests that the XFS filesystem superblock includes features not supported by the current kernel version. Specifically, the feature flag 0x20 appears incompatible, which prevents safe mounting.
These incompatible features might be due to the mkfs.xfs options applied by the LVM CSI driver.
Could we verify which XFS features are enabled by mkfs.xfs within the driver and check compatibility with kernel 5.10? It may help if the driver allowed users to specify or restrict certain mkfs.xfs options to ensure compatibility with the underlying kernel.
Steps to reproduce

Deploy the csi-driver-lvm with striped storage class using the following parameters in StorageClass:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: csi-driver-lvm-striped-xfs
provisioner: lvm.csi.metal-stack.io
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
  type: "striped"
  csi.storage.k8s.io/fstype: xfs

Attempt to mount the provisioned XFS filesystem on a Kubernetes node with kernel version 5.10.226-214.880.amzn2.x86_64.

Expected behavior
The XFS filesystem should mount successfully without errors.
Actual behavior
The mount fails with repeated errors about incompatible superblock features, as shown in the error message above.

I believe this is due to the changes introduced in f3bb9a1c0f8d31ffb12d101fd97ceeed0bdfd745  and released starting in v0.4.8. That change updated mkfs.xfs from v5.16.0 to v6.8.0, and the newer mkfs.xfs is enabling nrext64 by default.
If mkfs.xfs is run manually, this can be solved by passing the -i nrext64=0 on the command line.
Could a possible solution be allowing passing extra mkfs options in the StorageClass config?

Why not using a more recent worker node image with a more recent kernel ? Here they state they have at least kernel 6.1.x available: https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2-kernel.html

Yes, that's another option. Unfortunately eksctl still defaults to AL2 AMIs 😕  We've seen similar issues with Azure and GCP as well.

authors: JakeSCahill ligfx majst01

repo: metal-stack/csi-driver-lvm


text:
🌱 Backport re-pivoting e2e test

The main goal of this commit to implement the re-pivoting e2e
test.
This commit also renames the e2e test functions to be aligned
with GO naming conventions.

/test-v1a5-e2e

I will debug some more things once again within the running VM.
/test-v1a5-e2e

/test-v1a5-integration

/test-v1alpha5-centos-e2e

/assign @furkatgofurov7

This commit also adds the process of setting the nodeReuse
variable of metal3MachineTemplates to "false" in order to
fix target cluster cleanup issue that is present the value is "true"
instead of "false".

You have to remove these notes from the PR description?

/cc @kashifest can you please take a look and confirm re-pivoting workflow kept intact? Thanks

/test-v1a5-integration
/test-v1a5-e2e

/test-v1a5-integration
/test-v1a5-e2e

/retest

/test-v1a5-e2e

/test-v1a5-e2e

/test-v1a5-e2e

/test-v1a5-e2e

/test-v1a5-e2e

/ test-v1a5-e2e

/retest

/test-v1a5-integration
/test-v1a5-e2e

/golint

/retest

/golint
/govet
/manifestlint

/golint
/govet
/manifestlint

/retest

/golint
/govet
/manifestlint

/test govet
/test manifestlint
/test golint

/test-v1a5-integration
/test-v1a5-e2e

/test-v1a5-e2e

/cc @namnx228

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/hold
Until #354 is merged, this is not a backport, let's merge main PR and remove hold and consider it as backport. Meanwhile let's try to get all tests to green.

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e
/test-v1a5-e2e

/test-v1a5-centos-e2e
/test-v1a5-e2e

/test-v1a5-centos-e2e
/test-v1a5-e2e
/test-v1a5-integration

It would be easier just to use cherry pick bot from the main branch IMO:)

/test-v1a5-centos-e2e
/test-v1a5-e2e
/test-v1a5-integration

/test-v1a5-centos-e2e
/test-v1a5-e2e
/test-v1a5-integration

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

/test-v1a5-centos-e2e

For some reason untainting of CP nodes were not successful and this is the first time I am seeing the similar problem in e2e. Re-triggering to see if it happens again.
/test-v1a5-centos-e2e

Unrelated to e2e flake while repo fetching.
/test-v1a5-centos-e2e

/lgtm

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Update lutaml_ea_xmi to not flatten things into inherited_props and inherited_assoc_props

From:

https://github.com/ReesePlews/ribose_discussions/issues/10

In order to allow this order to be made, do not flatten things into inherited_props and inherited_assoc_props.
The current templates work like this:
[cols="1a,1a,2a"]
|===
| AGT 型の定義
2+| {{ root.definition }}

h| 上位の型 2+| {{ root.general.upper_klass }}:{{ root.general.name }}
h| ステレオタイプ 2+| << {{ root.stereotype }} >>

3+h| 継承する属性
h| 属性名 h| 属性の型及び多重度 h| 定義
{{ content.inherited_props }}

3+h| 自身に定義された属性
h| 属性名 h| 属性の型及び多重度 h| 定義
{{ content.owned_props }}

3+h| 継承する関連役割
h| 関連役割名 h| 関連役割の型及び多重度 h| 定義
{{ content.inherited_assoc_props }}

3+h| 自身に定義された関連役割
h| 関連役割名 h| 関連役割の型及び多重度 h| 定義
{{ content.assoc_props }}
|===

We the template to do something like this:
[cols="1a,1a,2a"]
|===
| AGT 型の定義
2+| {{ root.definition }}

h| 上位の型 2+| {{ root.general.upper_klass }}:{{ root.general.name }}
h| ステレオタイプ 2+| << {{ root.stereotype }} >>

3+h| 継承する属性
h| 属性名 h| 属性の型及び多重度 h| 定義

{% liquid
assign klasses = []
assign klass_num = 0

for k in content.superklass
  if k.superklass
    increment klass_num
    klasses[klass_num] = k.superklass
  endif
endfor

assign reverse_klasses = klasses | reverse
%}

{% for k in reverse_klasses %}
{{ render "properties", klass: k }}
{% endfor %}

3+h| 自身に定義された属性
h| 属性名 h| 属性の型及び多重度 h| 定義
{{ content.properties }}

3+h| 継承する関連役割
h| 関連役割名 h| 関連役割の型及び多重度 h| 定義

{% for k in reverse_klasses %}
{{ render "associations", klass: k }}
{% endfor %}

3+h| 自身に定義された関連役割
h| 関連役割名 h| 関連役割の型及び多重度 h| 定義
{{ content.associations }}
|===

Closed as completed via e98829ea9861296383ec4c2c46fc9189e7f26d13

source: gharchive/issue

authors: kwkwan ronaldtse

repo: metanorma/metanorma-plugin-lutaml


text:
add and import lxml_html_clean

this fixes #49  by importing lxml_html_clean in setup.py and correcting the import statement in base.py.
I did not run any tests but managed to package and successfully run the local code using pip.

Just saw that my auto-formatter made it seem like a lot has been changed.
The changes are line 2 in base.py and line 27 in setup.py

repo: metapub/metapub


text:
Future

Closes: https://github.com/metarhia/metasync/issues/431

ping @nechaido

repo: metarhia/metasync

license: MIT


text:
Drop 'large' class from form segment

Around Semantic UI version 1.12, the font size of input fields was changed to relative units (as they were intended), which makes the fields on the at-form look oversized, due to the element's large form segment class.
I suggest the large class is dropped, since the markup would be more neutral without it.

makes sense @dalgard!
Could you please create a PR for this?

Will do it after the weekend.

Hey. You don't need to do it. I'll make PR later today for updated design. Matching Semantic UI 2.

:+1:

Great. What do you propose to do in regard to version number?
It is kind of a breaking change, since an update would change the look of the form – unless the whole project isn't upgraded to Semantic UI 2.0, which is much too much to ask. So, in that respect the major version should be bumped.
On the other hand, upgrading this package to 2.0 would falsely signal compatibility with the next version of useraccounts, rather than Semantic UI...

What about bumping the minor version and update the README to say the package is now up to date with SUI@2.0?
useraccounts:semantic-ui@2.0 will defenitely be used when all useraccounts packages will bump to 2.0.
After that I expect single packages to bump on need and not like now all together...

Agree with @splendido. That would make more sense due to useraccounts package version.
Just made PR and will wait for @splendido to merge it because I want him to review changes before merge. Look of the form is changed but not drastically.

@dalgard Did you try to update package? Comment back when you get to see updated design so we can close this issue if you are satisfied. Thank you.

Hey guys, I haven't published the new version yet.
I'm waiting to finishe the separation of routing stuff and then I'll bump everything at once.
So, you should use local pacakges to test the latest changes...

Closing this, new version being published soon!

authors: dalgard lumatijev splendido

repo: meteor-useraccounts/semantic-ui

license: mit

license_source: bigquery


text:
Callback/Event after isReady block renders

You can prevent certain parts of the template from rendering by using an ((#if isReady}} ready helper. The isReady needs for the proper subscription to be loaded before executing the encapsulated elements.
This is awesome! However, when the subscriptions are loaded and the elements are rendered, I don't think there is a way of figuring out when the elements have finished rendering, such that you can perform your element manipulations.
The only way i see doing this now is by setting up an autorun around the subscription subsReady function and setting and interval until the elements have finished rendering. Could there be a better/integrated way to handle this. Ideally there would be a callback/event, for example onRenderedSubscription. We can do all our element manipulation there and the world becomes a better place :smile:

Okay. Let me answer this.
Current flow router or flow router can't detect it exactly. But there is a
way to do it. Your approach is correct. But you don't need to do a set
timeout after the subscriptionsReady. Simply use Tracker.afterFlush.
Having said that it's an hack. I think this should be a feature of blaze.
In new rendering systems like React they do rendering asynchronously. So,
it's hard to tell when it's completes the rendering. Also they don't expose
a hook when after rendering because users can misuse that feature.
This is my thinking on this.
On 2015 ජූලි 22, බදාදා at පෙ.ව. 7.54 nakhbari notifications@github.com
wrote:

You can prevent certain parts of the template from rendering by using an
((#if isReady}} ready helper. The isReady needs for the proper subscription
to be loaded before executing the encapsulated elements.
This is awesome! However, when the subscriptions are loaded and the
elements are rendered, I don't think there is a way of figuring out when
the elements have finished rendering, such that you can perform your
element manipulations.
The only way i see doing this now is by setting up an autorun around the
subscription subsReady function and setting and interval until the elements
have finished rendering. Could there be a better/integrated way to handle
this. Ideally there would be a callback/event, for example
onRenderedSubscription. We can do all our element manipulation there and
the world becomes a better place [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/flow-router/issues/219.

I am closing this issue now. But feel free to discuss.

authors: arunoda nakhbari

repo: meteorhacks/flow-router


text:
GUI in Docker

I was looking through the README and for what it's worth you can run a normal GUI in Docker on a system (irregardless of NVIDIA GPU) the following way. Like for eg. you can run Chrome with something like:
xhost +    # enables connecting to host X server
docker run --privileged \
 --ipc=host \    # some apps will crash without this e.g. Firefox
 --env="DISPLAY" \
 -v /tmp/.X11-unix:/tmp/.X11-unix \
 docker/docker-img:tag

Only if you want proper OpenGL acceleration things get tricky, but again, it's not specifically an issue with NVIDIA GPUs.
Just FYI.

Oh, right! I should clarify on the README then. The issue is mainly with the ROS RViz GUI because it uses OpenGL.
:+1:

authors: methylDragon tlkh


text:
Fix missing using statement on template file

When creating a script from context menu Create > Doinject > Binding Installer Component C# Script, the generated .cs file had a missing using statement and generates compile error by default.
Fixed by adding using UnityEngine; statement on template file.

Accepted.
Thank you for contribution.

authors: mewlist ripandy

repo: mewlist/Doinject


text:
[DO-NOT-MERGE] [WIP] Apply CI on next branch

The goal here is only to be able to trigger (Gitlab) CI on Next, not to merge next in master.

LGTM

repo: mfem/mfem


text:
Wrong schema import in XSD

In this spec when I generate XSD, I get the following invalid import:
<xs:import namespace="urn:uuid:c01e3ea5-474d-4ffa-81b8-a38485a8f64f" schemaLocation="data:application/xml,%3Cxs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' elementFormDefault='qualified' targetNamespace='urn:uuid:c01e3ea5-474d-4ffa-81b8-a38485a8f64f'%3E%3Cxs:element name='iri' type='xs:anyURI'/%3E%3C/xs:schema%3E"/>

Well, the namespace is a random urn and the schemaLocation does not contain a URL - it contains the actual schema encoded, which is not usable e.g. in Altova. I understand it is tied to #94 - but now all the XSDs are actually not usable as the identifier is present everywhere. So let's close #94 somehow - there is a suggestion from me. The XSD can then be e.g. bundled with the other artifacts.

repo: mff-uk/dataspecer


text:
Couple of errors

Hi
Great tool. Im getting some errors. about 50% of my library throws an error-
Could not find part of the path
1172/1172Error: Error occurred during creation of cues for "9978813" from "G:/Rekordbox Tracks/Toolroom Ibiza/Ten Story - At The Downlow (Original Mix).mp3" System.IO.DirectoryNotFoundException: Could not find a part of the path 'G:\Rekordbox Tracks\Toolroom Ibiza\Ten Story - At The Downlow (Original Mix).mp3'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String , FileMode , FileAccess , FileShare , FileOptions )
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String , FileMode , FileAccess , FileShare , FileOptions , Int64 )
at System.IO.Strategies.OSFileStreamStrategy..ctor(String , FileMode , FileAccess , FileShare , FileOptions , Int64 )
at TagLib.File.LocalFileAbstraction.get_ReadStream()
at TagLib.File.set_Mode(AccessMode value)
at TagLib.NonContainer.File.Read(ReadStyle propertiesStyle)   at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle)
at CueGen.TagFile..ctor(String filePath)
at CueGen.Content.GetTag()
at CueGen.Generator.CreateCuesForContent(UInt64& maxId, SQLiteConnection db, Content content)
at SQLite.SQLiteConnection.RunInTransaction(Action action)
at CueGen.Generator.Generate()
I cannot remove any cuepoints added by this program.
I cannot create memory points (not clear on how to do this)
Question. Can the phrase "Chorus" be renamed to drop? I can see a function but cant rename.
A UI version would be amazing, id share it with the Rekordbox groups im involved in for sure
Thanks

Could not find part of the path 1172/1172Error: Error occurred during creation of cues for "9978813" from "G:/Rekordbox Tracks/Toolroom Ibiza/Ten Story - At The Downlow (Original Mix).mp3" System.IO.DirectoryNotFoundException: Could not find a part of the path 'G:\Rekordbox Tracks\Toolroom Ibiza\Ten Story - At The Downlow (Original Mix).mp3'

Does the file exist at that location? If so, does the user you execute CueGen as have the permission to read the file?

I cannot remove any cuepoints added by this program. I cannot create memory points (not clear on how to do this)

Use the -r option to remove cue points.
Memory cue points are created by default. If you want to create hot cue points you have to use the --hc option.

Question. Can the phrase "Chorus" be renamed to drop? I can see a function but cant rename.

Yes, use the -n option.

A UI version would be amazing, id share it with the Rekordbox groups im involved in for sure

Thanks. Please vote at #8. Currently, I have no time for this unfortunately, though.

authors: NachoShaw mganss

repo: mganss/CueGen


text:
PHP Composer support?

Love the project. Would it be possible to add a composer.json file and publish to Composer package list to allow this  install via Composer?
E.g. https://github.com/bluerhinos/phpMQTT/blob/master/composer.json

Unfortunately not - as this is a PECL extension, composer can't install it. You can currently use composer.json to require that a PECL extension is present but you can't use it to install them yet. There is an open PR for that so if it is merged and I need to do anything to support it, I will.
https://github.com/composer/composer/pull/2898

Ah ok. Maybe Pickle will help...in the future. It looks like it's currently in development:
https://github.com/FriendsOfPHP/pickle

authors: glynhudson mgdm

repo: mgdm/Mosquitto-PHP


text:
launch.json for vscode

If you'd like to debug in vscode debugger is it possible together w/ gulp? I've tried to setup a launch config like this
{ 	"version": "0.2.0", 	"configurations": [ 		{ 			"name": "Launch", 			"type": "node", 			"request": "launch", 			"program": "app/main.ts", 			"stopOnEntry": false, 			"args": [], 			"cwd": ".", 			"runtimeExecutable": null, 			"runtimeArgs": [ 				"--nolazy" 			], 			"env": { 				"NODE_ENV": "development" 			}, 			"externalConsole": false,             "preLaunchTask": "",             "sourceMaps": true,             "outDir": "dist/dev" 		}, 		{ 			"name": "Attach", 			"type": "node", 			"request": "attach", 			"port": 5858 		} 	] }
but I get stuck at
angular2-seed/node_modules/angular2/src/core/util/decorators.js:161     throw 'reflect-metadata shim is required when using class decorators';     ^ reflect-metadata shim is required when using class decorators

@malfborger Do you want to debug the ng2 app or the build tools ?

the whole ng2 app! @ludohenin

I'm assuming you are trying to debug the final app and not the build... if that is the case, VSCode does not provide integration with Chrome out of the box. There is an extension to do this job...  but I have never used it... So I cannot tell if it works...

I'm trying to debug the current build, are you guys doing it in dev tools instead?

@malfborger yes that's what I do, and use vscode debugger for node applications.

Me too... just press F12 inside chrome and be happy ;)

hehe ok, I'll start w/ that :) Thanks for quick answers, close it :)

Any help here ? How to debug with vscode @malfborger

with vscode you can debug server side but not client side app

I watched this video and trying to figure out the workflow https://www.youtube.com/watch?v=E9ixpuLTUUk @ludohenin

authors: Bigous ludohenin malfborger piyushchauhan2011


text:
Strip first two directories instead of keeping the last two

Since we don't know how many subdirectories there will be, we'ld rather strip the leading /dist/dev directories instead of keeping the last two.
Note: Even though we only want to get rid of two directories, the starting index needs to be 3 because the first forward slash is its own value.

@Groschenroman makes sense. Would you rebase and push again?

Something went wrong with the rebasing (it was challenging to get it anyway…).
I'll close this PR and open a new one.

authors: Groschenroman mgechev


text:
Async support

Thanks a lot for this crate. Are there any plans of adding async support?

I don't currently have plans for that, but I don't know enough about async to even tell whether that would be meaningful at all.
On a conceptual level, how would async support look like?

@mgeier look at this workflow:

https://github.com/niXman/binapi/blob/master/src/api.cpp#L166
https://github.com/niXman/binapi/blob/master/src/api.cpp#L286
https://github.com/niXman/binapi/blob/master/src/api.cpp#L380
https://github.com/niXman/binapi/blob/master/src/api.cpp#L410
https://github.com/niXman/binapi/blob/master/src/api.cpp#L418
https://github.com/niXman/binapi/blob/master/src/api.cpp#L440
https://github.com/niXman/binapi/blob/master/src/api.cpp#L449
https://github.com/niXman/binapi/blob/master/src/api.cpp#L463
https://github.com/niXman/binapi/blob/master/src/api.cpp#L470
https://github.com/niXman/binapi/blob/master/src/api.cpp#L485
https://github.com/niXman/binapi/blob/master/src/api.cpp#L493
https://github.com/niXman/binapi/blob/master/src/api.cpp#L508
https://github.com/niXman/binapi/blob/master/src/api.cpp#L517
https://github.com/niXman/binapi/blob/master/src/api.cpp#L522
https://github.com/niXman/binapi/blob/master/src/api.cpp#L548

authors: mgeier niXman zhenpingfeng

repo: mgeier/rtrb


text:
Create player character class.

Upon selecting "start game" from the main menu, the player will be prompted to enter all relevant information to create their character.

Spent an hour and a half today on thinking how to structure what the player is and how the program would interact with that information. After continuous retyping and thinking about proper implementation, conclusion reached to delete all current structure in favor of first mapping it out conceptually, probably on the readme page.

repo: mgh-GadzOOks/GadzOOks


text:
🛑 Merchant APP (Terms & Conditions API) is down

In 803bcd5, Merchant APP (Terms & Conditions API) (https://gateway.wavemoney.io/v2/merchant-api/merchant-term-and-condition-content/get-latest) was down:

HTTP code: 403
Response time: 13 ms

Resolved: Merchant APP (Terms & Conditions API) is back up in 70b36cb.

repo: mgmgpyaesonewin/strapi-upptime


text:
Want to exclude files, since .ftpconfig is transferred as well.

Would it be possible to exclude certain files from transfer? Since .ftpconfig contains sensitive information, I'd ideally like it not to be shipped across the wire with the rest of my files.

linking duplicate request to https://github.com/mgrenier/remote-ftp/issues/36

authors: WilliamBaldwinIII hatzopoulos

repo: mgrenier/remote-ftp


text:
Changed windows install and start

allow windows to change install path
and admin port on start

Nice addition. Thanks!

authors: BarryGr mgtechsoftware

repo: mgtechsoftware/smockin


text:
ENH: Add is_ci field to add_project resolver

To monitor whether usage is "real"

pushing this to staging server

repo: mgxd/migas-server


text:
🛑 Traffic Dashboard Mediahuis Nederland is down

In 2c52623, Traffic Dashboard Mediahuis Nederland (https://traffic-tmg.mediahuis.nl/api/system/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Traffic Dashboard Mediahuis Nederland is back up in c12ef3b.

repo: mh-data-science/upptime


text:
🛑 UAT Barracuda v3 is down

In 0489d35, UAT Barracuda v3 (https://barracuda-uat.mhtr.be/v3/docs) was down:

HTTP code: 503
Response time: 254 ms

Resolved: UAT Barracuda v3 is back up in 71f0f3c after 5 minutes.


text:
🛑 UAT Barracuda v3 is down

In f9d2eec, UAT Barracuda v3 (https://barracuda-uat.mhtr.be/v3/docs) was down:

HTTP code: 503
Response time: 235 ms

Resolved: UAT Barracuda v3 is back up in da36767 after 5 minutes.


text:
🛑 Traffic Dashboard Mediahuis Nederland is down

In fe23df6, Traffic Dashboard Mediahuis Nederland (https://traffic-tmg.mediahuis.nl/api/system/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Traffic Dashboard Mediahuis Nederland is back up in ab9576c.


text:
Query Filters

In the April update aws also added queryfilters. This adds queryfilters and a couple of errors related to that that I've seen aws return.

Finally got around to adding some more tests and getting this in, thanks again!
Landed in v0.7.0

Great! :tada:

authors: mhart mick

repo: mhart/dynalite


text:
Possible to use lua function as formatter?

Is it possible to use the lsp formatter as a formatter for formatter.nvim? Essentially call vim.lsp.buf.format?

I have a problem with a sed pattern (#202) so I use a workaround by using a hand-crafted function to replace patterns. Probably not the most sophisticated solution but it "works" and it ignores quoted strings. Then I call the function after the formatting itself. Since I modify the buffer content and not the file itself I register the formatting in the BufWritePre hook. The good thing about this is that it does not require a call to an executable like sed (which probably doesn't exist on Windoze anyway).
local function get_line_context (line)
    local context = {}
    local current = '';
    local inContext = true
    local escaped = false
    line:gsub ('.', function (current_character)
        local c = current_character
        if (c == '"' or c == "'") then
            if (escaped) then
                escaped = false
            else
                if (not inContext) then
                    current = current .. c
                    c = ''
                end
                table.insert (context, {context = inContext, content = current })
                current = ''
                inContext = not inContext
            end
        elseif (c == '\\') then
            escaped = true
        end
        current = current .. c
        end)

    if (current:len () > 0) then
        table.insert (context, {context = inContext, content = current})
    end

    return context
end

local function replace_patterns (patterns)
    for index, line in ipairs (vim.api.nvim_buf_get_lines (0, 0, -1, true)) do
        local context = get_line_context (line)
        local needs_format = false
        for _, rep in ipairs (patterns) do
            for _, elem in ipairs (context) do
                if (elem.context) then
                    if (elem.content:match (rep[1])) then
                        needs_format = true
                        elem.content = elem.content:gsub (rep[1], rep[2])
                    end
                end
            end
        end
        if (needs_format) then
            needs_format = false
            local content = {}
            for _, item in ipairs (context) do
                table.insert (content, item.content)
            end

            vim.api.nvim_buf_set_lines (0, index - 1, index, true, {table.concat (content)})
        end
    end
end

vim.api.nvim_create_autocmd ("BufWritePre", {
    callback = function ()
        vim.cmd ('Format')
        replace_patterns ({
            {'([^%s])%(', '%1 ('},
            {'[%s]*$', ''},
        })
    end,
    group = vim.api.nvim_create_augroup ("FormatAutoGroup", { clear = true }),
    desc = "Format document with formatters",
})

Hence the ability to register a custom function as a formatter would make things a lot easier.

Yes, you can call lsp formatter for java files, if jdtls is installed.
java = {
  function()
    vim.lsp.buf.format()
  end,
}

Thanks!

authors: fidelski gauteh kxccc


text:
Putting a class on a markdown heading

I'm building a site with Contentful and I'm trying to put a class on a heading.
My code looks like the below
<vue-markdown class="f3">
  ### {{ hello.fields.heading }}
</vue-markdown>

And renders out to

Hello

What I would really like to render out is

  Hello

Is putting a class on a markdown heading possible? Sorry if this has been covered already.

Is looks like is impossible to achieve, but you can write HTML in markdown string like this:

Hello

I'm very sorry because this is not a good idea.


text:
Bindings for pageup and pagedown

I would like to add support for scrolling up and down a full page at a time.

What about going from parent comment to parent comment? I feel like a full page is sort of arbitrary in terms of reddit comments. However, it would be more useful to be able to jump from the highest level parent comment to the next when going through posts like comments on askreddit where a single parent post can have hundreds and hundreds of replies.

Normally when I'm browsing Reddit I will fold the comment threads once I'm done with them. That's at least one way to jump to the next parent comment. I assume that's what reddit expects you to do, at least I haven't found anything to tell me otherwise. I'm going to start working on this. I'll try out both ways and see what feels more natural.

Implemented by the awesome @yskmt. Key bindings are n for pageup and m for pagedown. I'll update the README before the next release goes out.

authors: michael-lazar tobywhughes

repo: michael-lazar/rtv


text:
Cookies are not set

I want to run WordPress behind the proxy. However, when I try to log into WordPress, the cookies are not set and I cannot log in.

Simply add on following lines the Cookie-Headers:
https://github.com/michaelfranzl/no.php/blob/1c2eb300c797d83eb9bafff57e5ab12fedbcd89f/no.php#L49-L58
above the Line #49:
if(preg_match("/^Cookie/", $key)) {
    array_push($headers, "$key: $value");
} else

authors: Bizarrus philipreichert


text:
🛑 CZ Homepage is down

In a7d6983, CZ Homepage (https://ecobambo.cz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CZ Homepage is back up in 8917b5b after 3 minutes.

repo: michalpulpan/upptime-ecobamboo


text:
How can I integrate this with an ng2 project created with angular cli?

I'm kind of new angular 2 so I'm hoping someone could help me set this library up with my ng2 project. Thanks.

See https://stackoverflow.com/questions/41821160/animate-into-view-when-scrolled-to-angular2.

repo: michalsnik/aos


text:
Does AOS override animations in :hover selector?

Hi everyone!
I have used AOS to animate portfolio items into view as the user scrolls down on my site. But since I added it, my hover effects on the same portfolio items no longer trigger when the mouse moves over them.
Apologies if this is a known issue, I couldn't find anyone talking about it (at least not in a way that I understand).
Here is a Codepen showing the issue: https://codepen.io/halverson13/pen/ERaLxW
If you disable AOS the hover effect starts working again.
Thanks for any assistance!

Hi there. I second these issues. I have a button with a background transition that doesn't work when using the aos animations. but as soon as I remove the AOS animations it works fine

Hey, it's because you try to transition transform which is already being used by AOS animation. If you want to change properties that AOS uses to animate elements on scroll, you can either use more specific selectors, or preferably wrap the element with another tag, and use AOS on it :)

Hey, it's because you try to transition transform which is already being used by AOS animation. If you want to change properties that AOS uses to animate elements on scroll, you can either use more specific selectors, or preferably wrap the element with another tag, and use AOS on it :)

great! it work for me . thank you very much michalsnik

use !important. It'll fix the issue

Hey, it's because you try to transition transform which is already being used by AOS animation. If you want to change properties that AOS uses to animate elements on scroll, you can either use more specific selectors, or preferably wrap the element with another tag, and use AOS on it :)

it'll fix the issue

You can use id instead of using class as a selector. This same problem has occurred to me. But when I have used id then the problem has been solved.

Well, I am using aos effect in image with absolute position. So, wrapping around another element, using id or using !important are not working for me.

use !important. It'll fix the issue

If you use !important, Your own transition will take the same time as the animation duration, which will be longer than you want..

authors: JudyTrillz bubbaspaarx codesterLalit halverson karthick-potter michalsnik salby966 skhan715 zhaoboxiang


text:
Embed Canva Presentation

Embed Canva Presentation
Embed the Canva project's presentation within the README.md and/or the web-site. This shall be the project's presentation given at the International Finals.

Realized in 64c3a70.

repo: michalspano/doubleEnum


text:
🛑 gitlab.cta-observatory.org is down

In 4f39802, gitlab.cta-observatory.org (https://gitlab.cta-observatory.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gitlab.cta-observatory.org is back up in 8e8726e.

repo: michelangelobottura/ctaoit-upptime


text:
英伟达串流的虚拟Xbox 360手柄转换成DS4后异常！

虚拟X360手柄转换成DS4后，在双人成行中会识别成两个手柄(一个DS4和一个X360)同时输入！

@Sskra XI2DS cannot occupy and read Xinput state exclusively. PSRP ignores Xinput state, so XI2DS is suitable for PSRP only.

Thanks.明白了！

谢谢，明白了，这个可能是屏蔽手柄未成功！经过测试，物理的Xbox one手柄转换成DS手柄后，双人成行只能识别到DS手柄，所以物理的手柄就能正常屏蔽！这个可能是VIGEM的问题！如此看来，XI2DS差一点就可以实现其他场景了！

authors: Sskra micro-artwork


text:
中文文档有一个错误地方

https://micro.mu/docs/cn/architecture.html
Broker
Broker是事件广播/订阅可插件接口。对于事件驱动的微服务架构，消息广播与订阅得放在首要位置。目前的实现有NATs、rabbitmq、http (仍在开发中)。
应该是Broker是事件广播/订阅可插拔接口吧

Hi，多谢，错误点已经修复。如果可以，您也可以直接pr上去，也把译得不好的地方改掉。

authors: luobangkui printfcoder

repo: micro-in-cn/tutorials


text:
hot-reload/incremental build JSON language files

breaking change:
path option is deleted and users should load language JSON files using
gatsby-source-filesystem then load it using GraphQL query.
fix #4

@jngbng can we display a warning that the path config is deprecated in the onCreateNode handler? Also, wouldn't a breaking change warrant incrementing the major version, as the semantic versioning guidelines suggest? Otherwise, users might unintentionally update to the breaking change.

@jngbng can we display a warning that the path config is deprecated in the onCreateNode handler? Also, wouldn't a breaking change warrant incrementing the major version, as the semantic versioning guidelines suggest? Otherwise, users might unintentionally update to the breaking change.

@jdtzmn  Thanks for good suggestion. The maintainer will pick the version when releasing to NPM as this project manages version using release-it tool. He/she should edit README.md in my PR, though.
Displaying a warning is a good idea! But onCreateNode handler seems not a good place to print a warning as it is called frequently and will cause  excessive warnings. (That may be what we want, thought.) Since I am new to Gatsby plugin api, I have no idea of the best place. Another option would be post install hook of this package. (like core-js) Any suggestions are welcomed.

@jdtzmn  Thanks for good suggestion. The maintainer will pick the version when releasing to NPM as this project manages version using release-it tool. He/she should edit README.md in my PR, though.
Displaying a warning is a good idea! But onCreateNode handler seems not a good place to print a warning as it is called frequently and will cause  excessive warnings. (That may be what we want, thought.) Since I am new to Gatsby plugin api, I have no idea of the best place. Another option would be post install hook of this package. (like core-js) Any suggestions are welcomed.

@jngbng Makes sense. I was reviewing the PR and I saw the section in the README.md and figured I should mention it.
I found the following issue that addresses where to display deprecation warnings:
https://github.com/gatsbyjs/gatsby/issues/6974
They recommend using the onPreBootstrap handler.

@jngbng Makes sense. I was reviewing the PR and I saw the section in the README.md and figured I should mention it.
I found the following issue that addresses where to display deprecation warnings:
https://github.com/gatsbyjs/gatsby/issues/6974
They recommend using the onPreBootstrap handler.

@jdtzmn Thanks for your suggestion. Now plugin prints an error message when deprecated "path" option still exists in plugin option.

@jdtzmn Thanks for your suggestion. Now plugin prints an error message when deprecated "path" option still exists in plugin option.

@jngbng Love it! Looks great. I think it's ready for @jimmyn to review.

@jngbng Love it! Looks great. I think it's ready for @jimmyn to review.

I will check it asap, thanks for your contribution

I will check it asap, thanks for your contribution

If we are moving back to graphql we should also support loading namespaces separately. This is actually what I wanted to implement next and I need it myself. If it is a big page with lots of translation it does not make sense to load those translations on other pages but at the same time, you can have common translations for header, for example.
Is it going to work with a query like this:
query($language: String!) {
    locales: allLocale(filter: {lng: {eq: $language}, ns: {regex: "/(common|about)/"}}) {
      edges {
        node {
          ns
          data
          lng
        }
      }
    }
  }

Ideally, we should simplify it somehow or at least document
Another thing is that the language variable is inconsistent across the code
We now have language, lang, lng. I get that lng is shorter but I'd prefer consistency

If we are moving back to graphql we should also support loading namespaces separately. This is actually what I wanted to implement next and I need it myself. If it is a big page with lots of translation it does not make sense to load those translations on other pages but at the same time, you can have common translations for header, for example.
Is it going to work with a query like this:
query($language: String!) {
    locales: allLocale(filter: {lng: {eq: $language}, ns: {regex: "/(common|about)/"}}) {
      edges {
        node {
          ns
          data
          lng
        }
      }
    }
  }

Ideally, we should simplify it somehow or at least document
Another thing is that the language variable is inconsistent across the code
We now have language, lang, lng. I get that lng is shorter but I'd prefer consistency

@jimmyn Yes, it works as you mentioned. I added sections for it. https://github.com/microapps/gatsby-plugin-react-i18next/pull/43/commits/c40fcb15b2add0e5b6fdd1a8d451e4f80f6b14cb
Also changed lang, lng to language.

@jimmyn Yes, it works as you mentioned. I added sections for it. https://github.com/microapps/gatsby-plugin-react-i18next/pull/43/commits/c40fcb15b2add0e5b6fdd1a8d451e4f80f6b14cb
Also changed lang, lng to language.

authors: jdtzmn jimmyn jngbng


text:
dominantTaxa bugfix: when there are multiple dominant taxa with equal counts

Hi,
I did not make any changes to regular cases where only one dominant taxon was found per sample.
When sample contains multiple dominant taxa

In these cases, we could take only one dominant taxon --> another dominant taxa would be missed --> this cannot be done

Now we have more dominant taxa that there are samples.

We could create a list or a vector. I think a vector is better output since it is the output in cases where there are not multiple dominant taxa.

data("GlobalPatterns")
tse <- GlobalPatterns
tse1 <- tse
assay(tse1)[1, 1] <- max(assay(tse1)[, 1])

> perSampleDominantTaxa(tse1)
     CL3      CL3      CC1      SV1  M31Fcsw  M11Fcsw  M31Plmr  M11Plmr  F21Plmr  M31Tong  M11Tong LMEpi24M SLEpi20M   AQC1cm   AQC4cm
"549322"  "36155" "256977"  "71074" "331820" "331820"  "98605" "484436"  "64396" "360229" "114821" "279599" "329744" "549656" "549656"
  AQC7cm      NP2      NP3      NP5  TRRsed1  TRRsed2  TRRsed3     TS28     TS29    Even1    Even2    Even3
"549656" "557211" "534609"  "12812"  "87194" "319044" "319044" "331820" "189047" "550960" "550960" "550960"

> perSampleDominantTaxa(tse)
     CL3      CC1      SV1  M31Fcsw  M11Fcsw  M31Plmr  M11Plmr  F21Plmr  M31Tong  M11Tong LMEpi24M SLEpi20M   AQC1cm   AQC4cm   AQC7cm
 "36155" "256977"  "71074" "331820" "331820"  "98605" "484436"  "64396" "360229" "114821" "279599" "329744" "549656" "549656" "549656"
     NP2      NP3      NP5  TRRsed1  TRRsed2  TRRsed3     TS28     TS29    Even1    Even2    Even3
"557211" "534609"  "12812"  "87194" "319044" "319044" "331820" "189047" "550960" "550960" "550960"

Because we have vector whose length is greater than there are rows in colData, we have a problem.

To solve this problem, the vector is converted into a list that has as many elements as there are samples.

This cause problems in both countDominantTaxa and addPerSampleDominantTaxa.

countDominantTaxa creates a data.frame from dominant taxa and colData which is fed into function that summarizes dominant taxa.
addPerSampleDominantTaxa adds dominant taxa information to colData

> countDominantTaxa(tse1)
# A tibble: 20 × 4
   dominant_taxa     n rel.freq rel.freq.pct
   <chr>         <int>    <dbl> <chr>
 1 331820            3     11.1 11%
 2 549656            3     11.1 11%
 3 550960            3     11.1 11%
 4 319044            2      7.4 7%
 5 114821            1      3.7 4%
 6 12812             1      3.7 4%
 7 189047            1      3.7 4%
 8 256977            1      3.7 4%
 9 279599            1      3.7 4%
10 329744            1      3.7 4%
11 360229            1      3.7 4%
12 36155             1      3.7 4%
13 484436            1      3.7 4%
14 534609            1      3.7 4%
15 549322            1      3.7 4%
16 557211            1      3.7 4%
17 64396             1      3.7 4%
18 71074             1      3.7 4%
19 87194             1      3.7 4%
20 98605             1      3.7 4%

> countDominantTaxa(tse)
# A tibble: 19 × 4
   dominant_taxa     n rel.freq rel.freq.pct
   <chr>         <int>    <dbl> <chr>
 1 331820            3     11.5 12%
 2 549656            3     11.5 12%
 3 550960            3     11.5 12%
 4 319044            2      7.7 8%
 5 114821            1      3.8 4%
 6 12812             1      3.8 4%
 7 189047            1      3.8 4%
 8 256977            1      3.8 4%
 9 279599            1      3.8 4%
10 329744            1      3.8 4%
11 360229            1      3.8 4%
12 36155             1      3.8 4%
13 484436            1      3.8 4%
14 534609            1      3.8 4%
15 557211            1      3.8 4%
16 64396             1      3.8 4%
17 71074             1      3.8 4%
18 87194             1      3.8 4%
19 98605             1      3.8 4%

> head(colData(addPerSampleDominantTaxa(tse1))$dominant_taxa, 5)
$CL3
     CL3      CL3
"549322"  "36155"

$CC1
     CC1
"256977"

$SV1
    SV1
"71074"

$M31Fcsw
 M31Fcsw
"331820"

$M11Fcsw
 M11Fcsw
"331820"

> head(colData(addPerSampleDominantTaxa(tse))$dominant_taxa, 5)
     CL3      CC1      SV1  M31Fcsw  M11Fcsw
 "36155" "256977"  "71074" "331820" "331820"

Is the output of perSampleDominantTaxa ok? There are still some additional code that I have commented out.
Issue: https://github.com/microbiome/mia/issues/208
-Tuomas

Ok to me but curious to hear comment from @FelixErnst  - -
This problem is rare in practice, and there is stochasticity in measurements at least when we look at read counts from sequencing experiments. In such case it would not make much practical difference to simply choose the dominant taxon randomly, from the two (or more) top candidates because the reads have some inherent stochasticity. Then there could be just a warning (which would be triggered very rarely).
On the other hand there might be other cases where the exact counts do matter and there might be more reason to provide exact solutions. If this is something that should be readily implemented, or left for the informed user to decide about, I am not sure.

authors: TuomasBorman antagomir

repo: microbiome/mia


text:
Corrections to NEON NMDC term mappings file

@bmeluch @brynnz22 thank you for all the work on the NEON NMDC term mapping file: neon_nmdc_term_mappings.tsv
I was reviewing the TSV file and noticed a few things that need to be corrected before the NEON pipeline that we're writing in the nmdc-runtime repo can fully consume it without any ambiguities:

Ideally the program can consume only exact_mappings, i.e., table columns that map exactly to either scalar slots or nested slots. It's useful to record the kind of mappings that exist between columns and slots in the TSV file and wherever possible we should try and record the way in which the columns can be used / parsed to get to the format which is acceptable to the target slot in the "notes" column of the TSV file.
How should testMethod be parsed so that we get individual values for tot_nitro_cont_meth, tot_org_c_meth, protocol_link.url / protocol_link.name
Only one of ammoniumNRepNum, nitrateNitriteNRepNum, analyticalRepNumber can map to replicate_number. I'm thinking analyticalRepNumber is the best fit, but we need to look at the definitions more closely
How should samplingProtocolVersion be parsed so that we get individual values for protocol_link.url / protocol_link.name, samp_collec_method, micro_biomass_meth, water_cont_soil_meth
startDate and collectDate both cannot map to collection_date. I'm thinking it should just be collectDate. Important to note that it's not a range either
MIXS ENVO triad (env_broad_scale, env_local_scale, env_medium) need to be represented in a special way in the mapping file

We need to note another TSV file that we have for the triad term mappings: https://github.com/microbiomedata/nmdc-schema/blob/main/assets/neon_mixs_env_triad_mappings/neon-nlcd-local-broad-mappings.tsv

illuminaAdapterKit, illuminaIndex1, illuminaIndex2 all map to pcr_primers, but pcr_primers only accepts one has_raw_value, and judging by the definition I think it should be illuminaAdapterKit. But if we're unsure we can always record it as a mapping (other than exact_mapping) and fill in something in the notes for clarification
ncbi_project_name is a great close_mapping ncbiProjectID, amd we shouldn't be dropping ncbiProjectID simply because it isn't an exact_mapping. You can always make an issue to get an ncbi_project_id slot added, which can be a NamedThing. That way it can capture both the id as uriorcurie, and the name as a string. If we decide to do this, we can get rid of the ncbi_project_name slot

CC: @turbomam

@sujaypatil96  is this still needed?

Closing based on lack of comments. Please reopen if this is still needed.

repo: microbiomedata/nmdc-schema


text:
com.android.vending keeps crashing

I am running:

LOS 16 without signature spoofing
Magisk
Riru to get XPosed
FakeGApps xposed module to get signature spoofing
install MicroG, Google play store modified from F-droid (using microg repo and nanodroid)
use Magisk App Systemizer module to have MicroG and the play store moved to priv-app
ensure the play store have android.permission.FAKE_PACKAGE_SIGNATURE

Now the Play Store keep on crashing  with this error:
10-30 12:05:29.550 26672 26672 E AndroidRuntime: FATAL EXCEPTION: main
10-30 12:05:29.550 26672 26672 E AndroidRuntime: Process: com.android.vending, PID: 26672
10-30 12:05:29.550 26672 26672 E AndroidRuntime: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Parcel.createException(Parcel.java:1950)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:1918)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:1868)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.IUserManager$Stub$Proxy.getUsers(IUserManager.java:1092)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.UserManager.getSerialNumbersOfUsers(UserManager.java:2183)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at ygg.c(PG:3)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at ygh.d(Unknown Source:2)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at mlr.a(PG:193)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at mld.a(PG:4)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at ambf.run(PG:4)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6718)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
10-30 12:05:29.550 26672 26672 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

I remember having this one once but i dont remember how to fix this :s
As anyone any idea?

Looks like you need to give playstore app some permissions.

It's not enough to move priviledged apps (priv-app) into /system. You also need to do priv-app permission whitelisting, see:

https://source.android.com/devices/tech/config/perms-whitelist

@Nanolx Thanks for the explanations! permissions whitelisting cant be done with magisk?

If you write the correct XML file on your own and place it into the module, then yes.
The problem is, that all those systemizers don't do priv-app permission whitelisting, so they don't actually work for priv-apps.

@Nanolx actually it seems like they do!
https://github.com/Magisk-Modules-Repo/terminal_systemizer/blob/fe224bde603ce2584783da4e3cb6d182a5a3c643/system/xbin/systemize#L221
Will check those file on my system. Thanks!

You can try also https://github.com/nift4/microG_installer

authors: Nanolx farfromrefug nift4 ploink


text:
ImportLayer failed in Win32

Builds fail with below message. Very similar to https://github.com/microsoft/AL-Go/issues/833.
Works with:
"artifact": "//20.2.0.0/fi/closest"
but not with:
"artifact": "/onprem/20.2.0.0/fi/closest"
Attaching full log.
job-logs.txt
Error: Unexpected error when running action. Error Message: re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) ExitCode: 1 Commandline: docker build --isolation=process --memory 8G --no-cache --tag my:onprem-20.1.39764.39901-fi c:\bcartifacts.cache\ucu05qhe.tef, StackTrace: at DockerDo, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\HelperFunctions.ps1: line 272 <- at New-BcImage, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\ContainerHandling\New-NavImage.ps1: line 711 <- at New-BcContainer, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\ContainerHandling\New-NavContainer.ps1: line 620 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 798 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1036 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 965 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 947 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.15\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 909 <- at <ScriptBlock>, C:\3\_work\_actions\microsoft\AL-Go-Actions\v5.0\RunPipeline\RunPipeline.ps1: line 367 <- at <ScriptBlock>, C:\3\_work\_temp\f1bb419c-2064-4e52-be45-77629ab7d065.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1 Error: Process completed with exit code 1.

Could you try again now?

and include the log (failing or succeeding)

Yes, running now, looking promising but I'll get back with the logs when it is done.

Yepp, it worked! Logs:
job-logs2.txt

Ok, thanks

Thank you!

authors: freddydk kennetlindberg

repo: microsoft/AL-Go


text:
Publish Artifact from different branches

This Issue is properly only a VAR thing with onprem customer.
Case:
I want to grap the artifact created by CI/CD but they are only publish if branch is called main or release/
Code form CICD.yaml:
publishArtifacts: ${{ github.ref_name == 'main' || startswith(github.ref_name, 'release/') || needs.Initialization.outputs.deliveryTargetsJson != '[]' || needs.Initialization.outputs.environmentCount > 0 }}
I want to use the artifacts created by CI/CD in another branch.
My case is that I use a custom OnPrem deployment where I need to publish to an OnPrem BC enviroment. That currently works perfect from main but I need into work on another branch (in my case called TESTING).
Is this in any way support or possible to have? Perhaps a setting in the AL-Go-Settings.json could fix it in fureture release?
Br
Lars

Also related to:
https://github.com/orgs/microsoft/projects/521/views/1?filterQuery=branch&pane=issue&itemId=44382672
I want to deploy Development branch on OnPrem Enviroment for FAT

https://aka.ms/algosettings#deployto has a branches setting, which you should be able to set and enable deployment from other branches. The settings change needs to be done in that branch, and can be in main as well.

I kinda see where you are goingm but I will need to setup an enviroment that should not be used? perhaps with an deliveryToxx.ps1 that is blank, to not publish on every build to FAT?
Is that the way to go? (I am interested in having the artifact published from CI/CD to use in another action)

If you are not deploying to an actual environment, but instead delivering to a place where somebody else will perform the deployment, then I would add a deliverToMyPlace.ps1 (or like) and deliver the app during CI/CD and then deploy elsewhere.
You can control which branches will invoke the delivery in https://aka.ms/algosettings#deliverto

authors: dksander freddydk


text:
Support for additional text encodings

Up to now, only a few encodings can be distinguished in text coding. For example, ASCII says nothing about the codepage used (can be 437, or any 8XX, depending on the country). This can be problematic when implementing interfaces. For this reason, it would be good if one could also pass the text encoding as a number. So you could decide exactly how to read a text. Likewise, it would be good in this respect if the standard .NET functionalities would be available for converting different text encodings (Encoding.Convert). This would make working with texts much easier.

Convert.GetEncoding() would be nice as well.

Hi! Thank you for your suggestion. We are working on focusing the activity in this repository on addressing issues related to the AL development tools.
As this issue appears to require changes across multiple areas of our product, we recommend that you post this on our Ideas forum at aka.ms/BCIdeas, or vote up the idea if its already there.
We are constantly monitoring top ideas and will consider them for a future release.

authors: Avanti05 BazookaMusic FSharpCSharp

repo: microsoft/AL


text:
Error installing developer tools from NuGet

When I try to install the beta package from https://www.nuget.org/packages/Microsoft.Dynamics.BusinessCentral.Development.Tools/15.0.17.43318-beta I get an error.
Depending on the method used I get an different error:

Using NuGet CLI, I get an error over a missing dependency "Microsoft.Dynamics.Nav.Xrm.Common"

.\nuget.exe install Microsoft.Dynamics.BusinessCentral.Development.Tools -outputDirectory . -PreRelease -directDownload

`
`

Using dotnet tools I get an error about an invalid DotnetToolSettings.xml file

dotnet tool install Microsoft.Dynamics.BusinessCentral.Development.Tools --prerelease --global

Internal work item: AB#554312

@SBalslev could you please take a look?

@PatrickSchiefer
Just released 15.0.17.63223-beta: https://www.nuget.org/packages/Microsoft.Dynamics.BusinessCentral.Development.Tools/15.0.17.63223-beta
Can you give that a spin?

Seems issue still existing :
Attempting to resolve dependencies for package 'Microsoft.Dynamics.BusinessCentral.Development.Tools.15.0.17.63223-beta' with DependencyBehavior 'Lowest'
nuget.exe : Unable to resolve dependency 'Microsoft.Dynamics.Nav.Xrm.Common'. Source(s) used: 'nuget.org'.
Any idea of delay to solve it ?

Let's try one more time :) 15.0.18.19684-beta

Seems still error existing, xith same error :
nuget.exe : Unable to resolve dependency 'Microsoft.Dynamics.Nav.Xrm.Common'. Source(s) used: 'nuget.org'.

Still not working for me either, is this XRM Common package somewhere available?

Any new about that issue ?

authors: PatrickSchiefer SBalslev YvesDesrumaux


text:
[Event Request] codeunit 5847 "Get Average Cost Calc Overview" - OnAfterCopyAvgCostAdjmtEntryPointToAvgCostCalcOverview

We would like to add a new event OnAfterCopyAvgCostAdjmtEntryPointToAvgCostCalcOverview in the following trigger:
trigger OnRun()
.
.
.
repeat
Init;
Type := Type::"Closing Entry";
"Entry No." := "Entry No." + 1;
"Item No." := AvgCostAdjmtEntryPoint."Item No.";
"Variant Code" := AvgCostAdjmtEntryPoint."Variant Code";
"Location Code" := AvgCostAdjmtEntryPoint."Location Code";
"Valuation Date" := AvgCostAdjmtEntryPoint."Valuation Date";
OnAfterCopyAvgCostAdjmtEntryPointToAvgCostCalcOverview(Rec, AvgCostAdjmtEntryPoint); //A200F0002.Event
"Attached to Valuation Date" := "Valuation Date";
"Attached to Entry No." := "Entry No.";
"Cost is Adjusted" := AvgCostAdjmtEntryPoint."Cost Is Adjusted";
if EntriesExist(Rec) then begin
OnBeforeAvgCostAdjmtEntryPointInsert(Rec, AvgCostAdjmtEntryPoint);
Insert();
end else
AvgCostAdjmtEntryPoint.Delete();
until AvgCostAdjmtEntryPoint.Next() = 0;
end;
Event signature
[IntegrationEvent(false, false)]
local procedure OnAfterCopyAvgCostAdjmtEntryPointToAvgCostCalcOverview(var AvgCostCalcOverview: Record "Average Cost Calc. Overview"; var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")
begin
    //A200F0002.Event
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

repo: microsoft/ALAppExtensions


text:
codeunit 2 "Company-Initialize" - Initializing "Source Code" Description field length

The following functions should have an update of the length of the description variables.
The Object Caption from AllObjWithCaption (text249), passed through as a text250, then shrinked to a text30 in PageName & ReportName, but return as a text50, and stored in a text100 Description field.
Could the functions InsertSourceCode, PageName and ReportName be updated to store the first 100 characters of the related report and page caption?
(so there is some consistency?)
    local procedure InsertSourceCode(var SourceCodeDefCode: Code[10]; "Code": Code[10]; Description: Text[50])
    var
        SourceCode: Record "Source Code";
    begin
        SourceCodeDefCode := Code;
        SourceCode.Init();
        SourceCode.Code := Code;
        SourceCode.Description := Description;
        SourceCode.Insert();
    end;

    local procedure PageName(PageID: Integer): Text[50]
    var
        ObjectTranslation: Record "Object Translation";
    begin
        exit(CopyStr(ObjectTranslation.TranslateObject(ObjectTranslation."Object Type"::Page, PageID), 1, 30));
    end;

    local procedure ReportName(ReportID: Integer): Text[50]
    var
        ObjectTranslation: Record "Object Translation";
    begin
        exit(CopyStr(ObjectTranslation.TranslateObject(ObjectTranslation."Object Type"::Report, ReportID), 1, 30));
    end;

with
table 230 "Source Code"
field(2; Description; Text[100])
where
table 377 "Object Translation"
    procedure TranslateObject(ObjectType: Option " ","Table",Form,"Report",,"Codeunit","XMLPort",MenuSuite,"Page"; ObjectID: Integer): Text[250]
    var
        "Object": Record AllObjWithCaption;
    begin
        if Object.Get(ObjectType, ObjectID) then
            exit(Object."Object Caption");
    end;

    procedure TranslateTable(ObjectID: Integer): Text[250]
    begin
        exit(TranslateObject("Object Type"::Table, ObjectID));
    end;

with
table 2000000058 AllObjWithCaption
field(20; "Object Caption"; Text[249])

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: BertDeTemmerman JesperSchulz


text:
Improvement Codeunit 5988 "Serv-Documents Mgt." / Function FinalizeInvoiceDocument

Background for the request:
We added a BLOB-Field to table "Service Header" and "Service Invoice Header" and added code to transfer the value in the publisher OnBeforeServInvHeaderInsert but it never appeared in the "Service Invoice Header" at the end of the posting.
After long time of searching we found the function FinalizeInvoiceDocument that copies from the temporary "Service Invoice Header" record to the real record but doesn't respect that BLOB fields have to be calculated :-(
Request:

Publisher OnBeforeFinalizeInvoiceDocument should be extended with Parameter "ServHeader" and and handled flag:

local procedure OnBeforeFinalizeInvoiceDocument(var ServiceInvoiceHeader: Record "Service Invoice Header"; ServiceHeader: record "Service Header"; Handlel: Boolean)

Publisher OnAfterFinalizeInvoiceDocument(ServInvHeader, ServHeader) should have variable PServInvHeader (instead of ServInvHeader) as parameter.

Function FinalizeInvoiceDocument should be checked in general if there is a better way to move the data from the temporary record to the real record considering BLOB fields.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

authors: JesperSchulz RaKuNbg


text:
[BaseApp Issue] - Wrong count in CU12182 (Datifattura Export) - Procedure "ExportStandardDatifattura" (Italian Localization)

Hi, I noticed an issue in CU12182 (which I corrected manually on C/AL version, but not possibile in AL without modifying BaseApp).
The count is made inside a IF statement, which is not always triggered, but only on Document No/Document Type/Bill To-Pay To change.
In this way the procedure generate a big file containing more than 1000 documents, then many files with the last document repeated in each file.
This happens both for Sales and Purchase documents, here below the code:
        VATReportLine.SetRange(Type, VATReportLine.Type::Sale);
        CessionarioCommittenteDTELoop := VATReportLine.Count div 1000;
        if VATReportLine.Count mod 1000 <> 0 then
            CessionarioCommittenteDTELoop += 1;
        if VATReportLine.FindSet() then
            for CessionarioCommittenteDTELoopCouner := 1 to CessionarioCommittenteDTELoop do begin
                InitDatiFatturaNode(DotNetXmlDocument, XMLRootNode);
                ExportStandardDatifatturaHeader(VATReportHeader, XMLRootNode);
                // DTE xml node
                // CedentePrestatoreDTE node
                ExportCompInfo(XMLRootNode, 'CedentePrestatoreDTE', 'DTE');
                PrevDocumentType := VATReportLine."Document Type"::" ";
                PrevDocumentNo := '';
                PrevBillToPayToNo := '';
                repeat
                    // CessionarioCommittenteDTE node
                    if (VATReportLine."Document Type" <> PrevDocumentType) or (VATReportLine."Document No." <> PrevDocumentNo) or
                       (VATReportLine."Bill-to/Pay-to No." <> PrevBillToPayToNo)
                    then begin
                        PrevDocumentType := VATReportLine."Document Type";
                        PrevDocumentNo := VATReportLine."Document No.";
                        PrevBillToPayToNo := VATReportLine."Bill-to/Pay-to No.";
                        CessionarioCommittenteDTECount += 1;   <--- WRONG COUNT, MUST BE OUTSIDE THE IF STATEMENT ***********
                        ExportSaleInvoiceCustAndInvInfo(VATReportLine, XMLRootNode, DatiFatturaBodyDTEXmlNode);
                    end;
                    AddInvoiceAmountsData(VATReportLine, DatiFatturaBodyDTEXmlNode);
                until (VATReportLine.Next() = 0) or (CessionarioCommittenteDTECount = 1000);
                CessionarioCommittenteDTECount := 0;
                FileCounter += 1;
                GetFileSuffix(FileCounter, CessionarioCommittenteDTELoopCouner, FileSuffix);
                SaveFileOnClient(DotNetXmlDocument, 'IT%1_DF_%2.xml', 'V000' + FileSuffix);
            end;

        VATReportLine.SetRange(Type, VATReportLine.Type::Purchase);
        CessionarioCommittenteDTELoop := VATReportLine.Count div 1000;
        if VATReportLine.Count mod 1000 <> 0 then
            CessionarioCommittenteDTELoop += 1;
        if VATReportLine.FindSet() then
            for CessionarioCommittenteDTELoopCouner := 1 to CessionarioCommittenteDTELoop do begin
                InitDatiFatturaNode(DotNetXmlDocument, XMLRootNode);
                ExportStandardDatifatturaHeader(VATReportHeader, XMLRootNode);
                // DTE xml node
                // CedentePrestatoreDTE node
                ExportCompInfo(XMLRootNode, 'CessionarioCommittenteDTR', 'DTR');
                PrevDocumentType := VATReportLine."Document Type"::" ";
                PrevDocumentNo := '';
                PrevBillToPayToNo := '';
                repeat
                    // CessionarioCommittenteDTE node
                    if (VATReportLine."Document Type" <> PrevDocumentType) or (VATReportLine."Document No." <> PrevDocumentNo) or
                       (VATReportLine."Bill-to/Pay-to No." <> PrevBillToPayToNo)
                    then begin
                        PrevDocumentType := VATReportLine."Document Type";
                        PrevDocumentNo := VATReportLine."Document No.";
                        PrevBillToPayToNo := VATReportLine."Bill-to/Pay-to No.";
                        CessionarioCommittenteDTECount += 1;   <--- WRONG COUNT, MUST BE OUTSIDE THE IF STATEMENT ***********
                        ExportPurchInvoiceVendAndInvInfo(VATReportLine, XMLRootNode, DatiFatturaBodyDTEXmlNode);
                    end;
                    AddInvoiceAmountsData(VATReportLine, DatiFatturaBodyDTEXmlNode);
                until (VATReportLine.Next() = 0) or (CessionarioCommittenteDTECount = 1000);
                CessionarioCommittenteDTECount := 0;
                FileCounter += 1;
                GetFileSuffix(FileCounter, CessionarioCommittenteDTELoopCouner, FileSuffix);
                SaveFileOnClient(DotNetXmlDocument, 'IT%1_DF_%2.xml', '0000' + FileSuffix);
            end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: .


text:
[Event Request] Table 5080 "To-do" - OnAfterStartWizard2

Can you please add a new event
        "Wizard Step" := "Wizard Step"::"1";
        Duration := 1440 * 1000 * 60;

        OnBeforeInsertStartWizard2(Rec); // New Event
        Insert;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeInsertStartWizard2(var Task: Record "To-do")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 44246.

authors: JesperSchulz MrinalSingha


text:
[Event Request] codeunit 550 "VAT Rate Change Conversion" - OnUpdatePurchaseOnAfterPurchaseLineGet

Reference to the old issue marked as complete:
https://github.com/microsoft/ALAppExtensions/issues/19532
Not included in the Build ID 48357 (Update 1 for BC 2022 Wave 2)
Please add new event in codeunit 550 "VAT Rate Change Conversion" in function UpdatePurchase: OnUpdatePurchaseOnAfterPurchaseLineGet
[IntegrationEvent(true, false)]
local procedure OnUpdatePurchaseOnAfterPurchaseLineGet(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
begin
end;

procedure UpdatePurchase()
var
    PurchaseHeader: Record "Purchase Header";
    PurchaseHeader2: Record "Purchase Header";
    PurchaseLine: Record "Purchase Line";
    PurchaseLineOld: Record "Purchase Line";
    VATRateChangeLogEntry: Record "VAT Rate Change Log Entry";
    RecRef: RecordRef;
    NewVATProdPotingGroup: Code[20];
    NewGenProdPostingGroup: Code[20];
    StatusChanged: Boolean;
    ConvertVATProdPostingGroup: Boolean;
    ConvertGenProdPostingGroup: Boolean;
    RoundingPrecision: Decimal;
    IsHandled: Boolean;
    IsModified: Boolean;
begin
    ProgressWindow.Update(1, PurchaseHeader.TableCaption());

    ConvertVATProdPostingGroup := ConvertVATProdPostGrp(VATRateChangeSetup."Update Purchase Documents");
    ConvertGenProdPostingGroup := ConvertGenProdPostGrp(VATRateChangeSetup."Update Purchase Documents");
    if not ConvertVATProdPostingGroup and not ConvertGenProdPostingGroup then
        exit;

    IsHandled := false;
    OnBeforeUpdatePurchase(VATRateChangeSetup, IsHandled, PurchaseHeader);
    if IsHandled then
        exit;

    PurchaseHeader.SetFilter(
        "Document Type", '%1..%2|%3', PurchaseHeader."Document Type"::Quote, PurchaseHeader."Document Type"::Invoice,
        PurchaseHeader."Document Type"::"Blanket Order");
    OnUpdatePurchaseOnAfterPurchaseHeaderSetFilters(PurchaseHeader);
    if PurchaseHeader.Find('-') then
        repeat
            StatusChanged := false;
            if CanUpdatePurchase(PurchaseHeader, ConvertGenProdPostingGroup, ConvertVATProdPostingGroup) then begin
                if VATRateChangeSetup."Ignore Status on Purch. Docs." then
                    if PurchaseHeader.Status <> PurchaseHeader.Status::Open then begin
                        PurchaseHeader2 := PurchaseHeader;
                        PurchaseHeader.Status := PurchaseHeader.Status::Open;
                        PurchaseHeader.Modify();
                        StatusChanged := true;
                        OnUpdatePurchaseOnAfterOpenPurchaseHeader(PurchaseHeader);
                    end;
                if PurchaseHeader.Status = PurchaseHeader.Status::Open then begin
                    PurchaseLine.SetRange("Document Type", PurchaseHeader."Document Type");
                    PurchaseLine.SetRange("Document No.", PurchaseHeader."No.");
                    if PurchaseLine.FindSet() then
                        repeat
                            IsHandled := false;
                            OnUpdatePurchaseOnAfterPurchaseLineGet(PurchaseLine, IsHandled);
                            if not IsHandled then
                                if LineInScope(
                                        PurchaseLine."Gen. Prod. Posting Group", PurchaseLine."VAT Prod. Posting Group", ConvertGenProdPostingGroup,
                                        ConvertVATProdPostingGroup)
                                then
                                    if (PurchaseLine."Receipt No." = '') and
                                        (PurchaseLine."Return Shipment No." = '') and IncludePurchLine(PurchaseLine.Type, PurchaseLine."No.")
                                    then

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49620.

authors: JesperSchulz miljance


text:
Optional ask question distribute amounts in service contract

Below with marked old and new tags code change in routine DistributeAmounts in table Service Contract Header and event for the change asking.
//NEW Begin
local procedure AskContractAmountDistribution(var Result: Integer) OK: Boolean
var
    ContractAmountDistribution: Page "Contract Amount Distribution";
    IsHandled: Boolean;
begin
    OK := false;
    IsHandled := false;
    OnBeforeAskContractAmountDistribution(Rec, OK, Result, IsHandled);
    if NOT IsHandled then begin
        Clear(ContractAmountDistribution);
        ContractAmountDistribution.SetValues("Annual Amount", "Calcd. Annual Amount");
        if ContractAmountDistribution.RunModal = ACTION::Yes then begin
            Result := ContractAmountDistribution.GetResult;
            OK := true;
        end;
    end;
end;
//NEW End

local procedure DistributeAmounts()
var
    OldServContractLine: Record "Service Contract Line";
    //ContractAmountDistribution: Page "Contract Amount Distribution"; OLD
    Result: Integer;
begin
    if not "Allow Unbalanced Amounts" then begin
        ServContractLine.Reset();
        ServContractLine.SetRange("Contract Type", "Contract Type");
        ServContractLine.SetRange("Contract No.", "Contract No.");
        if not ServContractLine.Find('-') and ("Annual Amount" <> 0) then
            Error(Text058);
        CalcFields("Calcd. Annual Amount");
        if "Annual Amount" <> "Calcd. Annual Amount" then begin
            ServContractLine.SetRange("Line Value", 0);
            if ServContractLine.Find('-') then
                ServContractLine.TestField("Line Value");
            ServContractLine.SetRange("Line Value");
            if ServContractLine.Next <> 0 then begin
                //OLD Begin
                //Clear(ContractAmountDistribution);
                //ContractAmountDistribution.SetValues("Annual Amount", "Calcd. Annual Amount");
                //if ContractAmountDistribution.RunModal = ACTION::Yes then begin
                //    Result := ContractAmountDistribution.GetResult;
                ///OLD End
                //NEW Begin
                if AskContractAmountDistribution(Result) then begin
                    //NEW End
                    Currency.InitRoundingPrecision;
                    case Result of
                        0:
                            EvenDistribution(ServContractLine);
                        1:
                            ProfitBasedDistribution(ServContractLine);
                        2:
                            AmountBasedDistribution(ServContractLine);
                    end;
                    CalcFields("Calcd. Annual Amount");
                    if "Annual Amount" <> "Calcd. Annual Amount" then begin
                        ServContractLine.Validate(
                          "Line Amount",
                          ServContractLine."Line Amount" + "Annual Amount" - "Calcd. Annual Amount");
                        ServContractLine.Modify();
                    end;
                    ServContractLine.SetFilter("Line Amount", '<=0');
                    if ServContractLine.Find('-') then
                        Message(Text061, ServContractLine.FieldCaption("Line Amount"));
                end else
                    Error('');
            end else begin
                OldServContractLine := ServContractLine;
                ServContractLine.Validate("Line Amount", "Annual Amount");
                ServContractLine.Modify();
                if ServMgtSetup."Register Contract Changes" then
                    ServContractLine.LogContractLineChanges(OldServContractLine);
            end;
        end;
    end;
end;

//NEW Begin
//[IntegrationEvent(false, false)]
local procedure OnBeforeAskContractAmountDistribution(var ServiceContractHeader: Record "Service Contract Header"; var OK: Boolean; var Result: Integer; var IsHandled: Boolean)
begin
end;
//NEW End

Availability update: We will publish a fix for this issue in the next update for release 22.
Build ID to track: 57104.

authors: JesperSchulz renevanbeekum


text:
[Event Request] Table 36 - "Sales Header" - OnBeforeSalesLinesExist

Dear ALAppExtensions team,
through this issue we would like to request the addition of an event publisher OnBeforeSalesLinesExist in Table 36 "Sales Header" with the following signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeSalesLinesExist(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

which would be used in procedure SalesLinesExist() as follows:
procedure SalesLinesExist(): Boolean
var
	// >>>> New >>>>
	IsHandled: Boolean;
	// <<<< New <<<<
begin
	// >>>> New >>>>
	IsHandled := false;
	OnBeforeSalesLinesExist(Rec, IsHandled);
	if IsHandled then
		exit;
	// <<<< New <<<<
	SalesLine.Reset();
	SalesLine.SetRange("Document Type", "Document Type");
	SalesLine.SetRange("Document No.", "No.");
	exit(not SalesLine.IsEmpty());
end;

Thanks in advance!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10806.

authors: HendrikSittner JesperSchulz


text:
[Event Change Request] codeunit 395 "FinChrgMemo-Issue" - OnBeforeIssueFinChargeMemo

Hello, is it possible to change the OnBeforeIssueFinChargeMemo Event to the follow?
    trigger OnRun()
    var
        Customer: Record Customer;
        CustomerPostingGroup: Record "Customer Posting Group";
        CustLedgEntry: Record "Cust. Ledger Entry";
        FinChrgMemoLine: Record "Finance Charge Memo Line";
        ReminderFinChargeEntry: Record "Reminder/Fin. Charge Entry";
        FinChrgCommentLine: Record "Fin. Charge Comment Line";
        CurrencyExchangeRate: Record "Currency Exchange Rate";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeIssueFinChargeMemo(FinChrgMemoHeader, ReplacePostingDate, PostingDate, IsHandled, IssuedFinChrgMemoHeader);
        if IsHandled then
            exit;

        with FinChrgMemoHeader do begin
            UpdateFinanceChargeRounding(FinChrgMemoHeader);
            if (PostingDate <> 0D) and (ReplacePostingDate or ("Posting Date" = 0D)) then
                Validate("Posting Date", PostingDate);

            CheckVATDate(FinChrgMemoHeader);

    [IntegrationEvent(false, false)]
    local procedure OnBeforeIssueFinChargeMemo(var FinChargeMemoHeader: Record "Finance Charge Memo Header"; var ReplacePostingDate: Boolean; var PostingDate: Date; var IsHandled: Boolean; IssuedFinChrgMemoHeader: Record "Issued Fin. Charge Memo Header")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: .

authors: JesperSchulz ReneZiel


text:
[EventRequest] Codeunit 90 “Purch.-Post”, PostCombineSalesOrderShipment

Please add a new publisher event FindingDropShptBuffer in Codeunit 90 on function PostCombineSalesOrderShipment and call it as shown in the image below:

Please add the corresponding Integration Event In the bottom of the codeunit
LOCAL [IntegrationEvent] FindingDropShptBuffer(VAR DropShptPostBuffer : Record "Drop Shpt. Post. Buffer";PurchRcptNo : Code[20];SalesShptLine : Record "Sales Shipment Line";VAR TempTrackingSpecification : Record "Tracking Specification")

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


text:
[Event Request] page 5856 "Get Post.Doc - P.RcptLn Sbfrm" - OnBeforeIsShowRec - More Parameters

see #6489
Unfortunately we need a correction of the event raiser and publisher.
Please extend it by 3 new parameters which are needed in order to set the global variables.
Old Event-Raiser (Issue 6489):
OnBeforeIsShowRec(PurchRcptLine2, RevQtyFilter, ReturnValue, IsHandled);
New Event-Raiser:
OnBeforeIsShowRec(PurchRcptLine2, RevQtyFilter, ReturnValue, RemainingQty, RevUnitCostLCY, FillExactCostReverse, IsHandled);
Old Event-Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeIsShowRec(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var ReturnValue: Boolean; var IsHandled: Boolean);
begin
end;

New Event-Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeIsShowRec(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var ReturnValue: Boolean; var RemainingQty: Decimal; var RevUnitCostLCY: Decimal; ExactCostReverse: Boolean; var IsHandled: Boolean);
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

authors: StHillmann bc-ghost


text:
Discrepancies between different renderers

Platform
What platform is your issue or question related to? (Delete other platforms).

.NET HTML
Android
iOS

Author or host
Host ( Teams )
Any version
Inconsistencies between renderers :

Consider any card element which has a required field . Example TextBlock has text as required property . In case the developer does not specify test , this card is dropped on Android and iOs ( Probably WPF renderer as well as it uses the same shared code ) . While the HTML renderer will continue rendering the rest of the card and just drop the element .

Sample
{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "Container",
			"items": [
				{
					"type": "TextBlock"

				},
				{
					"type": "ColumnSet",
					"columns": [
						{
							"type": "Column",
							"width": "auto",
							"items": [
								{
									"type": "Image",
									"url": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg",
									"size": "small",
									"style": "person"
								}
							]
						},
						{
							"type": "Column",
							"width": "stretch",
							"items": [
								{
									"type": "TextBlock",
									"text": "Matt Hidinger",
									"weight": "bolder",
									"wrap": true
								},
								{
									"type": "TextBlock",
									"spacing": "none",
									"text": "Created {{DATE(2017-02-14T06:08:39Z,SHORT)}}",
									"isSubtle": true,
									"wrap": true
								}
							]
						}
					]
				}
			]
		},
		{
			"type": "Container",
			"items": [
				{
					"type": "TextBlock",
					"text": "Now that we have defined the main rules and features of the format, we need to produce a schema and publish it to GitHub. The schema will be the starting point of our reference documentation.",
					"wrap": true
				},
				{
					"type": "FactSet",
					"facts": [
						{
							"title": "Board:",
							"value": "Adaptive Card"
						},
						{
							"title": "List:",
							"value": "Backlog"
						},
						{
							"title": "Assigned to:",
							"value": "Matt Hidinger"
						},
						{
							"title": "Due date:",
							"value": "Not set"
						}
					]
				}
			]
		}
	],
	"actions": [
		{
			"type": "Action.ShowCard",
			"title": "Set due date",
			"card": {
				"type": "AdaptiveCard",
				"body": [
					{
						"type": "Input.Date",
						"id": "dueDate",
						"title": "Select due date"
					},
					{
						"type": "Input.Text",
						"id": "comment",
						"isMultiline": true,
						"placeholder": "Add a comment"
					}
				],
				"actions": [
				    {
				        "type": "Action.OpenUrl",
						"title": "OK",
						"url": "http://adaptivecards.io"
			        }
				]
			}
		},
		{
			"type": "Action.OpenUrl",
			"title": "View",
			"url": "http://adaptivecards.io"
		}
	]
}

In case of empty textBlocks ( "text" : "" )  , Android and iOS renderers will add the text View plus the spacing while the HTML renderer will add only spacing . There should be a parity in this .

Sample : Card

I absolutely agree that we need to have consistent behavior between the renderers.
But I'm not sure which is the right one, this needs to be discussed.

Thanks @rednivrug15 ;
This (inconsistency across renderer implementations)  is a problem we are trying to slowly address ; Part of it is ambiguous Spec design when they are first drawn up, part of it is the complexity of implementing one feature in a specific platform vs another -- in which case we should at least document and have a plan to converge eventually (assuming the feature itself makes sense). We will keep this open and use this to track the consistency problem in general. Thanks

Thanks @rednivrug15, the first issue is being tracked with #3154, and the second issue is being tracked with #641

repo: microsoft/AdaptiveCards


text:
[iOS][Accessibility ] [Focus is not going to the first accessibility element]

Platform
What platform is your issue or question related to?

iOS

Author or host
Teams Mobile Client
Version of SDK
SDK version 2.1.0 (ACv1.3)
Details
When there are errors on the cards after pressing submit action, focus is not going to the first accessibility element (input field) on the card that has error message. Link to video

@jwoo-msft assigning to you for initial investigation. Pls update once we do have an action plan for this. Thanks

Hello @jyoti-ms,
Can you be more specific about what's the issue here? If there is an error, the focus will be set on the first input item with an error. For example, if it's input.text, the focus will be set on the input.text and open up a keyboard.

@jwoo-msft When user clicks on submit button and if there is an error then, the view is getting scrolled and focus is not going to the first input that has errors.
Focus is going out of the adaptive card's view when voice over is on (on input validation).
This is happening whenever layout of the superview is changed due to errors.
Can you please take a look at the video once? Link to video Do let me know if you need more info on this.

This issue can be fixed only when action type is known to me on layout change notification.
Scenario -  Currently layout change notification is sent to the host on button click(Action.ShowCard, Action.Submit, Action.toggleVisibility). The host would need to have different layout change functions in teams client based on the type of the action. So if we have action.submit, then we can avoid performing reloadRows (because of this we are losing focus) we only need to update the height of the cell and changing the button state.
Can you please confirm on this is this is possible to provide action type and button ref on layout change notification?
cc:@sowrabh-msft @shalinijoshi19

authors: jwoo-msft jyoti-ms shalinijoshi19


text:
Miss 'Add Metadata' action in the Properties dialog for one blob container

Storage Explorer Version: 1.16.0-dev
Build: 20200916.1
Branch: main
Platform/OS: Windows 10 / CentOS 7.6.1810 (Core) / MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release (1.15.1)
Steps to reproduce:

Expand one storage account -> Blob Containers.
Create a new blob container -> Right click it -> Click 'Properties...'.
Check the Properties dialog.

Expect Experience:
The Properties dialog shows well.

Actual Experience:
Miss 'Add Metadata' action in the Properties dialog.

More Info:
This issue also reproduces for one folder under one file share.

Verified on build 20200922.5. This issue has been fixed. So close it.

repo: microsoft/AzureStorageExplorer


text:
Cosmos DB Tables with underscore in the name will not allow insert/delete

Storage Explorer Version: 1.4.0
Platform/OS Version: Windows
Architecture: ia32
Regression From:  Haven't tried
Steps to Reproduce:

Create a Cosmos DB Table in the Azure portal, for instance: ToDo_New
Go to Microsoft Azure Storage Explorer and try to insert, or delete data in the table
You will no get an error saying "Deleting entities from table 'fekberg/ToDo_New': Failed: Table name format is incorrect."

Expected Experience:
Inserted or Deleted data
Actual Experience:
The error

Same behavior when you have a Cosmos DB table name that has a period.  Example: test.name
Any updates on this?

authors: austinheinrichs fekberg


text:
The resource groups cannot be searched

Storage Explorer Version: 1.26.0-dev
Build Number: 20221006.3
Branch: feature branch
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.6 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.26.0)
Steps to Reproduce

Launch Storage Explorer.
Click the Filter button -> Make sure the 'Resource Groups (Disks)' option is selected.
Type a resource group name to the search box -> Execute 'Search'.
Check whether the resource group is searched.

Expected Experience
The resource group is searched.

Actual Experience
The resource group is not searched.

Verified this issue on the build 20221028.4. Fixed.

authors: v-kellyluo v-xianya


text:
AzureTRE Release 0.5 alignment

What is being addressed
Fixes #26.
Align this repo to changes in AzureTRE release 0. 5
How is this addressed

rename all the instances of the env var MGMT_RESOURCE_GROUP to be MGMT_RESOURCE_GROUP_NAME

Closing as superceeded by 0.5.1

authors: LizaShak marrobi

repo: microsoft/AzureTRE-Deployment


text:
Databricks workspace service fails to deploy with DNS error

Remember to label the issue with the appropriate area, and also assign it to yourself if you plan to work on the issue in the near future.
Describe the bug
Unable to deploy an instance of the default databricks workspace service. The error messages in the Operations logs are verbose but this is the first message:
looking up A records for "": lookup : no such host
Steps to reproduce

Deploy TRE 0.11
Deploy a new base workspace
Register default databricks workspace service bundle
Attempt to deploy the databricks service to the workspace.

Have you deployed the Databricks authentication shared service?
Is listed as prerequisite here - https://microsoft.github.io/AzureTRE/v0.11.0/tre-templates/workspace-services/databricks/
Not sure if that's the cause, but is needed.

@marrobi I didn't deploy the Databricks auth service. I deployed it now, have an instance of the shared service running. I redeployed the workspace service, but creation in a workspace is still failing with the same DNS error message.

Can you share the full logs. Email or teams is fine if don't want to share here.
Thanks.

@SvenAelterman created a PR here - https://github.com/microsoft/AzureTRE/issues/3515
Are you able to test this change, as I don't have an East US deployment at present.

@marrobi  Will try ASAP. Thanks.

@marrobi Should the version number of the Databricks template not be increased?

good catch, feel free to add it to the PR review :)

@SvenAelterman fixed.

authors: SvenAelterman marrobi

repo: microsoft/AzureTRE


text:
Samples missing deployment templates

Sample information

Sample type: samples
Sample language: all
Sample name: several

PR list
csharp_dotnetcore

#3466
#3467

javascript_nodejs

#3468
#3469

csharp_webapi, java_springboot, python

#3470

Describe the bug
Several samples are missing the deployment templates.
csharp_dotnetcore

[ ] 13.core-bot
[ ] 13.core-bot.tests
[ ] 14.nlp-with-orchestrator
[ ] 40.timex-resolution
[ ] 42.scaleout
[ ] 43.complex-dialog
[ ] 44.prompt-users-for-input
[ ] 45.state-management
[ ] 50.teams-messaging-extensions-search
[ ] 51.teams-messaging-extensions-action
[ ] 52.teams-messaging-extensions-search-auth-config
[ ] 53.teams-messaging-extensions-action-preview
[ ] 54.teams-task-module
[ ] 56.teams-file-upload
[ ] 80.skills-simple-bot-to-bot
[ ] 81.skills-skilldialog
[ ] adaptive-dialog

csharp_webapi

[ ] 13.core-bot

java_springboot

[ ] 40.timex-resolution
[ ] 42.scaleout

javascript_es6

[ ] 01.browser-echo
[ ] 70.styling-webchat

javascript_nodejs

[ ] 01.console-echo
[ ] 14.nlp-with-orchestrator
[ ] 23.facebook-events
[ ] 40.timex-resolution
[ ] 43.complex-dialog
[ ] 44.prompt-for-user-input
[ ] 45.state-management
[ ] 49.qnamaker-all-features
[ ] language-generation
[ ] 05.a.multi-turn-prompt-with-language-fallback
[ ] 05.multi-turn-prompt

python

[ ] 01.console-echo
[ ] 40.timex-resolution

typescript_nodejs

[ ] 01.console-echo

Expected behavior
Add missing the deployment templates folder.

Closing as completed.

authors: mmiele mrivera-ms

repo: microsoft/BotBuilder-Samples


text:
Experimental Skill Prototypes

This commit contains to sample scenarios for Skills:

A SimpleBotToBot example that shows the basics on how to consume an Echo Skill from a root bot.
A more advanced DialogToDialog example that shows how to consume a skill that can perform several activities using a SkillDialog

Reviewed files in the DialogRootBot project. Will continue reviewing tomorrow.

authors: JonathanFingold gabog


text:
Damcilva/2.0/tools/add scheduler stuck debug code

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

We are seeing some builds getting stuck while still reporting all packages were built. This should only happen if there is node stuck that isn't getting queued to build somehow. If the build fails, dump the state of the available nodes via IsNodeAvailable() recursively starting at the goal node. This is a similar mechanism as is used to queue nodes so we should see why the goal node isn't available (which is the "success" state for the scheduler).
Change Log

Add  temporary debugStuckNode() function to help diagnose scheduler issues.

Does this affect the toolchain?

NO
Test Methodology

Local

If we are going to keep this long-term, I'm going to redo it completely. This was written as a stopgap to help diagnose the build issues but its not suitable to keep as is.

repo: microsoft/CBL-Mariner


text:
The function Object.defineProperty doesn't execute correctly

Description
When using the function RegExp() to create a RegExp object. The object's lastIndex property should be 0 and the property descriptor writable should be true. But when i use the function   Object.defineProperty to redefine the property lastIndex . Chakra failed to change its value while all other engines such as V8, SpiderMonkey, and JavascriptCore changed successfully.  Is this a normal behavior of Chakra?
Version
chakra 1.11.22
Run Command
chakra-1_11_22/bin/ch testcase.js
Testcase
var regexp5 = new RegExp(/abc/);
print(regexp5.lastIndex);

Object.defineProperty(regexp5, "lastIndex", {
	value: "\w?\B",
	writable: false
});
print(regexp5.lastIndex);

Output
0
0

Expected output
0
w?B

This is an issue with the Regexp.prototype.lastIndex property specifically and not a broader issue with Object.defineProperty.
Unfortunately there are a lot of small issues with the RegExp implementation.

repo: microsoft/ChakraCore