Error when assigning dashboard to new user Liferay 7.3.5 - liferay

We are using liferay 7.3.5 and have about 600 users that make use of the personal dashboard. When a new user is added, they get assigned a profile and dashboard programmatically. however, recently we have ran into a problem regarding the assigning of the dashboard.
when a new user is added to the platform, the profile assigns as normal, but the dashboard will say (on the "profile and dashboard" tab of the new user) "This user does not have any private pages."
we have chosen several different templates all of which assign without fail. we have also tried to deconstruct the existing template, but only when it has been entirely cleared and is basically a fresh start, does it work again. The dashboard still works for any of the users that have gotten assigned it before it 'broke'.
this is the error code we recieved. we have not been able to trace back the FileEntry ID. we have been stuck on this matter for a while now, but it's not an option for us to rebuild a completely new dashboard.
2022-05-27 13:51:38.335 ERROR [http-nio-8080-exec-12][SitesImpl:1927] Unable to export layout set prototype 207822
com.liferay.exportimport.kernel.lar.PortletDataException: No FileEntry exists with the key {fileEntryId=884352}
Does anyone know what could be causing this error and/or how to solve it?

Your own custom servicebuilder service (with the namespace declaration GB) has been redeployed with a newer version and might be incompatible:
Build namespace GB has build number 54 which is newer than 36
You'll find more information about Upgrade Processes in Liferay's documentation, or in these two blog articles - this documentation would go beyond the scope of a simple answer on stackoverflow:
ServiceBuilder and Upgrade Processes
Building in Upgrade Support

Related

Access Core Data from extension without provisioning profile on macOS?

I'd like to add a Quick Look extension to my program, but in order to be useful, it would have to access the Core Data stack, which seems to require me to add an App Group and a provisioning profile to the project.
Until now, it has been possible for anyone to download the project from Github and compile and run it out of the box. All project targets are set to Team: None and Sign to Run Locally. If I add my provisioning profile to the project, this will no longer work. They will have to create and add their own provisioning profile and change the Signing & Capabilities settings on each of the 26 targets (there seems to be no way to do them all at once). And the profile will have to be renewed every year.
My question is, is there any way around this? Is such a major change really necessary for what amounts to accessing a file inside the program's own bundle (and another in its Application Support folder?)
EDIT: As was pointed out to me on the Apple Developer forum, you don't need a provisioning profile as long as you prefix the group name with the development team identifier. This still won't make it build out of the box, though. You will still need a developer account and set a team on every target.
I had missed that you are supposed to have a team identifier as the prefix for the group name. That still doesn't solve the problem that my project will no longer build out of the box for anyone who downloads it from Github, but it answers the question asked in the subject line.

Sitecore template items reset after IIS restart / application pool recycle

I have a uCommerce package installed for my sitecore. The problem exists when you start editing template items under sitecore/templates/User Defined/uCommerce definitions/. When you restart IIS or recycle application pool (apparently this happens after solution rebuild) the template items reset their values to the fixed one. What could be causing the problem? Is there any cache mechanism which could be causing this?
update: have checked the sitecore database, the field values are being saved and stored in database properly after iis reset/pool recycly, so there is pretty much confidence that it has to do something with caching
The UCommerce DataProvider (UCommerce.Sitecore.SitecoreDataProvider.DataProviderMasterDatabase) automatically adds the templates under sitecore/templates/User Defined/uCommerce definitions at start up so they will always be reset after each recycle.
First off, make sure that you are making your changes in the Master database and not the Web database. If that is not the issue, then try the following while logged into Sitecore as an administrator:
Go to http://yourdomain.com/sitecore/admin/cache.aspx
Clear the Sitecore cache
Go to the Master database's content editor and look at your templates
Make any changes necessary, save and publish
Do your IIS restart / application pool recycle (the latter occurs on every build)
Go back to http://yourdomain.com/sitecore/admin/cache.aspx
Clear the cache again (just a base-case)
Go back to the Master database's content editor and look at your templates again
If the issue occurs after trying those steps, then you should open a Sitecore support ticket and see what they say. You may also want to try making a clean install of Sitecore and trying to reproduce the issue there (Sitecore Support is likely to do this as well).
The problem was that the standard values template presentation layout I have been updating was the english version. However, there was another language version set and the layout for that version was different. When uCommerce is resetting the template on application pool recycle it doesn't take into the account the multilanguage support, so the last retrieved language version of that fieldvalue is used as reset template and that different language version with different layout was used. A partial workaround is to use the same layout for all the language versions.

Error when trying to generate early bound entity classes using crmserviceutil

I have used crmservicetuil.exe that comes with CRM SDK many a times before for online instance of CRM 2011.
It did work for the plugins and the integration tool for the online instance of CRM that i developed for our client,that is until about a month and a half back (that is when we last deployed our solution).
However I cant figure out what changed on their system, am trying to generate the early bound entity class using the following command(the same which i used earlier and it worked fine)
CrmSvcUtil.exe /url:https://<ORGNAME>.api.crm.dynamics.com/XRMServices/2011/Organization.svc /out:Xrm.cs /username:myid#outlook.com /password:myP#ssword /namespace:Xrm /serviceContextName:XrmServiceContext
but there is an error thrown that says,
exiting the program with exception: The parameter is incorrect.
What could have possibly changed to cause this error? Am still having the login permissions and am able to navigate to the https://.api.crm.dynamics.com/XRMServices/2011/Organization.svc when given the same id and password.
there is only one difference though(may or may not be useful):The last time I used the command, i used my non live id (office-365). Removed the license for that user and added a new one with an outlook(live) id about 2 weeks back.
Thanks for all your help.
See this posts: Run the Code Generation Tool or CrmSvcUtil.exe: to use Live Id you need to generate and add Device Id and Device Password to yours command string.

Error on installing any module in DotNetNuke 5.6.3

When I upload any module in System->Extensions in DotNetNuke 5.6.3, running on a Windows 2008 R2 server, IIS 7.5, after the correct module information is displayed and I hit next, I receive the error message
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object.. ---> System.NullReferenceException: Object reference not set to an instance of an object.at DotNetNuke.UI.WebControls.FieldEditorControl.CreateEditor()at DotNetNuke.UI.WebControls.FieldEditorControl.DataBind()at
DotNetNuke.UI.WebControls.PropertyEditorControl.AddFields(Table tbl)at
DotNetNuke.UI.WebControls.PropertyEditorControl.CreateEditor()
[...]
and the module is not installed. The file system of the web has not been touched, so I thought it was a permission problem, but even allowing user Everyone to do everything doesn't help (after making sure the ApplicationPoolIdentity user has been allowed full access as well).
Any hint is appreciated.
The manifest of the module is valid (it's Dynamic Registration 4.1).
Update: Installation steps (note: I am using a German installation of Windows 2008, so some translations might not be accurate)
Log in as Hosts Super User (Admin)
Either navigate to System->Extensions or System->Module Definitions (System might be identical to Hosts) - I tried both
In System->Extensions, click Installation assistant for extensions
Select file to upload
Click next
Description of uploading package appears correctly - click next
Error message Object reference not set to an instance of an object. appears on top of the page. Log View shows stack trace as partly displayed above.
What can cause an error in DotNetNuke.UI.WebControls.FieldEditorControl.CreateEditor()?
What kind of permissions could be missing?
Update 2: By step-by-step debugging, I found out that the view state is broken, for some reason. The method BindPackage() in DesktopModules\Admin\Extensions\Install.aspx.vb doesn't find the current Installer Package. I have not yet found out why the viewstate breaks. It is enabled and huge in the rendered page source.
As described in Update 2, the page's viewstate is lost in DesktopModules\Admin\Extensions\Install.aspx.vb. Simply replacing ViewState by Session works (but this workaround may be lost after the next DNN update).
Update (in case someone has a similar issue):
The DNN container that was used had its viewstate turned off! This results in all kinds of weird behaviour, but it took time to track that error. Now it's obvious.

Azure Compute Emulator will not start

I have recently upgraded to the new Azure SDK (September 2011 v 1.5).
Ever since I have not been able to start the compute emulator. Consequently I can't debug the services on my local machine.
I have seen a suggestion that the problem lies with the fact that my user account has a space in it, so I renamed my account but that didn't make any difference. It may be that the problem is that my user profile path has a space in it. Changing the account name has no effect no the profile path.
On the msdn forums it was suggested that I remove *:808 binding in IIS Manager for Default Website. See MSDN Forums
Anyone have any other ideas?
Another option:
So, given the "rename your user account/regedit doesn't work for you, you may want to look at this MSDN article, which suggests you can just set an environment variable and run the emulator without mucking with the registry... not sure if setting the environment variable globally would let you run automatically within VS.NET without manually starting up the emulator the first time, but it is certainly easier.
Yes, the space(s) in your profile path are the issue, and this appears to be a regression for a bug that was found in a previous version of the emulator (the only reason I even thought to try logging in with a different account in the first place). I was literally just putting together a quick blog post here describing the same issue. You'll need to do some registry editing to fix all the references to your old profile path if you want to fix it, or just create a new user if you can deal with re-installing software (I love the Web Platform Installer, but I found out during this exercise that it doesn't do a good job installing for "all users").

Resources