Changes between Initial Version and Version 1 of Ticket #7369


Ignore:
Timestamp:
Aug 4, 2008, 6:20:56 PM (11 years ago)
Author:
haysmark
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7369

    • Property Summary changed from QueryReadStore.php returns full result list on query for '' to QueryReadStore.php returns full result list on query for ""
  • Ticket #7369 – Description

    initial v1  
    22http://archive.dojotoolkit.org/dojo-2008-08-04/dojotoolkit/dojox/data/tests/QueryReadStore.html
    33
    4 Clear the very bottom box that contains 'a' so it is completely blank. Press store.fetch. A query for '' should return 0 results, but instead the PHP returns everything, which is wrong. I've never had this problem before with QueryReadStore, so I suspect it is a problem with dojox/data/tests/stores/QueryReadStore.php.
     4Clear the very bottom box that contains "a" so it is completely blank. Press store.fetch. A query for "" should return 0 results, but instead the PHP returns everything, which is wrong. I've never had this problem before with QueryReadStore, so I suspect it is a problem with dojox/data/tests/stores/QueryReadStore.php.
    55
    6 The net effect is that you can't clear the FilteringSelect on that page; it will always select Alabama since '' returns the full list and Alabama is #1 on the list. Basically, only a query for '*' should return everything, and a query for '' should only return things that match exactly '' *from start to end*. In this case, none of the data matches '' exactly so the PHP should return nothing.
     6The net effect is that you can't clear the FilteringSelect on that page; it will always select Alabama since "" returns the full list and Alabama is #1 on the list. Basically, only a query for "*" should return everything, and a query for "" should only return things that match exactly "" *from start to end*. In this case, none of the data matches "" exactly so the PHP should return nothing.
    77
    88wolfram I don't know PHP too well but it looks like your code based on the SVN log, could you take a look at it?