URL shortener bug

Status
Not open for further replies.

husseinb

Founder license
License owner
The viewer does not display the original shortened URL. It generates a new short URL from the service.

1. Login as admin

2. Click on home

3. Upload an image and select create short URL's using (service)

4. Go back to the admin interface

5. Click on the file name of any image OR go to the chevereto short URL (ex. domain.com/p). You must be logged in as admin.

6. Instead of displaying the original URL from the URL shortener it makes a new one.

This defeats the purpose of link tracking. The short URL should be saved in the database and retrieved with the rest of the image details.

If you do not select create short URLs when uploading the first image after clearing the cookies and cache, this error does not occur.

I am using Chrome Version 21.0.1180.81 on Ubuntu 12.10.
 

Rodolfo

The Chevere Guru
Chevereto Staff
The upload process doesn't store the shorted URL. Every time you saw the short URL from service a new call over that URL is made. Short URLs should be preserved but that also means that there must be a new class to re-fecth the URL changes (when you change the file name). At this point the quick workaround for this is that you service shouldn't write new URL is the URL already exists... I know that un YoURLs you have a function to always create new short links, you should disable that.
 

husseinb

Founder license
License owner
Ok. :) When this becomes a feature, could you please include retrieval of the short URL when getting the codes for multiple photos?

As always, it's a pleasure using Chevereto!

Hussein
 
Status
Not open for further replies.
Top