[RESOLVED] A few bugs I came across...

Started by Omnus, November 18, 2008, 06:21:41 PM

previous topic - next topic
Go Down

Omnus

November 18, 2008, 06:21:41 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
I was lured in by the collection GIFs that I've been seeing in people's sigs.  Things appear to be working pretty well now, but as a coder I know that bugs never end until after the code is 'frozen'.  I'll try to put them into categories:

Database query returns

When I added items to my collection, I did it the hard way.  No country, category, or sub-category short-cuts, just the full list of what's not in my collection and worked from there.

1. Listing synchronization problem - when adjusting the the number of results to display per page from '20' to '100', results returned when clicking for the next page were not the next 100 results, but would be from somewhere further in the database.

2. Listing synchronization problem - with results per page at the default '20' setting, clicking on the 'Next' link would return results that were not from the next 20, but somewhere further in the database.  This did not occur the first time that I clicked the 'Next' link with this setting, but did happen further on.  This behavior did not show up when I clicked the page number links (such as being on page 45 and clicking the '46' link).

The two problems may be the same.  I don't recall whether I ever clicked on a page number link when I had the results per page set to '100'.  If I only ever clicked on the 'Next' link then these are most likely the same problem manifesting in a different way for how the back-end is responding to the requests generated for the 'Next' link.

Update knock-out

I was adding entries to my collection when the update for the parts links on the individual entry listings went through yesterday.  I didn't notice it at the time, but that apparently locked me out of database entries at the time.  I added a couple of 100 other items to my collection list and thought it was being saved, since the 'saved' was dynamically popping in each time and it was saying 'Omnus's collection' all the time I was doing it.

I noticed the problem I looked at what was listed in collection.  The number was low and after checking specific entries found all that had been entered past a certain point weren't there.

I logged out, logged back in and re-entered everything and it was fine at that point.

It's definitely a conflicting database issue, but re-creating it so you can figure out a fix (other than post a notification when a sweeping database change is going to happen in the forums) is going to be a pain.

'Your Dynamic Signature' section

The dynamic signature works fine for me, but the static GIF displays nothing.  It just has 0.00%.

It also doesn't allow me to copy anything from either of the textboxes, so testing the GIF by calling it up in another tab was a tad bit annoying.


Well, after dropping that in your lap, I'll see if I happen to have a good enough camera (and more importantly good enough lighting) to contribute anything (which means not popping those Target exclusives I just got from Target.com out of their packaging).

Thanks for the effort of creating an interesting site.

shmax

#1
November 19, 2008, 05:02:26 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Hi Omnus, welcome to the fun! I'm on my way out of the house, but real quick:

- The pagination stuff may be a bit confusing, but basically the "next" link doesn't take you to the next page, it takes you to the next set of 6 pages. One of these days I'll revisit it, but for now I consider it pretty low priority in the grand scheme of things. As for going from 20 to 100 results per page, in technical terms all the pagination does is append a "LIMIT" clause to the database query. No page has any knowledge of what your previous results-per-page setting was, and so there's really no way to ensure a smooth transition. But if you feel that something was skipped, you can always just go to the previous page.

The sig thing was a victim of my last update. I just fixed it, so you should now be seeing what you'd expect. My apologies for the error. As for the checkboxes not working, well, I probably broke something in the morning that got fixed in the evening. It happens sometimes, unfortunately. But it seems to be working now.

We'd welcome any photos! We're after part photos in particular. I have to warn you that we have pretty strict quality requirements, but once you build a "photo booth" the rest is fairly easy. See our photo guidelines page for a tutorial, or you can post questions in the forums--Uppercase is our resident expert.

Thanks again for the bugs, and I hope to see you around the site.

Max


Quote from: "Omnus"
I was lured in by the collection GIFs that I've been seeing in people's sigs.  Things appear to be working pretty well now, but as a coder I know that bugs never end until after the code is 'frozen'.  I'll try to put them into categories:

Database query returns

When I added items to my collection, I did it the hard way.  No country, category, or sub-category short-cuts, just the full list of what's not in my collection and worked from there.

1. Listing synchronization problem - when adjusting the the number of results to display per page from '20' to '100', results returned when clicking for the next page were not the next 100 results, but would be from somewhere further in the database.

2. Listing synchronization problem - with results per page at the default '20' setting, clicking on the 'Next' link would return results that were not from the next 20, but somewhere further in the database.  This did not occur the first time that I clicked the 'Next' link with this setting, but did happen further on.  This behavior did not show up when I clicked the page number links (such as being on page 45 and clicking the '46' link).

The two problems may be the same.  I don't recall whether I ever clicked on a page number link when I had the results per page set to '100'.  If I only ever clicked on the 'Next' link then these are most likely the same problem manifesting in a different way for how the back-end is responding to the requests generated for the 'Next' link.

Update knock-out

I was adding entries to my collection when the update for the parts links on the individual entry listings went through yesterday.  I didn't notice it at the time, but that apparently locked me out of database entries at the time.  I added a couple of 100 other items to my collection list and thought it was being saved, since the 'saved' was dynamically popping in each time and it was saying 'Omnus's collection' all the time I was doing it.

I noticed the problem I looked at what was listed in collection.  The number was low and after checking specific entries found all that had been entered past a certain point weren't there.

I logged out, logged back in and re-entered everything and it was fine at that point.

It's definitely a conflicting database issue, but re-creating it so you can figure out a fix (other than post a notification when a sweeping database change is going to happen in the forums) is going to be a pain.

'Your Dynamic Signature' section

The dynamic signature works fine for me, but the static GIF displays nothing.  It just has 0.00%.

It also doesn't allow me to copy anything from either of the textboxes, so testing the GIF by calling it up in another tab was a tad bit annoying.


Well, after dropping that in your lap, I'll see if I happen to have a good enough camera (and more importantly good enough lighting) to contribute anything (which means not popping those Target exclusives I just got from Target.com out of their packaging).

Thanks for the effort of creating an interesting site.

shmax

#2
August 27, 2009, 07:39:04 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Quote from: "Omnus"
The two problems may be the same. I don't recall whether I ever clicked on a page number link when I had the results per page set to '100'. If I only ever clicked on the 'Next' link then these are most likely the same problem manifesting in a different way for how the back-end is responding to the requests generated for the 'Next' link.
Fixed at last! The "Next" and "Back" links now work a little more intuitively, with stepping one page at a time, instead of 5. The little double arrows still skip by 5. And it only took me 10 months!

Go Up