Page aliases switching site language generates warnings
GENERAL
TESTING
GENERAL
TESTING
Description
If you have the feature from SAK-12404 enabled (portal.use.page.aliases=true) and you have a site created, then you change the language in site manage to something else it generates new aliases without cleaning up the old ones. Then it generates tons of warning messages in the logs.
Either these shouldn't be warning, at most debug and the level of message is just too high.
Or the previous aliases for that site should be cleaned up if new aliases need to be created
2014-05-13 14:33:22,873 WARN http-bio-8080-exec-16 org.sakaiproject.portal.api.PortalSiteHelper - More than one alias for: 9814ac27-3b7e-44a9-8c53-dc30aa8ee0d5:05014940-3d34-44bb-bc08-db8c1a013ce2
If you have the feature from SAK-12404 enabled (portal.use.page.aliases=true) and you have a site created, then you change the language in site manage to something else it generates new aliases without cleaning up the old ones. Then it generates tons of warning messages in the logs.
Either these shouldn't be warning, at most debug and the level of message is just too high.
Or the previous aliases for that site should be cleaned up if new aliases need to be created
2014-05-13 14:33:22,873 WARN http-bio-8080-exec-16 org.sakaiproject.portal.api.PortalSiteHelper - More than one alias for: 9814ac27-3b7e-44a9-8c53-dc30aa8ee0d5:05014940-3d34-44bb-bc08-db8c1a013ce2
/pagealias/9814ac27-3b7e-44a9-8c53-dc30aa8ee0d5/forums <-> /pagealias/9814ac27-3b7e-44a9-8c53-dc30aa8ee0d5/foros