'No action' in live copy rollout CQ5 - aem

I am new to CQ5 and learning it. When I try to rollout a live copy from a blueprint page; the actions are create,update,full update, partial update and 'No action' . I would want to know when does a user get 'No action' option.
I rolled out a live copy from a blueprint page and then deleted the blueprint page and then deleted the live copy page as well. After that; if I create the blueprint page with the same name again and try to roll it out; I am getting a 'No action' and not create.
Even if I delete the live copy page and then try to to roll it out again; it does not show the action as 'create'. It display 'No action'
Is this a bug in AEM 5.6.1?

You will need to go to MSM rollout control center. Restore the page and detach it. So you can delete the relationship before you can re-rollout or recreate again

Related

TYPO3: How do I restore deleted Pages?

I am new to TYPO3 and have a big problem. I deleted the page with the id 1 (startpage, I know its stupid) and now I woudl like to know if it is possible to restore the page somehow.
Install extension Recycler, it ships with TYPO3 by default. You can then restore pages and content you deleted using the backend UI it has.
https://docs.typo3.org/typo3cms/extensions/recycler/Introduction/Index.html
You can use the recycler that is found under the web module and click on a page in the page tree at a higher level than the deleted page. You can also set the depth to infinitive if not certain where the page used to be in the page tree. Then put a tick beside the page you want to restore and click undelete. Note that PID is 'Parent ID' (not Page ID), and UID is the ID of the deleted page.If you click on the little + you will get additional information, e.g. the original path to the deleted page. If part of the path is highlighted in red, then that indicates another deleted branch or page. Remember to leave the Recycler module with 'Depth' NOT set to 'Infinite' (leave it at 'This page' or '1-4 levels') otherwise the recycler will hang if you use it on a larger part of your page t ree. Hope this will help you.

Not able to unlock the AEM page in AEM6.2 for custom template

I am not able to unlock the page in touch UI editor. Created simple template and page component. There is no code inside the jsp . I am able to lock the page but when trying to unlock page, getting JS in console(please see attached scree shot). It is working fine with geometric template,
Step to produce.
create simple template and component as below
create a page out of this template
open the in touch ui mode.
lock the page
Now try to unlock the below. see the console by pressing f12. below error is displaying.
Try to see first the error.log located in your environment, for instance: AUTHOR_INSTANCE_DIR/crx-quickstart/logs/error.log.
This may provide more information about the issue. You should validate that you are logged in as an admin or at least you are the owner of lock, you can do this by going to the CRXDE Lite, and in the jcr:content node of your page you have to see jcr:lockOwner property with your username.

OLD Page name exists in URL : Adobe CQ5

I am using CQ5 for one of my projects. I recently had an interesting problem. We had following page in our siteadmin -
MY-PORTAL-NAME/en/example.html
The the corrosponding URL was
MY-PORTAL-NAME/en/example.html
In my siteadmin I changed the name of page example to mydata and following URL is working fine
MY-PORTAL-NAME/en/mydata.html
But the problem is the old URL MY-PORTAL-NAME/en/example.html still exists. How can we solve this ?
The page was moved only in the author instance . The page is intact in publish instance , usually when you move an activated page the application prompts for moving the page in publish too. To fix this you can log into publish and delete the page or move the page back to old URL , deactivate it and then move it back to the new URL.

Auto redirect google code to github

We have moved our codebase and wiki to github. However the google code version still shows up really high on Google. Is there any way to do an auto redirect to github when people land on the Google code version?
I'm not sure how long this option has been available (it may be related to Google announcing they're shutting down Google Code), but you can now set a "project moved" flag which will provide all visitors to your Google Code project with a link to any other site, including GitHub.
Note: It doesn't appear that you can fully revert this setting, at least not at the time of my writing this, so be sure you really don't want to access anything from the Google Code project before setting it.
You can mark your project as moved on your admin page. If you change your mind, you can clear the setting by clicking the publish button.
Setting the "Project Moved" Flag
Once a project has been successfully exported to GitHub, you will want to update your project's homepage on Google Code to avoid confusion.
Some project owners simply update their project homepage's text to indicate it has moved to GitHub. For example subtext or bwapi.
Another option is to set the Google Code "project moved" flag. When set, attempts to access the project will take users to an interstitial page indicating the new project location. In the future, the page will automatically redirect to well-known project hosting services such as github.com.
To set the "project moved" flag, navigate to your project's advanced admin page, at https://code.google.com/p//adminAdvanced.
Once there, enter the new project home page URL under "project moved". For example: https://github.com/google/kythe. Finally click the "Project Moved" button.
If you need to "un-move" a project, you can go back to the /adminAdvanced page at a later time and click "Publish". This will restore your project to its original state, before the move.

Looking for input on GWT / MVP action w/o browser history change

I am trying to develop a GWT app with the MVP pattern. So far so good except for one specific case of actions: actions that do not change the url (no browser history change).
In the GWT MVP pattern, events are sent from presenters, the an app controller catches them and update the browser history. If the history has changed then the view updates.
** MVP with history change (Works well)**
Current URL is /list
User clicks on contactdelete button.
Fire DeleteContactAction event.
App controller catches, change history to 'delete'
onValueChange is called
if (token.equals("delete"))
delete contact screen, then delete contact
Fire ContactDeletedEvent
app controller catches and change the history to list
onValueChange is called: contact list refreshes
GWT MVP pattern for dialog box w/o history changes
** Issue ** - I use a dialog box and I don't want to change the browser history, so here is the problem:
Current URL is /list
User clicks on contactdelete button.
Contact is deleted
Fire ContactDeletedEvent.
App controller catches, change history to 'list'
**onValueChange is NOT called** because url is already /list and there is no change
# problem: contact list does not refresh
Question: does anyone know a pattern to implement this in the context of MVP?
Any help / idea appreciated.
Are you using some framework (aside from GWT) that automatically does history changes?
Regular GWT/MVP doesn't require a history change to be made, and in fact usually it's up to the app to update the history itself.
If you want to update the app's state without a history change, you can use an EventBus to publish events that other elements of the app can subscribe to, to update the app's state without a history change.
Basically, you will have to create your own PlaceHistoryHandler. Your custom PlaceHistoryHandler will ignore a particular type of PlaceChangeEvent (i.e. it will not update its Historian).