Skip to content

Fix and deprecate unionInclude.pl#769

Merged
pstaabp merged 2 commits intoopenwebwork:developfrom
drgrice1:fix-and-deprecate-unionInclude
Feb 2, 2023
Merged

Fix and deprecate unionInclude.pl#769
pstaabp merged 2 commits intoopenwebwork:developfrom
drgrice1:fix-and-deprecate-unionInclude

Conversation

@drgrice1
Copy link
Member

Make the unionInclude.pl macro work again. fileName is no longer in the environment. Instead of having fileName and probFileName in the environment that were both always the same thing, there is now only probFileName.

However, this macro should not be used anymore, so it is also moved to deprecated.

There is also a minor fix for a warning in niceTables.pl that I keep seeing. This was included in #709 and accidentally reverted in #724.

@drgrice1 drgrice1 force-pushed the fix-and-deprecate-unionInclude branch from 79aaf66 to 58d6c46 Compare January 27, 2023 21:17
Make the unionInclude.pl macro work again.  `fileName` is no longer in
the environment.  Instead of having `fileName` and `probFileName` in the
environment that were both always the same thing, there is now only
`probFileName`.

However, this macro should not be used anymore, so it is also moved to
deprecated.
@drgrice1 drgrice1 force-pushed the fix-and-deprecate-unionInclude branch from 58d6c46 to 54939e8 Compare January 30, 2023 12:11
Copy link
Member

@pstaabp pstaabp left a comment

Choose a reason for hiding this comment

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

This does fix a warning from the macro and YES this should be deprecated. In order to actually work, problems need to be setup in the right way relative to others in the set.

@pstaabp pstaabp merged commit 873260f into openwebwork:develop Feb 2, 2023
@drgrice1 drgrice1 deleted the fix-and-deprecate-unionInclude branch February 2, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants