<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body>
    Hi Alessandro,<br>
    I'd suggest that failing silently is probably the worst situation
    for the user, and the code-guidelines should be updated.<br>
    The user thinks they're getting what they want and instead their
    request is being ignored. These sorts of things usually lead to
    users wasting lots of time trying to figure out what's wrong when
    all that needs to happen is to tell them (we've all had it happen to
    us I'm sure).<br>
    <br>
    Just my 2p.<br>
    Cheers,<br>
    Jonathan<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 24/11/2015 08:58, Alessandro Pasotti
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAL5Q671WXZbCMLe2v-ywgVMOD4Mt4meX2AjnzBUgNkRZG8B7tg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi,<br>
                <br>
              </div>
              I didn't find much on coding guidelines and I'm not sure
              about what to do, it seems that this is treated
              differently in different parts of the code.<br>
              <br>
            </div>
            An example:<br>
            <br>
          </div>
          in the vector layer configuration dialog, the user can enter
          ad UI file for the custom form, if the specified file does not
          exist it is simply ignored (no errors or warnings are shown to
          the user).<br>
          <br>
        </div>
        Being in a GUI context, I think that warning the user about a
        not-critical misconfiguration would be the right thing to do.<br>
        <div>
          <div>
            <div><br>
            </div>
            <div>Do we have any convention or best practice to follow in
              this case?<br>
            </div>
            <br>
            <div><br clear="all">
              <div>
                <div>
                  <div><br>
                    -- <br>
                    <div class="gmail_signature">Alessandro Pasotti<br>
                      w3:   <a moz-do-not-send="true"
                        href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>