cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Web Parts Maintenance Page - Approver task form, deleted web part

Scenario:

Approver receive an email with link to a workflow task, and got an error message: Sorry, Something went wrong. An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can sue this page to temporarily close Web Parts or remove personal settings.

Error message

Instead of an error, the user was supposed to see a custom task form to select "Approve/Reject." So now, clicking on the link takes me to the Web Parts Maintenance Page. There was a ListItemWebPart and I closed and then reset it, but neither fixed the approver's error message. When the web part was closed, the workflow task page is blank. Note: when the web part was "closed" I was able to restore it by adding it back from the web part list.

So, thinking the web part only applies to this list and closing it didn't fix the issue, I deleted it. And now all hell breaks loose. I cannot recover the web part anywhere. And ALL lists under the same site now cannot access the approver's task page. The workflow task page is blank.

Note: Here's the error message shown on workflow task history - "Error in task. Object reference not set to an instance of an object." and here's the URL that goes to the task form: /Lists/Workflow%20Tasks/EditForm.aspx?ID=

If anyone has any insight on this, please do share...I have not been able to find much on this let along the same case scenario.

Thank you.

0 Kudos
Reply
8 Replies
andrewg
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

What was the page that was being edited, was it the EditForm to the Workflow Task List's page? This would cause the issue you are seeing. 

Reply
Not applicable

Re: Web Parts Maintenance Page - Approver task form, deleted web part

Andrew Glasser‌, yes it was the EditForm. We figured it out that the error page was due to a clash of List permissions and Workflow permissions. When the error occur, we have, under List Settings > Advanced Settings with "Read items that were created by the user" and "Create/Edit Access for items created by the user" selected. However, we have item permission in the workflow also to allow additional users to approve/view items not created by them. It seems that instead of taking the highest permission given for the item, the list permission overrides workflow settings.

The error message however, directed us to Web Parts Maintenance page.

Thanks for taking the time to read/respond  

Reply
andrewg
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

Thanks for the response and pointing that out. That's why I have a rule, "10 times out of 10, its permissions". It is safe to always check permissions first to nearly any issue in SharePoint. That rule has saved me a lot of time.

0 Kudos
Reply
zaert
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

Hello Theresa,

I have the same issue. Can you just describe what's the new configuration now ?

In the "Task list" :

   - Item level permissions

      Read access : Read all items

      Create and edit access : Create and edit all items

But what your configuration in the workflow ?

Best regards,

Théo

0 Kudos
Reply
cmikhaiel
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

Hi Theresa Chen‌, can you please explain what you changed in the settings to resolve it? We are having the same issue and amazingly some users are able to approve and some others can't and are getting the web part error page. surprisingly enough, all of them have exactly the same permissions!!! Smiley Surprised . I need the list to stay by default as Read only own items and create/edit own items unless otherwise specified by the workflow... 

Help! Andrew Glasser‌!

0 Kudos
Reply
andrewg
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

I may need more detail, as it seems that they have the same permissions at some point, but may not through the life cycle of the workflow if it is able to change permissions. Are any workflows running on the Task list? Are commit pending changes action used after permissions change actions?

0 Kudos
Reply
bimi82
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

I also came across the same issue and was batteling against it for a while until... I checked the permission group (approvers) if the person was in there >> ups!!! the person was missing.

However, the error message does give you an impression that there may be something else, webpart etc.

0 Kudos
Reply
jackgelo
Nintex Newbie

Re: Web Parts Maintenance Page - Approver task form, deleted web part

Hi,

I know that this is an old thread, but I think I've found a solution (two in reality) for it (if someone has deleted the list form webpart)..

 

First solution is to publish the workflow with a different associated task list, this will keep the existing tasks broken but new tasks will have again an editable form page.

 

Secondo solution requires to edit the Task List Edit Form with SharePoint Designer and put back inside the tags <ZoneTemplate></ZoneTemplate> the following code:

<WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{7CFBC680-D3B5-4E73-90B8-F9F122CD1573}" >
<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
<Title>[Title of Task List]</Title>
<FrameType>Default</FrameType>
<Description />
<IsIncluded>true</IsIncluded>
<PartOrder>2</PartOrder>
<FrameState>Normal</FrameState>
<Height />
<Width />
<AllowRemove>true</AllowRemove>
<AllowZoneChange>true</AllowZoneChange>
<AllowMinimize>true</AllowMinimize>
<AllowConnect>true</AllowConnect>
<AllowEdit>true</AllowEdit>
<AllowHide>true</AllowHide>
<IsVisible>true</IsVisible>
<DetailLink />
<HelpLink />
<HelpMode>Modeless</HelpMode>
<Dir>Default</Dir>
<PartImageSmall />
<MissingAssembly>Cannot import this Web Part.</MissingAssembly>
<PartImageLarge />
<IsIncludedFilter />
<ExportControlledProperties>true</ExportControlledProperties>
<ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
<ID>g_7cfbc680_d3b5_4e73_90b8_f9f122cd1573</ID>
<ListName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">{[GUID of Task List]}</ListName>
<ListId xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">[GUID of Task List]</ListId>
<PageType xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">PAGE_EDITFORM</PageType>
<FormType xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">6</FormType>
<ControlMode xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">Edit</ControlMode>
<ViewFlag xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">1048576</ViewFlag>
<ViewFlags xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">Default</ViewFlags>
<ListItemId xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">0</ListItemId>
</WebPart>
</WebPartPages:ListFormWebPart>

and replacing the two token [Title of Task List] and [GUID of Task List] (placed 2 times) with the current value of those properties of the task list..

 

Giacomo

0 Kudos
Reply