Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dsenalik
Copy link
Contributor

@dsenalik dsenalik commented Apr 16, 2024

Bug Fix

Closes #1853

Tripal Version: 4.x

Description

Tripal publish is missing braces { } in a couple of sql queries, and having a variable inside {$field_table} is not parsed as expected.

  1. Adds automated test that detects the bug
  2. Adds the bugfix so test can then pass

Testing?

Because this is showing up in the testing environment, check that tests pass. (sorry I messed up the branch name)

@dsenalik dsenalik added Tripal 4 Group 1 - Tripal Content Types | Terms | Fields Any issue relating to Tripal Content including types, terms, and fields. Easy PR Review πŸ˜€ Small easy to review pull request labels Apr 16, 2024
Copy link
Member

@laceysanderson laceysanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice clean fix and I love the addition to the test --Thank you @dsenalik for figuring this out!

@laceysanderson laceysanderson merged commit 4a31bc6 into 4.x Apr 16, 2024
@laceysanderson laceysanderson deleted the tv4g-issue1853-publish-bugfix-and-test branch April 16, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Easy PR Review πŸ˜€ Small easy to review pull request Group 1 - Tripal Content Types | Terms | Fields Any issue relating to Tripal Content including types, terms, and fields.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish fails for automated tests, puts fields in wrong schema

2 participants