powerplatform-vscode icon indicating copy to clipboard operation
powerplatform-vscode copied to clipboard

Pac paportal download reverse manifests records order at each execution

Open ThierryBIENVENU opened this issue 3 years ago • 1 comments

I don't know if this is the right place to ask the problem but every time I run the following command in the vscode terminal : pac paportal download --path '.' --webSiteId 'xxx' --overwrite then the records in the .portalconfig/org-manifest.yml and .portalconfig/manifest.yml files are rewritten in the reverse order of the previous execution. It forces me to rerun the command before committing files to avoid unintelligible diff in commit history.

ThierryBIENVENU avatar Oct 20 '22 17:10 ThierryBIENVENU

Yes, I have verified this behavior, running download the second time eliminates the inadvertent diff. As this is not ideal, we will look into this issue.

MrRishabhJain avatar Oct 22 '22 08:10 MrRishabhJain

This issue has been fixed and will be shipped as a part of our upcoming release in January.

MrRishabhJain avatar Dec 14 '22 19:12 MrRishabhJain

@ThierryBIENVENU, the fix has been released with Power Platform Tools v1.1.16.

MrRishabhJain avatar Feb 14 '23 07:02 MrRishabhJain

Thanks @MrRishabhJain for the follow-up. I've tested v1.1.16 and the manifiest is more stable but there are new component with DisplayName $RELATIONSHIP$adx_webpageaccesscontrolrule: and $RELATIONSHIP$adx_entitypermission: which change order now at each download. Oddly, even if there no change, cheksum change. See capture image

ThierryBIENVENU avatar Feb 14 '23 11:02 ThierryBIENVENU

@ThierryBIENVENU, Thanks for bringing this scenario to our attention, seems like sorting records beyond the record ID is required here. Will update here once this fix is released.

MrRishabhJain avatar Mar 03 '23 06:03 MrRishabhJain

Hey @ThierryBIENVENU, we had resolved this issue and the manifest should be generating successfully now, can you please confirm?

MrRishabhJain avatar Jun 06 '23 20:06 MrRishabhJain

Hello @MrRishabhJain, Nice to hear, the manifest is much more stable now and generates less noise during commit. Great job.

ThierryBIENVENU avatar Jun 07 '23 08:06 ThierryBIENVENU