Make Page Title do some requirement testing
| Project: | Page Title |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
I couldn't understand what was going on since my older version of this modules suddenly stopped working. And I have no idea when exactly it happened. The only reason I even noticed - I was checking my search results in Google and noticed that the titles that was indexed, are not the ones I had created specifically with this module.
All my page titles were empty in the existing pages on "edit". And when I entered new titles into the page title field, it wouldn't save them.
Anywho, I upgraded to the latest 5.x-2.0-alpha6 (which has excellent improvements by the way), and it still didn't fix anything. Finally I checked my database and to my great surprise the page_title table was missing. I have no idea what happened to it. The worse is that I haven't received a singe error or warning message about it. It just quietly quit working and all my titles reversed to the default ones.
While running the update.php I had to manually select the version of the page_title module and run the update - this is the only way it would create the new table.
Don't know why this happened, and why I didn't get any warnings that the table was missing, and why wouldn't it upgrade everything automatically with the update.php... please take a look.

#1
Good point - some "requirement" checks would be a good idea!
I'm marking this is postponed because, as much as its a good idea, table's dont "just" go missing and this is a pretty edge case so I'd rather divert my efforts to fixing the more common errors first.
Thanks for brining this up though :-)
Nick