Hello, On 10 October 2013 09:26, Brettschneider Falk <[email protected]> wrote: >> >> However it seems that I am also missing something because whatever I >> make, I never got any errors because of missing project value. >> For instance I can see in SimpleMultiProject ticket.py a message ""Please, >> select a project!" in the function _add_milestones_maps but I haven't >> managed to trigger it. >> >> In particular I can create a ticket without any project and I can create a >> milestone without an project. >> >> Is there something else I have forgotten in order to have a good integration >> of SimpleMultiProject ? > > By default, SimpleMultiProjectPlugin does not force you to select a project > on ticket creation, > because in some cases you may find it useful to capture a problem in a ticket > before you decide > which project is responsible. In spite of this, you have "Please, select a > project!" on milestone > selection. The idea is here that you cannot have a milestone without project, > and I simply wanted > to prevent the quite frequent situation that lazy users forget to fill out > the project field in case of > when they select a milestone. >
Hum I don't see that "Please, select a project!" on milestone selection. I only see an empty selection box. Can you explain a little how this line is inserted in the selection box ? It will help me debug this. > Though, when I try to create a ticket without selecting a project, it denies > the creation with > "Warning: The ticket field 'project' is invalid: project is required", > because here we don't want > tickets without projects. I've installed TicketValidatorPlugin for that and > configured in my trac.ini > the following: > [ticketvalidator] > new.required = project Ok I understand the reason why it is not the default behavior. Thanks. -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-dev. For more options, visit https://groups.google.com/groups/opt_out.
