Last modified: 2007-11-29 17:18:19 UTC
When using the SelectCategory extension, clicking the Preview button loads the preview page, but on this page the SelectCategory select box contains no selections. As a result, if the user does not notice this and does not reselect the correct categories, subsequently clicking the Save button will cause the categories to be lost.
Created attachment 3601 [details] preview_bug.patch If $_POST["SelectCategoryList"] is defined, this means the categories were already extracted from the page text in a previous PHP pass. Thus, the categories listed in this variable should be used. Failing to do so cause the reextraction to fail, since the first extraction striped the categories from the page text.
Although it was commented that the .5 version of selectCategories resolves this issue, the problem remains. I have also compared the function suggested by the patch versus the same function definition found in .5, they are a match. I am still receiving this error. Were there any other changes required to get version .5 to really resolve this issue?
The stock .5 version works fine on my machine...