This project is read-only.

Exception for wiki pages

Aug 18, 2009 at 10:02 AM

Hi, I have created a workflow, based on WSS3 Workflow Tools, that I use for different kind of libraries. It works perfectly, except on wiki pages libraries. During instantiation I receive the following error :

Value does not fall within the expected range.   at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)
   at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)
   at Microsoft.SharePoint.SPListItem.GetValue(String strName)
   at Microsoft.SharePoint.SPListItem.get_Title()
   at TPG.SharePoint.Workflow.InstantiationPage.get_ListItemTitle()
   at TPG.SharePoint.Workflow.InstantiationPage.GetMetaData()
   at TPG.SharePoint.Workflow.ListWorkflowPage.get_MetaDataInternal()
   at TPG.SharePoint.Workflow.ListWorkflowPage.TPG.SharePoint.Workflow.IWorkflowPage.get_WorkflowMetaData()
   at TPG.SharePoint.Workflow.WorkflowControlPlaceHolder.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The exception is not thrown if I add a new column named "Title" to the library, but probably this is not the best way to solve the problem...

Thanks !

Coordinator
Aug 18, 2009 at 10:04 AM

That’s a bonafide bug. Wiki pages do not have a title, and that’s something we didn’t realize until now. This sits at the core of our tools, so it’ll be difficult to circumvent.

Best regards,

Wouter van Vugt
MVP Visual Studio Tools for Office

Envelope

wouter@code-counsel.net

Telephone

+31 6  438 317 12

icon_twitter

@woutervugt

RSS

http://blogs.code-counsel.net/wouter

Logo 7 cm

Code Counsel

Critical Path Training

CPT

Sharing Knowledge with Passion
www.code-counsel.net

Your fastest way up the SharePoint learning curve!
www.criticalpathtraining.com

From: ptipwa [mailto:notifications@codeplex.com]
Sent: dinsdag 18 augustus 2009 11:03
To: Wouter van Vugt
Subject: Exception for wiki pages [wss3workflow:66184]

From: ptipwa

Hi, I have created a workflow, based on WSS3 Workflow Tools, that I use for different kind of libraries. It works perfectly, except on wiki pages libraries. During instantiation I receive the following error :

Value does not fall within the expected range. at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.GetValue(String strName)
at Microsoft.SharePoint.SPListItem.get_Title()
at TPG.SharePoint.Workflow.InstantiationPage.get_ListItemTitle()
at TPG.SharePoint.Workflow.InstantiationPage.GetMetaData()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_MetaDataInternal()
at TPG.SharePoint.Workflow.ListWorkflowPage.TPG.SharePoint.Workflow.IWorkflowPage.get_WorkflowMetaData()
at TPG.SharePoint.Workflow.WorkflowControlPlaceHolder.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The exception is not thrown if I add a new column named "Title" to the library, but probably this is not the best way to solve the problem...

Thanks !

Read the full discussion online.

To add a post to this discussion, reply to this email (wss3workflow@discussions.codeplex.com)

To start a new discussion for this project, email wss3workflow@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Coordinator
Aug 18, 2009 at 10:27 AM

e.g. We’ll need to fix it asap  J

Best regards,

Wouter van Vugt
MVP Visual Studio Tools for Office

Envelope

wouter@code-counsel.net

Telephone

+31 6  438 317 12

icon_twitter

@woutervugt

RSS

http://blogs.code-counsel.net/wouter

Logo 7 cm

Code Counsel

Critical Path Training

CPT

Sharing Knowledge with Passion
www.code-counsel.net

Your fastest way up the SharePoint learning curve!
www.criticalpathtraining.com

From: Wouterv [mailto:notifications@codeplex.com]
Sent: dinsdag 18 augustus 2009 11:04
To: Wouter van Vugt
Subject: Re: Exception for wiki pages [wss3workflow:66184]

From: Wouterv

That’s a bonafide bug. Wiki pages do not have a title, and that’s something we didn’t realize until now. This sits at the core of our tools, so it’ll be difficult to circumvent.

Best regards,

Wouter van Vugt
MVP Visual Studio Tools for Office

Error! Filename not specified.

wouter@code-counsel.net

Error! Filename not specified.

+31 6 438 317 12

Error! Filename not specified.

@woutervugt

Error! Filename not specified.

http://blogs.code-counsel.net/wouter

Error! Filename not specified.

Code Counsel

Critical Path Training

Error! Filename not specified.

Sharing Knowledge with Passion
www.code-counsel.net

Your fastest way up the SharePoint learning curve!
www.criticalpathtraining.com

From: ptipwa [mailto:notifications@codeplex.com]
Sent: dinsdag 18 augustus 2009 11:03
To: Wouter van Vugt
Subject: Exception for wiki pages [wss3workflow:66184]

From: ptipwa

Hi, I have created a workflow, based on WSS3 Workflow Tools, that I use for different kind of libraries. It works perfectly, except on wiki pages libraries. During instantiation I receive the following error :

Value does not fall within the expected range. at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)
at Microsoft.SharePoint.SPListItem.GetValue(String strName)
at Microsoft.SharePoint.SPListItem.get_Title()
at TPG.SharePoint.Workflow.InstantiationPage.get_ListItemTitle()
at TPG.SharePoint.Workflow.InstantiationPage.GetMetaData()
at TPG.SharePoint.Workflow.ListWorkflowPage.get_MetaDataInternal()
at TPG.SharePoint.Workflow.ListWorkflowPage.TPG.SharePoint.Workflow.IWorkflowPage.get_WorkflowMetaData()
at TPG.SharePoint.Workflow.WorkflowControlPlaceHolder.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The exception is not thrown if I add a new column named "Title" to the library, but probably this is not the best way to solve the problem...

Thanks !

Read the full discussion online.

To add a post to this discussion, reply to this email (wss3workflow@discussions.codeplex.com)

To start a new discussion for this project, email wss3workflow@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Read the full discussion online.

To add a post to this discussion, reply to this email (wss3workflow@discussions.codeplex.com)

To start a new discussion for this project, email wss3workflow@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com