Changing form view immediately changes back to previous view (even as admin)

Janel
Kilo Sage

The view for our release module seems to be permanently stuck on a view called "Release".  There are no view rules and there are no navigation handlers against rm_release or planned_task.

If you try to change the form view from Release to anything else it immediately goes back to the Release view.  Even tried to make a second view called Release2 and it kept going back to Release. 

Removed the name from sysparm_view= in the URI, still goes back to Release view.  Tried using Default and Release2 for the view in the URI, still goes back to Release view.  Tried opening directly from rm_release.form, still goes back to Release view.  Tried to change the view via the form context, still goes back to Release view.

Again, there are no view rules or navigation handlers that I can find.

When trying to configure the form layout for Release, we get this lovely message.

find_real_file.png

Clicking "Yes, clone the "Default view" to Release" doesn't do anything except make more and more duplicated form sections, but this message never goes away.  So the Release view has to exist. There are now 67 sections under this view when it is supposed to only have 5 or 6.

Any ideas on what keeps preventing the view from being changed?

Any idea how to get the "Release view configured", even though the View (System UI > View) does exist already with multiple forms and sections?

 

EDIT: The same "view Release has not been configured" message also appears when configuring the columns on a related list.

4 REPLIES 4

Dhananjay Pawar
Kilo Sage

Hi,

Check is there any client script who is switching view.

 

Thanks,

Dhananjay.

Also check for view which is set under edit module.

There are no client scripts toggling views and there are no UI Policies with Run scripts checked that is toggling a view.

I did notice in one case that the sysparm_view in the URI was indeed showing a different view name, but the form still was showing that Release view instead.

Janel
Kilo Sage

In case anyone was wondering, this is how I cleaned up all those lingering duplicated sections.

I went to System UI > Form Sections and looked up sections on rm_release.  Since there were 7 identical sections for each section, I added a number to the end of each caption. 

find_real_file.png

Next I did a cache.do (otherwise the captions won't update till the next system flush), then looked at an open Release to see what numbers appeared.  For the top of the form, that doesn't have a caption, I went into Form Layout and it showed the renamed section in the "Form view and section" block.

find_real_file.png

Back in Form Sections, I took the number off the one that was being shown on the Release form, then deleted the duplicated sections (taking a screenshot of each section of course, just in case).  So at least I'm back to my original 7 sections.

I feel like I got lucky and all the sections deleted without a hitch.  However I'm still getting that Clone message when going to Form Layout and still cannot switch views.