** Description changed: - Currently, the logic to check if a path is valid for udf creation is in - control panel's validate_path_for_folder. + Currently, the logic to check if a path is valid for user-defined-folder + (a.k.a. cloud folder) creation is in control panel's + validate_path_for_folder, and in every other app that allows clients to + create cloud folders in U1. - This logic should belong to u1-client. + This logic belongs to the u1-client project, and it should be exported + as a method in the syncdaemon IPC/DBus interface. - Also, since the logic is currently in u1cp, calls are being made to - os_helper functions, which causes unicode/bytes issues, since in u1cp - everything is unicode, but os_helper uses bytes. + Also, since the logic is currently in u1cp, there are calls being made + to os_helper functions, which causes unicode/bytes issues, since in u1cp + everything is unicode, but os_helper API uses bytes, so we're increasing + the coupling between those. Temporarily, until the validation logic is added to u1-client, a call to - is_link and the related test will be disabled in u1cp. + is_link and the related test will be disabled in u1cp. Should be removed + and replaced for a call to the new syncdaemon validation service.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/824252 Title: Should export an interface to validate udf paths To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntuone-client/+bug/824252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs