Administration / Site Redirects - Condition table seems to be incomplete. The first column show condition name and the second column shows Contain/ Does Not contain value. However the table does not show what is the value related to - User Agent or Propery. Without this information the table does not make much sense.
Created attachment 773799 [details] Screenshot of the site redirect conditions I am confused over why this issue has been raise. Attached is a screen shot which shows the redirect admin. It should be clear from the screen shot that the section under 'User Agent String' contains the settings for user agent strings while the section under 'Property' handles the javascript inspected device properties. Note: only User Agent string uses 'contains' 'does not contain', the device properties use different options. Please see the documentation.
Hi Mat, sorry for not being specific enough. I was referring to redirect configuration page, not property editor page. The page shows settings only for user-agent based conditions without any indication that user-agent based condition is used. For property based, the settings column is left blank completely.
Created attachment 773818 [details] redirect overview page
Ah, yeah, ok, makes a lot more sense now. Thanks for updating the bug with the screenshot. Gabriel needs to make a decision on how this should be fixed (then Alex can implement the fix). Created a jira to track this on the GateIn side (GTNPORTAL-3183).
Gabriel Cardoso <gcardoso> made a comment on jira GTNPORTAL-3183 After discussing with Alexandre and Matt, we agreed on the following solution: http://statichtml-theute.rhcloud.com/cardosogabriel/gatein-client/site-redirects.html Code is available at: https://github.com/cardosogabriel/gatein-client/commit/49e69952ad7d5a1f56838d2a8e9b9ae3bb80f4bf
Verified (ER4).