- 🇮🇹Italy eliosh Bacoli
Hi,
I was coming from 2.7 and patch in #11 doesn't work, with the same message as always:$ drush updb Linkit 7303 Fixed 7302. Set URL type to "Entity view page" to preserve current behavior. Linkit 7304 Make sure admin_description can be null. Linkit 7305 Add profile 'weight' column. Do you wish to run all pending updates? (y/n): y SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'field list' [error] Performed update: linkit_update_7303 [ok]
- 🇬🇧United Kingdom featherbelly London, UK
@eliosh → you'll probably need to run ALL of the updates again as the patch affects linkit_update_7300.
- 🇮🇹Italy eliosh Bacoli
@fatherbelly I've changed the system table and set schema_version to 7227.
Run drush updb and...# drush8 updb Linkit 7300 Migrate settings from v2 to v3 if needed. Linkit 7301 Do nothing. Update the schema version. Linkit 7302 Reverted. Linkit 7303 Fixed 7302. Set URL type to "Entity view page" to preserve current behavior. Linkit 7304 Make sure admin_description can be null. Linkit 7305 Add profile 'weight' column. Do you wish to run all pending updates? (y/n): y Performed update: linkit_update_7300 [ok] Performed update: linkit_update_7301 [ok] Performed update: linkit_update_7302 [ok] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'field list' [error]
- 🇷🇺Russia skylord
#11 worked fine for upgrade from 2.7 to 3.6. Have disabled module, replaced files, applied patch and run "drush updb".
- 🇨🇦Canada danrod Ottawa
Patch # 11 is not working for me, can anyone provide the steps on how to apply the patch and run the updates, please?
- 🇫🇮Finland sthomen
This patch might work better. #11 requires that you have not already run 7300. Instead of removing the removal of the 'weight' field I just add it back in 7303. This patch (like #11) also removes the risky use of drupal_get_schema_unprocessed() (it will give you the _current_ schema, but how do you know it represents the expected schema at the given update?).
- 🇨🇦Canada optasy
Patch #17 did the work for me, thanks for that @sthomen !
-
mark_fullmer →
committed ee10fb65 on 7.x-3.x authored by
sthomen →
Issue #2842804 by barami, anon, sthomen, ciss, MiroslavBanov, eliosh,...
-
mark_fullmer →
committed ee10fb65 on 7.x-3.x authored by
sthomen →
- Status changed to Fixed
about 1 year ago 11:12pm 20 October 2023 - 🇺🇸United States mark_fullmer Tucson
Thanks for the input, everyone! I've committed the patch from #17 to the 7.x-3.x branch.
Automatically closed - issue fixed for 2 weeks with no activity.