1685 change flexible layout position from int to double.#1688
1685 change flexible layout position from int to double.#1688
Conversation
this wil need fix in pnp.framework as well
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1688 +/- ##
==========================================
- Coverage 82.42% 81.26% -1.16%
==========================================
Files 416 637 +221
Lines 28590 45266 +16676
Branches 0 4750 +4750
==========================================
+ Hits 23565 36785 +13220
- Misses 5025 7086 +2061
- Partials 0 1395 +1395 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… to be written when the Section is empty
|
@czullu I got your changes and did some tests, and it is passing in the validation "control is EmptySection". The validation is done by the ControlType?
|
|
@PedroMordeP Can you may be share your canvasContent1 with me? If i create a Page from UI with just Empty Sections (3-Column) and then read it with pnpcore and use SaveAs to store as different Page it still works. The CanvasControl1 on my end looks like this: |
|
@czullu I'm using this template, it has 2 empty flexible layouts sections 48099408456742cfa3c04750ad92580d.txt Maybe some code has not yet been merged that is missing on my side? |
Are you testing from pnp.framework? If so the problem might be over there in one of this 2 files: |
I'm testing using PnP.PowerShell with local PnP.Framework and PnP.Core to Get and Set a template.
But when is deploying the template maybe is not "parsing" well from XML !? I did a temporary fix like this, but maybe this is not the way
Thank you |
|
@czullu @jansenbe I ended up changing my code to this, and for me it's all working now.
File with my changes |
Thank you for the fix, unfortunately i habe been quite busy and could not follow up. or we have an issue with the syntex dedection starting at Line 1519 i other words - your fix does handle a case which should not happen. As still have your sample from 2 weeks ago, i will give it a chance and see if i can spot why the control ends up having the wrong type. It might as well come from pnp-framework creating the Objects from the XML Info.. |
…m XML-Template








This is fix for #1685 which does have a depending fix in pnp.framework.
Thank you @PedroMordeP for your research.