SubPointSolutions / spmeta2

SharePoint artifact provision for .NET platform. Supports SharePoint Online, SharePoint 2019, 2016 and 2013 via CSOM/SSOM.
http://subpointsolutions.com/spmeta2
133 stars 56 forks source link

wrong message when deploying the field and the name is too long #1141

Open maratbakirov opened 4 years ago

maratbakirov commented 4 years ago

i got this. got this error

note it says "at leaa 32 characters" while it meanet to say "at most 32" :)

Unhandled Exception: SPMeta2.Exceptions.SPMeta2ModelDeploymentException: Errors while validating the model ---> SPMeta2.Exceptions.SPMeta2AggregateException: One or more errors occurred. ---> SPMeta2.Exceptions.SPMeta2ModelValidationException: InternalName must be leaa than 32 characters:[CandidateCaseIneligibilityComments]. Definition:[InternalName:[CandidateCaseIneligibilityComments] Convert(p.Id):[9e66310c-84af-4527-8a02-57c531bec5dc] Title:[Case Ineligibililty Comments] FieldType:[Note] Convert(p.NumberOfLines):[6] Convert(p.RichText):[False] RichTextMode:[Compatible] Convert(p.AppendOnly):[False] Convert(p.UnlimitedLengthInDocumentLibrary):[True]]