Comments (6)
Hi Pieter,
Thanks for reporting this. However, in the example you post, the Id property is a Guid, not a string. E.g. we are comparing 2 Guids there and casing doesn't apply then.
Which version of the engine are you running? Are you compiling the latest branch (we've been making many updates to it the last days)?
from pnp-sites-core.
Hi Erwin,
I didn't investigate the exact line things failed in but the easy way to reproduce this is by adding an existing field to a content type definition. And replace the GUIDs of this field with some capitals.
I'll have a quick look where the exact line is where things go wrong.
I've got the code as it was at the beginning of the week.
Thanks,
Pieter
from pnp-sites-core.
I just did exactly as you described, but couldn't reproduce the error here...
<pnp:ContentType ID="0x0100B5EAF2F41E01254D8D78342FD9EF8764" Name="TestPnP" Description="" Group="PnP" NewFormUrl="" EditFormUrl="" DisplayFormUrl="">
<pnp:FieldRefs>
<pnp:FieldRef ID="c042a256-787d-4a6f-8a8a-cf6ab767f12d" Name="ContentType" />
<pnp:FieldRef ID="fa564e0f-0c70-4ab9-b863-0177e6ddd247" Name="Title" Required="true" />
<pnp:FieldRef ID="A9E51afe-1c8b-4c51-9413-b630a82b660f" Name="Test_x0020_PnP_x0020_Column" />
</pnp:FieldRefs>
</pnp:ContentType>
Notice the case different in the last FieldRef entry. It just worked here. I also tried with different casings in the content type ID, but also had no problems.
from pnp-sites-core.
What can help, if you still encounter the issue with the latest build (we made changes to the engine today even), is if you could provide us with the template you're trying to provision?
from pnp-sites-core.
Hi Erwin,
I just tried it with the latest code and it now worked. Whatever you did over the last few days must have fixed the issue.
from pnp-sites-core.
Glad to hear!
from pnp-sites-core.
Related Issues (20)
- Default to retry-after header value for 503 in ClientContextExtensions.cs HOT 1
- [BUG] The refresh token has expired due to inactivity HOT 5
- [BUG] When applying provisioning template using a ClientContext created for a Federated tenant, an 'access denied' exception is thrown HOT 1
- [BUG] ClientSidePage.InstantiateDefaultebparts() method throw exception while creating modernpage. HOT 1
- [BUG] Sublinks not provisioned in Footer HOT 2
- [BUG] HOT 1
- [BUG] HOT 1
- [BUG] Apply-PnPTenantTemplate : Exception while invoking endpoint HOT 1
- [FEATURE] Is it posible to use tokens in pnp:Parameters? HOT 1
- [BUG] List view with type "GRID" not visible in view selector in toolbar after provisioning HOT 1
- [BUG] - Export Fields Lists - Calculated Fields exported before referenced Fields in Formula HOT 1
- PnP:DefaultDocument uploads document twise in a folder HOT 1
- [Question] GetWebLoginClientContext error when run under IIS HOT 4
- AddSPItem() unable to add data to sharepoint list HOT 1
- cant generate site provisioning template on a specific tenant HOT 1
- [BUG] AppManager:GetAvailable() returns NULL after V3.23.2007 when used in Azure Functions HOT 1
- [BUG] Trying to remove wiki Teams tab causes issues HOT 3
- [BUG] Apply-PnPProvisioningTemplate : The attempted operation is prohibited because it exceeds the list view threshold HOT 2
- [BUG] Apply-PnPProvisioningTemplate reset "Enforce relationship behavior" value on lookup columns HOT 1
- [BUG] Apply-PnPProvisioningTemplate - Cannot execute ApplicationLifecycleManagement Handler without manually aquiring a Token via Connect-PnPOnline -PnpManagementShell first HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnp-sites-core.