cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming of “Guest Home'.

lexxborg
Champ in-the-making
Champ in-the-making
Hello ,
after renaming of the space  “Guest Home” into “Knowledge Base” and restarting Alfresco,  is the start location “Guest Home”(Navigator on  the left side) completely disappeared( and also in the titlebar above).

After this incident I updated  the “webclient_en_US.properties” setting the same value to entry “guest_home”  like renamed “Guest Home”.
No changes happened!!!!

After being very surprised, I renamed the space “Knowledge Base”  back into “Guest Home” and restored the entry in the “webclient_en_US.properties”, hoping this would fix up the problem, but no changes happened again. The “Guest Home” is still completely disappeared.

It seems to be a bug in Alfresco.

Is there some workaround known to make the “Guest Home” visible again?

Thx
7 REPLIES 7

kevinr
Star Contributor
Star Contributor
That does indeed sound like a bug! I have raised it:
http://issues.alfresco.com/browse/AWC-1230

Thanks,

Kevin

lexxborg
Champ in-the-making
Champ in-the-making
Hi Kevin,
what is the workaround to fix it?
That is really urgent!!!

Thx!

LeXx

andy
Champ on-the-rise
Champ on-the-rise
Hi

Guest home is created at boostrap time (the first time the repo is run). That is when the properties file is read.

The problem is the path to guest home. You will have to live with renaming this space to "guest_home". Guest home is found by path. Also check you have not changed the permissions on this directory.

The issue is the FileFilder service syncs up the name for directories and files with the child assoc QName. Company Home and Guest Home are not synced …. so changing the name in the UI changes the path away from what is expected. So you have to name it to make the path correct.

Please raise the bug.

lexxborg
Champ in-the-making
Champ in-the-making
Hi Andy,
thank You for the answer and suggested workaround,
unfortunately it does not work.

I renamed the “Guest Home” into “guest_home” in the repository and changed it in webclient_en_US.properties  to “guest_home=guest_home”.

I also took a look into database, in the table “alf_node_properties” is an item:
# 21, 'STRING', b'0', 'STRING', b'0', 0, 0, 0, 'guest_home', '', '{http://www.alfresco.org/model/content/1.0}name'#  
present.

It still does not work.
Any Ideas?


Thx
LeXx

lexxborg
Champ in-the-making
Champ in-the-making
Hello,
I repeat again, the renaming in “guest_home” does not affect the expected behavior.
This is very urgent!
I need to get Guest Home visible back again!
PLS HELP!!!


Regards
LeXx

kevinr
Star Contributor
Star Contributor
It is possible to restore the Guest Home using an exported Guest Home from another Alfresco instance:

Create a new alfresco instance, log in as admin/admin.
Go into the Guest space, select More Actions->View Details->Export, enter a Package Name and make sure Include This Space is checked, then export the Guest space to an acp file.
Copy the resulting ACP file out of alfresco. The ACP file contains all the information required to import it as a new Guest space in a different alfresco instance, it has the correct name and the correct child assoc QName (as mentioned in Andy's post above).
Go into your original Alfresco instance as admin. Delete the current Guest User space (you may wish to export it's content first if you have created some docs/folders in it).
At the Company Home folder level, select More Actions->View Details->Import, and upload the exported ACP file from the other Alfresco instance. Click OK to start the Import.
Once the Guest Home has been imported, go to the Admin Console and select Manage System Users.
Find the Guest user and reset their home space to the newly imported Guest Home space.

You will then be able to login as Guest again. Obviously you can then also reimport the contents of your Guest Home you backed up before deleting it.

Hope this helps,

Kevin

andy
Champ on-the-rise
Champ on-the-rise
Hi

Kev is correct.

I forgot the path is app:guest_home; the UI will make cm:guest_home.
The import/export route is the only way to get this correct.

Andy