Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some gotchas #26

Open
herbdool opened this issue Nov 27, 2019 · 8 comments
Open

Some gotchas #26

herbdool opened this issue Nov 27, 2019 · 8 comments

Comments

@herbdool
Copy link
Contributor

herbdool commented Nov 27, 2019

There are a few gotchas which users should be aware of. Some of them can be fixed, others should have warnings. Currently using coder_upgrade could be misleading developers.

Bugs:

  • Deletes __DIR__
  • Needs $config->save() in upgrade hook
  • Replaces Drupal even if in a URL
  • Forces TRUE/FALSE to be strings in config file.

Misleading:

  • If a config variable should instead be in state_get, users need to be aware. Perhaps a warning in the README file.
@bugfolder
Copy link
Collaborator

PR 32 fixes the missing $config->save() in upgrade hook.

@bugfolder
Copy link
Collaborator

PR 42 fixes "Forces TRUE/FALSE to be strings in config file.".

@roxy-jaqkar
Copy link

Trying to convert Bundle Copy module with Coder Upgrade and running into problems. The module is not recognizing my folders (new/old/patch). Have checked permissions, cleared cache and run cron to no avail. Any ideas?
coder error

@docwilmot
Copy link
Member

Strange. To be clear, you placed the module folder to be converted into SITE_ROOT/files/coder_upgrade/old and not SITE_ROOT/modules/coder_upgrade/old ?

@roxy-jaqkar
Copy link

Yes, path is: site_root/files/coder_upgrade/old. I uploaded a zip file.

@docwilmot
Copy link
Member

Ahh no, not a zipped file, upload the actual folder.

@roxy-jaqkar
Copy link

OK, will try that. Thanks!

@bugfolder
Copy link
Collaborator

Bringing this back on-topic, the two remaining open bugs from this issue are (adding checkboxes to check them off as they get addressed):

  • ... | Deletes __DIR__
  • ... | Replaces Drupal even if in a URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants