Please bear with me as I have to explain.
I have a publishing site with variations.
English (source)
Spanish (target)
The site was working fine since the beginning it was created a few months ago. But today something happened to the top navigation in Spanish site. The option in "Navigation" under "Site Settings" selected was "Show current site navigation" but it started showing all other links which are not part of it.
I then changed it to "Show parent site navigation" upon which it showed correct links based on parent site. So I tried to change it back to "Show current site navigation" but still it showed those incorrect links and not the actual site navigation.
I thought let's restart IIS which I did and viola it almost solved the problem. Now I could see current site navigation but there was one link missing which I added a couple of days ago.
I tried to investigate as to what happened exactly and tried to access "Variation Labels" page in site setting but got error "File not found: Label"
It turns out somehow there is a field called "Label" in Variations list which is hidden or may be somehow its name got changed. I found out using SharePoint Manager 2013. I could access both English and Spanish site variation settings page by going to the page directly and passing their ID but:
1. Why did it happen? I mean why all of a sudden SharePoint would do this? Or is it one of those SharePoint things which you cannot explain and this is how it does?
2. If let's say somehow "Label" field got deleted then how can I put it back or how to find the new name of this field if it got changed somehow?
3. How do I fix Variation Labels page?
Because of this problem I am also facing another issue and that is there is a page in Spanish in which I have added custom web part that use resource files. It was working fine but after this issue it is showing error that it is not able to find resource files when they are actually there and are present all the time.
I have a publishing site with variations.
English (source)
Spanish (target)
The site was working fine since the beginning it was created a few months ago. But today something happened to the top navigation in Spanish site. The option in "Navigation" under "Site Settings" selected was "Show current site navigation" but it started showing all other links which are not part of it.
I then changed it to "Show parent site navigation" upon which it showed correct links based on parent site. So I tried to change it back to "Show current site navigation" but still it showed those incorrect links and not the actual site navigation.
I thought let's restart IIS which I did and viola it almost solved the problem. Now I could see current site navigation but there was one link missing which I added a couple of days ago.
I tried to investigate as to what happened exactly and tried to access "Variation Labels" page in site setting but got error "File not found: Label"
It turns out somehow there is a field called "Label" in Variations list which is hidden or may be somehow its name got changed. I found out using SharePoint Manager 2013. I could access both English and Spanish site variation settings page by going to the page directly and passing their ID but:
1. Why did it happen? I mean why all of a sudden SharePoint would do this? Or is it one of those SharePoint things which you cannot explain and this is how it does?
2. If let's say somehow "Label" field got deleted then how can I put it back or how to find the new name of this field if it got changed somehow?
3. How do I fix Variation Labels page?
Because of this problem I am also facing another issue and that is there is a page in Spanish in which I have added custom web part that use resource files. It was working fine but after this issue it is showing error that it is not able to find resource files when they are actually there and are present all the time.