Hide Forgot
Description of problem: When the topic tool loads it checks for a topic.conf file in the user's home directory. If one is not found it is created based on the default template (with some user input), if however one is found it is not checked for correctness. In particular the tool assumes a number of values are set: * TOPIC_REPO * TOPIC_INDEX * TOPIC_SEARCH * AUTHOR * AUTHOR_EMAIL If the file is present but doesn't contain one of these values then when a verb is invoked that uses that value an Exception is thrown without providing much feedback to the user. Ideally we should check these 'mandatory' values are correct up front and provide better feedback to the user as to how to correct it. Version-Release number of selected component (if applicable): 0.0.3-2
Committed revision 70110. Modified to check for TOPIC_REPO, TOPIC_INDEX, AUTHOR, and AUTHOR_EMAIL at the top. The search logic itself checks the presence of TOPIC_SEARCH, left the check at this level as unlike the others it is only required for one function, search.