Merge pull request #546 from wkollernhm/master

some fixes for the portal
fixing parent guid adding to metadata