Remake account bug
From PTAGISWiki
Darren Gallion reported a problem with his "My Messages" and "My Files" pages. He was getting the error, "this forum does not exist".
I verified the error and concluded that it would be cleanest to delete his account and step him through the process of making a new one.
We did this, but he had the same error on the new account.
I tried the process again, deleting the account, and then making a new one myself, and got the same error.
I tried replicating this on development through these steps:
- create user Gallion on development
- delete user Gallion on development
- create user Gallion on development
- log in as Gallion and check My Messages
- displays correctly
So the problem does not manifest on development.
If I try to create the account from the command line on production, I get this:
reedi.psmfc.org:C1:root: > bin/run.sh util.SEFInterface web/ptagis/WEB-INF/sef.properties createAccount Gallion newuser '""' propsFilePath=web/ptagis/WEB-INF/sef.properties createAccount(): failed Account for user Gallion is created. Could not synchronize with LDAP. -1 Could not add user to the group . Could not create "My Messages" personal forum for the user. Error creating forum. Could not create "My Files" personal forum for the user. Error creating forum. DONE.
The createAccount routine assumes that the LDAP information already exists, so that is why the "Could not synchronize with LDAP" error is generated.
Resolution
The key is to get all the remnants of the old Gallion account out of Sitescape, including Sitescape's FrontBase database. To do this, I used the procedure for deleting the user's My Messages and My Files forums. After that, I was able to create the account successfully.
