marc1706 / phpbb3-ext-quickedit

A quickedit extension for phpBB 3.1.
GNU General Public License v2.0
6 stars 7 forks source link

Remove "allow_quick_edit" flag from Config Table. #85

Closed Dark1z closed 6 years ago

Dark1z commented 6 years ago

Remove allow_quick_edit flag from Config Table, while Uninstalling the EXT. This is Required coz the code on line 19 , caused to skip update_schema when EXT was previously installed.

How to reproduce this bug:

  1. Fresh Install this EXT. [Skip, if already Fresh Installed]
  2. Disable the EXT.
  3. Delete the Data. [At this stage, allow_quick_edit flag is not removed]
  4. then enable this EXT. [At this stage, Migration skip's the update_schema due to allow_quick_edit flag]
  5. then Board Features > Enable Quick Edit in all forums.
  6. Get's an SQL Error.[Due to out of range coz forum_flags is 'TINT:4']
  7. Need to manually fix by changing the Data type to 'UINT'.

Best Regards. :smile: