Skip to content

Conversation

matt-bernhardt
Copy link
Member

To be honest, I'm not sure why this is working - but it is. If you check the quickfix review application you'll see that it can communicate with its database.

Developer

Secrets

  • All new secrets have been added to Pantheon tiers
  • Relevant secrets have been updated in Github Actions
  • All new secrets documented in README

Documentation

  • Project documentation has been updated
  • No documentation changes are needed

Accessibility

  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)

Stakeholder approval

  • Stakeholder approval has been confirmed
  • Stakeholder approval is not needed

Dependencies

YES | NO dependencies are updated

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • The changes have been verified
  • The documentation has been updated or is unnecessary
  • New dependencies are appropriate or there were no changes

matt-bernhardt and others added 5 commits September 28, 2022 17:42
** Why are these changes being introduced:

* We need to identify workflows for developers to use to build on this
  platform, and document them in the project readme.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/engx-201

** How does this address that need:

* The primary outcome of this work is an updated set of documentation in
  the project readme, describing many commonly-used workflows (creating
  new applications, copying content between applications, etc).
* The documentation also identifies required tools that developers will
  need to contribute to this project, as well as relevant requirements
  for things like git branch names.
* As proof of these workflows, this also adds two types of code:
  1. A community-written plugin (Classic Editor)
  2. A locally-written plugin (our plugin canary), including the update
     to the gitignore file which allows it.
* This adds an updated pull request template for future use here. Please
  note that I made some changes from the template we use in other
  projects.

** Document any side effects to this change:

* The biggest one is probably the use of a non-standard PR template.
* Confirming and documenting a local development workflow is a key
  deliverable for evaluating Pantheon

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/ENGX-202

** How does this address that need:

* Adds lando configuration based on pantheon recipe
* Updates application configuration to allow using lando in our local
  environment
* Documents developer workflow for creating pulling data and files from
  pantheon

** Document any side effects to this change:

* Mentions of localdev have been removed now that we are planning to
  use lando

Co-Authored-By: Jeremy Prevost <jprevost@mit.edu>
@matt-bernhardt
Copy link
Member Author

This is the wrong merge proposall, closing.

@matt-bernhardt matt-bernhardt deleted the quickfix branch September 29, 2022 21:08
matt-bernhardt added a commit that referenced this pull request Apr 19, 2023
** Why are these changes being introduced:

* Attempting to load the map template right now generates the following
  error message in the logs:

PHP Fatal error:  Uncaught ValueError: array_rand(): Argument #1 ($array) cannot be empty in /app/web/app/themes/mitlib-parent/templates/page-map-locations.php:63

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/lm-306

** How does this address that need:

* The problem appears to be that the page template doesn't anticipate a
  condition in which no images are associated with a location record?
  Which is odd, as there _are_ records in the legacy system which do not
  have images. Regardless, the Courtyard Cafe record is definitely
  breaking the map template because the $arMain array in this template
  ends up being empty.
* This changes how this array is handled, only grabbing a random item
  from $arMain if there is at least one element in the array. Otherwise
  the default value of '' (now assigned at the start of these lines) is
  left unchanged.

** Document any side effects to this change:

* This template is a pit of vipers, lying in wait for an unsuspecting
  developer. I barely escaped with my life.
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

Successfully merging this pull request may close these issues.

1 participant