Error while restoring the page in Hybris 1811 smart edit - sap-commerce-cloud

I am trying to restore a content page (which is a primary page) but when I am selecting the radio button "Restore this page and move the existing page to trash" it shows error "The value provided is already in use."
But as per below SAP documentation if I have same page name and page label, it supposed to restore this page and move the existing page to trash but it is throwing an error. Did anyone faced similar issues. Your help would be much appreciated. Thank you.
https://help.sap.com/viewer/86dd1373053a4c2da8f9885cc9fbe55d/1811/en-US/9c46244de9e242bdaba0b3da6621dc85.html

We can restore the page only when Page ID and Page Label is same but Page name should be unique. but the document says we can restore the page when Page name and Page Label is same.

Related

Error accessing Xpage using $$OpenDominoDocument.xsp method on database replica

I have a Form called 'Contact Level\Customer Contact | Customer Contact', which is a response document, and in the properties I have associated the customerContact XPage to the form. In all view panel controls I have use the 'XPage associated with the document's form' property.
On server A the XPage is opened correctly using the $$OpenDominoDocument.xsp method from any view control.
On server B, which has a replica of the server A database, the XPage does not open from any of the views using the $$OpenDocumentDocument.xsp method. The error I see on the server log is 'HTTP Web Server: Item Not Found Exception [db.nsf/$$OpenDominoDocument.xsp?documentId=......&action=openDocument]'.
I have removed sections of code from the XPage to track down whereabouts the error is happening and it was the domino document settings that cause the problem.
I have checked the form properties and they are correct.
If I change the $$OpenDominoDocument.xsp section of the URL to customerContact.xsp then the document opens without error.
If I change the view panel property to explicitly open the customerContact XPage then again the document opens without error.
I have tried changing the form and XPage so it opens the 'contact' XPage instead (an almost identical non-response version of the same form) and the XPage still errored.
I tried saving a document in client but the XPage still errored.
I changed the form name to include a new alias of CustomerContact and modified a document to use the new form name, and this document opened without error. That made me wonder if the space in the Customer Contact name was causing the error, but there are many forms / XPages on the database in question, some others with spaces in there alias, and this is the only form that errors.
Any help would be greatly appreciated.
Is there another Form or Subform that has the same name or has "Customer Contact" as an alias? I have a feeling I read a blog some time ago that mentioned $$OpenDocument picking up a subform instead of a form, but I'm not 100% sure, so that may be wrong. If it's working on a newer server, that issue may have been fixed.

Xpage edit/read mode error: The form does not contain an input: $$viewid

need some help about my xpage application not getting into read/edit mode. Here is the scenario. I created a view that contains a couple of entries in my landing page, the user clicks the link on the view and go to another page to open the document. In that page I've got set to edit, set to read mode buttons, just like the tutorial on the bootstrap4xpage. And here is where the error occur, I click the "set to edit" or "set to read" button and a pop up shows saying : " Problem submitting the page. The form does not contain an input:$$viewid" I'm new to both notes and xpage so I don't have the skills yet to identify this kind of error. Thank you in advance.
By the way I use bootstrap4xpage template.
I found that using the <form> tag of bootstrap instead of <div> tag produces this kind of error.I think there is some issue about using that tag in xpage. What it is, well, that's something I don't know. But anyhow changing my <form> tags into divs did solved the error.

Search module doesn't work in Orchard CMS 1.6?

I'm using Orchard CMS 1.6.
I have added a Search Widget on the Asidesecond zone.
When I went back to my Website I didn't have any input for searching.
So I have created a Custom form and I added a Search Part to it. Then I added a input field.
I have created another Widget in the AsideSecond Zone which contains my Custom Search Form.
When I went back to my WebSite I tried to enter a word in the input and then I pressed Enter key : nothing happened, no search results displaying.
I have already Check for the indexes and the contents to included in the search.
Besides, the search module doesn't display any button to launch the search. Is it normal ?
Thanks for your answers.
Franck
It's works fine right now. The Widget part was missing in the Search Form Content Type. So, what I still don't understand. Why there isn't any button near the Search Widget ? The Admin Content Search have a button, why the Search Widget doesn't have one ? Any Idea ?

Sharepoint Breadcrumb showing the old/original Page Title

I have a Sharepoint 2007 site that is displaying the old/original title in the Breadcrumb rather then the updated Page title... help!
Under "Site Content and Structure" I went to "[SiteName] > Pages > [Page] > Edit Page Settings..." which took me to "Page Settings". Here I edited "Page Title and Description > Title" to the new title, simple and done. But the site Breadcrumb is still showing the old title!??!
When I go into "Site Content and Structure > [SiteName] > Settings > Site Settings... > Navigation", under "Navigation Editing and Sorting" I get the list of Pages with their old titles (as is being displayed in the Breadcrumb). As they are Pages the "Edit..." button is disabled so I cannot change their titles here.
I cannot believe a bug this stupid made it into a major release! It's pretty obovious the page titles are being cached somewhere at creation and not updated later. It's this cache that the Navigation is using rather then the current page titles. But I have been unable to locate this mythical cache. And it doesn't look like I can access the sitemap.xml at my access level (grr!), can I get to this via the webUI (I've always done it in the source directories, which I cannot see).
So... where in the hell is the Breadcrumb getting the page titles from, and can I change this (preferably non-programaticially as I am but a simple MOSS editor on this project)?
If you are able to access the Site Collection Administration at the top level, you can access the Site collection object cache, the site collection cache profiles, and the site collection output cache. If you go into the settings of these items, you can check a box to "flush" the cache, that should reset it.

<a4j:include> content doesn't get change

This is what i want to achieve. I have navigation panel on left and content panel on right.
when user click links on left navigation panel , ajax calls made and content panel got rendered. With current implementation, content got change based on the link i clicked.
however i found content still don't get change when perform following steps:
1. click "display user", user list got display
2. click "add user" to add one user
3. click "display user", user list got display but content is same as the one in step 1.
i am sure data has been inserted into db.
looks like this view got cached on server. is there anyway to solve this issue?
following are my code and screenshot.
thank you,
i found answer from this link.
basically, use following line to destroy backing-bean, then problem solved.
FacesContext.getCurrentInstance().getExternalContext().getRequestMap().remove("wizardBean");
http://java.dzone.com/articles/jboss-richfaces-spring?page=0,6

Resources