Uploaded image for project: 'Queries directory'
  1. Queries directory
  2. QUERIES-152

Cannot use QueriesDAO for the same query twice in a small amount of time

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.14.0
    • None
    • None
    • Oui

      Ametys.plugins.queriesdirectory.QueriesDAO._cache = {}; Ametys.plugins.queriesdirectory.QueriesDAO._cacheExpirations = {};

      Ametys.plugins.queriesdirectory.QueriesDAO.getQuery("query://47177109-d38d-48bf-a0c9-57c48f7d24e8", function(q)

      {console.log(q)}); Ametys.plugins.queriesdirectory.QueriesDAO.getQuery("query://47177109-d38d-48bf-a0c9-57c48f7d24e8", function(q){console.log(q)}

      );

      the second will fail, since the first is "searching"

          [QUERIES-152] Cannot use QueriesDAO for the same query twice in a small amount of time

          Raphaël Franchet made changes -
          Link Original: This issue Référence RUNTIME-4118 [ RUNTIME-4118 ]
          Raphaël Franchet made changes -
          Link New: This issue discovered while testing RUNTIME-4118 [ RUNTIME-4118 ]
          Raphaël Franchet made changes -
          Link Original: This issue Bloque RUNTIME-4118 [ RUNTIME-4118 ]
          Raphaël Franchet made changes -
          Link New: This issue Référence RUNTIME-4118 [ RUNTIME-4118 ]
          Raphaël Franchet made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Raphaël Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Raphaël Franchet made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]
          Raphaël Franchet made changes -
          Link New: This issue Bloque RUNTIME-4118 [ RUNTIME-4118 ]
          Raphaël Franchet created issue -

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: