How can I "reset and propagate" a site template programmatically in Liferay 6.2? - liferay

We have a portlet in our Liferay 6.2 portal that allows users to register their organisation; this creates a new Organization in liferay, and then attempts to redirect the user to the new organization's private homepage. However, sometimes this fails, displaying an error message "The requested resource was not found".
We have found that the homepage remains inaccessibly until we enter the site settings in the control panels and use the "Reset and propagate" button, under the yellow "The propagation of changes from the Site Template has been disabled temporarily after 4 errors. Click Reset and Propagate to reset the failure count and propagate changes from the Site Template." warning message. Once this is done the page becomes accessible.
Obviously this is a problem for the end user. Is there a way to trigger the reset process programmatically and ensure the error is resolved before redirecting the user?

Related

GitLab account blocked while changing the username. How do I unblock it?

I wanted to change my username on GitLab so I followed the following procedure:
Navigate to your profile's Settings > Account.
Enter a new username under Change username.
Click Update username.
After clicking on update nothing seem to change so I refreshed the page and I receive the following error:
Your account has been blocked. Please contact your GitLab administrator if you think this is an error.
How do I unblock my account?
PS: I opened a GitLab SaaS account
This thread mentions
Check <external_url>/admin/application_settings/general > expand Sign-up Restrictions, and verify if the checkbox for Send confirmation email on sign-up is checked or unchecked?
Having that setting enabled will send a confirmation email, and for that user to be “unlocked”, it requires the confirmation link in the confirmation email is clicked.
If you’re creating a user with Ansible and the confirmation email isn’t received and the link it contains clicked, it would cause the “user is blocked” error you’re seeing.
If you did not check the box for this requirement, I suspect the default setting might’ve changed in 12.9.x. Do you notice if this checkbox was checked before upgrading?
Unchecking the box, or manually “confirming” the email of your Ansible-created user in the GitLab Admin UI should remove the block on this user.
In your case, since you are changing the user manually, see if:
the IP is blocked (try from another network/device)
if you have an IDE opened with a GitLab repository accessed through HTTPS: the IDE might need to refresh the Git repository state periodically, and would be using the old credentials (old username).
The OP goutam thakur confirms in the comments:
My account was unblocked after I submitted a request through the form "Gitlab.com (SaaS) user accounts and login issues".

SharePoint 2013 user profile service change homepage

I have a sharepoint 2013 farm that start and configure and sync user profile service on it successfully. now when each user browse site homepage first time, it shows a white page with 2 link that is go to site and change attribute, how could I disable this page?
I saw the same error when one of a user profile properties wasn't set. In my case the user's location wasn't set. If the user goes to edit user their profile and save it without any changes, it fixes the issue. In my case, only few users were affected by this issue. You can write script to update missing property for all the users.

Branding resource settings ignored when user is logged in to DocuSign console

Today I uploaded custom resource files for a Brand in order to disable the Finish Later button. I noticed something odd: the settings in my uploaded resource file are honored when noone is logged in to the DocuSign console, and I no longer see the Finish Later button.
However, if I am logged in as either the admin or sender user for my account, then the resource settings are apparently ignored and the Finish Later button reappears.
Has anyone else observed this, and is there some way to get the resources to be used while someone is logged in to the console?

sharepoint anonymous asking to login when i clicked page in the site

I enabled anonymous access to all the web pages in my sharepoint site. But in 1 page i added a tag cloud. When i am opening the page(with anonymous access), the page is asking for login. If i click cancel, then there is no error page is coming. And if the user is signed in to the site, he is able to see the flash tag cloud. how to enable the flash tag cloud to anonymous access?
I would guess that something on that page refers to a resource (such as a javascript, image file, or css) that requires authentication, and when you click cancel, the rest of the page loads, but that resource fails to load.
Try using firebug in firefox to monitor the files that are requested for that page and look to see which files get a 401 Unauthorized error. You could then either make changes to ensure that those files are available to anonmyous users or change the page so that it no longer needs those files.

Forms/AD Authentication with Sharepoint

All,
I'm configuring Sharepoint to use forms authentication with LDAP/Active Directory. I'm new to Sharepoint, so if this is obvious, please point me in the right direction.
Whenever I attempt to log in with a bad account or password, I get the very friendly (and correct) error message,
The server could not sign you in. Make
sure your user name and password are
correct, and then try again.
... which implies that Sharepoint is able to communicate with AD. If I log in with a valid account, I get a page that says:
alt text http://img63.imageshack.us/img63/6053/sharepointerror.png
(I added the grey bar to cover up the login name)
Any suggestions? The account I'm logging in with is an administrator and has been granted full control in central administration.
Also, interesting note: If I click the "sign in as a different user" link, and attempt to sign in using with the same credentials I just used, the site just redirects back to the login page, with no error or status message. If I then manually enter the site url, it again shows the "Error: Access Denied" page. Argh.
Go to site action of the actual site and add user in the format of
:loginid
It should resolve and show it underlined then try login in back to application that should fix it.
Your AD connection is working fine just need to add to sharepoint users list
yourprovider:userid
Yourprovider name is the name you gave to the user provider in web config
And you can add this user from parent site that is windows protected and you have all
I suppose it's sharepoint site security issue.
I'm getting the same error when trying to enter Site Settings page with a user that has a lack of permissions.
If you have at least one user that can access the Site Settings page, I suggest you to go to Site Actions/Site Settings/Users and Permissions/People and grops then click New button and add a user from AD to an appropriate group, eg. Team Site Members.
You have made connection with Ad and its working fine. So that you got error, when you try to login with invalid user id.
But you have missed one step in above scenario.
You need to give the permission for all AD users in your SharePoint site. The better way is to create a user group in AD (it may already there) which included all the users and add this user group in your SharePoint site with read permission.

Resources