Hi All,

+1 to have URL validation on dashboard creation + page creation. AFAIK we
can duplicate page titles, but we need to prevent URL duplication.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Nov 3, 2015 at 11:26 AM, Ayesha Dissanayaka <[email protected]> wrote:

> Hi all,
>
> On Mon, Nov 2, 2015 at 7:40 PM, Nipuna Chandradasa <[email protected]>
> wrote:
>
>> There is a scenario which users can create multiple dashboards with same
>> titles. But in any scenario they cannot create a dashboard with same URL (
>> Dashboard ID).
>>
>
> To address this issue, we will need to go through all the available
> dashboards in order to check whether the title exists and it will be an
> unnecessary overhead. We also considered few other options, such as
> changing resource path to a value which contains title. But it also leads
> to unnecessary complications of the design.
>
> URL is unique for a dashboard and it becomes the dashboard "id". We are
> validating existing dashboards for 'id' at creation. Hence, an user cannot
> create multiple dashboards with same url.
> Therefore we decided to allow users to change the dashboard title to an
> existing one and in-order to distinguish such dashboards , show dashboard
> 'url' in dashboard listing page (above the description) next to title.
>
>
>> Also there is another similar scenario with Pages inside dashboards,
>> which user can create multiple pages with same title. But in any scenario
>> they cannot create pages with same URL (Page ID).
>>
>
> We can do a simple check for page titles and show a validation failure
> here.
>
> Thanks!
> -Ayesha
>
> --
> *Ayesha Dissanayaka*
> Software Engineer,
> WSO2, Inc : http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> 20, Palmgrove Avenue, Colombo 3
> E-Mail: [email protected] <[email protected]>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to