Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Favorite URL cannot exceed 256 characters?

Lucas Molenaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2013

I am in the process of creating a LOC chart in Fisheye and try to limit the scope by filtering on specific filetypes. As a result the file types to include are appended to the URL and the total characters are quickly exceeding the 256 characters. As a result the error below is displayed when trying to save the graph as a favorite. The graph itself is rendered and can be displayed, it is simply not possible to add it to the favorites list.

Is there another way to easily pull LOC metrics from the various trunk directories for only specific file types? Perhaps using an API call? The entire process should be repeatable without to much effort.

Example URL:

http://1.1.1.1/fisheye/chart/~br=trunk,charttype=Pie,stacktype=Subdirectory,extn=__NO_EXTENSION__,extn=.MSI,extn=.Sql,extn=.Uml,extn=.bat,extn=.cab,extn=.config,extn=.cpp,extn=.cs,extn=.csproj,extn=.datasource,extn=.def,extn=.dsp,extn=.dsw,extn=.filters,extn=.h,extn=.ico,extn=.idl,extn=.lib,extn=.log,extn=.manifest,extn=.odl,extn=.pdb,extn=.pl,extn=.properties,extn=.rc,extn=.rc2,extn=.reg,extn=.resx,extn=.rgs,extn=.settings,extn=.sln,extn=.sql,extn=.svcinfo,extn=.svcmap,extn=.txt,extn=.user,extn=.vcproj,extn=.vcxproj,extn=.vdproj,extn=.wsdl,extn=.xaml,extn=.xml,extn=.xsd/SVNLOCATION?PATH

Error
The value '~br=trunk,charttype=Pie,stacktype=Subdirectory,extn=__NO_EXTENSION__,extn=.MSI,extn=.Sql,extn=.Uml,extn=.bat,extn=.cab,extn=.config,extn=.cpp,extn=.cs,extn=.csproj,extn=.datasource,extn=.def,extn=.dsp,extn=.dsw,extn=.filters,extn=.h,extn=.ico,extn=.idl,extn=.lib,extn=.log,extn=.manifest,extn=.odl,extn=.pdb,extn=.pl,extn=.properties,extn=.rc,extn=.rc2,extn=.reg,extn=.resx,extn=.rgs,extn=.settings,extn=.sln,extn=.sql,extn=.svcinfo,extn=.svcmap,extn=.txt,extn=.user,extn=.vcproj,extn=.vcxproj,extn=.vdproj,extn=.wsdl,extn=.xaml,extn=.xml,extn=.xsd' for the property 'stringKey3' is too long. It should have a maximum length of 255
You are running release CR2.4.2 FE2.4.2 (20101111000638 2010-11-11), please report your release number when reporting bugs.

1 answer

0 votes
CelsoA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2013

Hi Lucas,

Unfortunately this is a browser limitation.

The only workaround I can imagine for it is to use an url shortener to use this filters directly.

Regards,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events