"[PageNotFound] No mapping for GET" error after SAP Hybris upgrade - sap-commerce-cloud

We are required to update our Hybris version from 2011 to 2211. A developer from SAP has already provided the necessary changes to multicountry extension and others so that our storefront will be ready for the upgrade. After the said upgrade, our home page is not working anymore in our local. We get the error "[PageNotFound] No mapping for GET" when trying to access our home page. The status code is 404. We have the same data, local.properties, localextensions.xml. The weird thing is that only home page has the issue. Other pages like product page is working if we change the url directly to bypass home page. Our smartedit is also not working. We get the issue "This page doesn't exist".
We've already tried reimporting our impex that is used to insert our CMS components but it is still not working.

Related

Why is my Home page not appearing in GitLab project when logged out?

I have created a GitLab project with a wiki but no code repository. When I visit the project URL, the content of the wiki Home page is rendered (where the README is normally rendered).
However, if I log out of GitLab and visit the project URL, the Home page is not rendered. Instead a list of recent issue activity appears. I can still visit the wiki while logged out.
How can I make the Home page visible at the project URL to logged-out users?
You cannot make the wiki Home page visible to logged-out users who visit the project page. The behavior you have described is as intended and cannot be configured.
Issue gitlab-org/gitlab-ce#12922 requests support for "wiki-only projects" and is open and unresolved in July 2018. If implemented, it would resolve the issue for your use-case (and require an updated answer here).

I am getting page not found on my hybris newly created b2b website using hybris cms cockpit

I have newly created a b2b accelerator website and included catalog, catalog version, category and products, personalization etc. when I am trying to live edit staged version adding home page into it then it is redirecting me to login prompt and if I login then the page not found message showing. I am new at hybris. I don't know what could be reason of prompting login while attempting to live edit. Even using smartedit editing also has the same manner.
I would be very grateful if anybody can help me regrading this issue. I didn't find any tutorial how to customize b2b accelerator website making configuration.
When you see a generic hybris "page not found message" the url you called will most probably not be registered in your storefront. When you open your cms site in hmc/backoffice there is an attribute called "URL pattern". This attribute holds a list of strings, which are regular expressions. Every request you fire against the storefront has to match at least one of those regular expressions. That way, you can have more than one site on one hybris server.
E.g. there are the sites electronics, apparel, powertools, all available on the same machine but using different urls: http://electronics.local:9001/, http://apparel.local:9001/ and so on.

Umbraco on Azure and Forms

I used the Azure portal to install an instance of Umbraco.
I need to use the Umbraco forms for a simple contact form.
The Umbraco instance contains the forms and I can perfectly create and configure everything I need about forms (fields, workflows, ...).
Problem is that I can't get to have it on any page.
The video here shows how to do it but when I click on the button as shown 23 seconds in the video, I can't find the forms and therefore not add my forms.
I tried to add the Razor line that it seem to generate based on the guid I get on the Form configuration page but when I save, the online page (I mean, the page of the actual website) is crashing (Yellow asp.net error page).
Does anybody knows what is going on here?
EDIT: Maybe I should mention that I did click on the Install button in the Forms section and waited until it refreshed the page. Surprisingly, it continues to prompt for installation now.
I found the answer.
Seems like when we installed Umbraco at first on Azure, the auto install failed at taking the database into account.
We had to manually edit the config file to make sure everything was all right.
However, some bits for the Forms were not referenced properly.
So I uninstalled the forms completely and reinstalled them from scratch and it started to work fine.

SharePoint Document Library 404 Error

Help-
Any idea what would cause sharepoint's doc library's tree view navigation to break?
What-
We have a sharepoint site that uses the template Document Center to hold all of our docs. In the master page of the site there is a site hierarchy showing a tree view for all the folders in the document library. When clicking on the folders from the tree view we get a 404 error but navigating to the folder from the document viewer webpart on the child page works fine.
When-
The issue started yesterday when my boss was playing around w/ the appearance of the document library web part's Chrome type trying to add a link to the top to get better breadcrumb navigation when using the folder links in the webpart.
Example:
Clicking on the root folder of the document library named "Documents" goes to this url w/ a 404 Error:
http://portal.domain.net/firmdocs/Documents
Go here we get a listing of the items:
http://portal.domain.net/firmdocs/Documents/Forms/AllItems.aspx
What did I try
We didn't change the name of the doc library recently
I am going to do an IIS reset tonight
Tried changing the chrome type back to what it was w/ no luck.
Checked the master page and child page back up versions from a few months ago and no luck. Also the current fiels have not been edited anytime soon.
Did you modify any of the views for the DocLibray? It could be a link to an invalid view.
This usually happens when the original ListViewWebPart in the view is tampered with in some way.
Check to make sure your boss hadn't accidentally closed the original ListViewWebPart in AllItems.aspx
To do that, navigate to http://portal.domain.net/firmdocs/Documents/Forms/AllItems.aspx?contents=1 (the ?contents=1 is the important part)
You should see only one ListViewWebPart in that list.
The other thing you can try is opening AllItems.aspx in SharePoint designer. Make any change to the page (insert a space in the markup, for example) and save it, clicking yes on the prompt to customize a page from the site definition. Once it's saved, right click on it and "Revert to Site Definition."

Log Error: Failed to create list

I have a Site Template with few customized lists and customized pages. I create new webs when ever needed using the site template. After creating the web, I also set up a theme and unique permissions to the web using C# code itself, then I redirect the page to the newly created web URL. My code runs within a Long running operation. It works all the time fine, but in some circumstance I get an error "file not found" when the page re-directed to the newly created web.
When I had closer look, I see that the web was properly created and the permissions were set; the pages library & other lists are also found, but the master page gallery is not found. Due to that I could not browse any pages in the page library & I could not even check web theme. When I see the Logs I found the below error.
04/09/2009 14:22:49.35 w3wp.exe (0x11B4) 0x0D0C Windows SharePoint Services General 8z1y Medium Failed to create list "Master Page Gallery" in web "http://rootsite/subsite", HRESULT=0x81020012. List XML: ""
What could cause this issue? I don't get this all time only sometimes I get this issue. There were no errors thrown on code, but the web's master page gallery was not created. Have you ever faced such problem? How can I solve this?
Thanks in advance,
~Yuva
The HRESULT you're getting is from a COM error: System.Runtime.InteropServices.COMException (0x81020012): The specified name is already in use.
Make sure that the gallery you're trying to create is at the web level, not the site or webapplication level. Can you post examples of the URL when it worked vs. when it didn't?
Isn't the master page gallery usually at the site rather than web level? Subsites can use a master page defined by the parent site, so you could be confusing things by trying to define the master pages on the subsite as well.

Resources