mvk-team42 / Veracitor

An application that studies the trust in a network of users, sources and articles
6 stars 2 forks source link

Database dot (".") storage bug #51

Closed mrunelov closed 11 years ago

mrunelov commented 11 years ago

The database is currently unable to store dots (".") in names. This is especially a problem for URL's. There are private convert methods in place as a workaround, but data is being accessed in unconventional ways in e.g. web/utils.py and web/ratings.py, which means that they also have to implement this conversion.

TODO: Remove any need for external conversion OR fix the storage issue directly.

Alfred26 commented 11 years ago

The database can store dots in names in general, it is only the keys of source_ratings, info_ratings and group_ratings that are affected. As the URL is the unique identifier of information entities, it is also the key mapping informations to ratings.

Alfred26 commented 11 years ago

Should be fixed now (apart from group, but that's not as critical). Use everything as normal, the database modules should handle all necessary conversions.