Problem/Motivation
Message Notice: Undefined index: version in git_deploy_system_info_alter() (line 97 of /app/modules/git_deploy/git_deploy.module) #0 /app/core/includes/bootstrap.inc(587): _drupal_error_handler_real(8, 'Undefined index...', '/app/modules/gi...', 97, Array)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | git_deploy.3050235.patch | 799 bytes | kfritsche |
| #2 | git_deploy-Undefined_index_version_on_git_deploy.module-3050235-2-D8.patch | 440 bytes | thalles |
Comments
Comment #2
thallesComment #3
thallesComment #4
gábor hojtsy#3059316: Tests fail due to undefined index in git_deploy fails due to the same reason. Why would the info version not be set for core? It should either be set from .info data or by git_deploy itself no? This sounds like may be a symptom of a bigger problem?
Comment #5
kfritscheJust did a little bit of debugging and found out that I can reproduce the error if I have a checked out core, thats probably what drupal test bot also does?
After a bit of digging found that the branch regular expression is not working for core:
core branch names are 8.7.x and not 8.x-2.x
Patch attached to fix this.
Comment #6
gábor hojtsyComment #7
gábor hojtsyComment #9
gábor hojtsyYay, thanks a lot. I made some minor changes to the code comments and committed.