Skip to content

BF: Original types for "UnknownPluginComponent"s were being lost after loading and saving again#6708

Merged
TEParsons merged 3 commits into
psychopy:devfrom
TEParsons:dev-bf-plugin-reloading
Jul 14, 2024
Merged

BF: Original types for "UnknownPluginComponent"s were being lost after loading and saving again#6708
TEParsons merged 3 commits into
psychopy:devfrom
TEParsons:dev-bf-plugin-reloading

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

Fixes #6569

Because .type was set before initialising the base class, it was overwritten (as the base class also sets .type)

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.96%. Comparing base (a8321ef) to head (e110f5f).
Report is 11 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #6708      +/-   ##
==========================================
+ Coverage   41.14%   48.96%   +7.81%     
==========================================
  Files         332      332              
  Lines       61140    61181      +41     
==========================================
+ Hits        25155    29956    +4801     
+ Misses      35985    31225    -4760     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)

@TEParsons TEParsons merged commit 2dcb673 into psychopy:dev Jul 14, 2024
@TEParsons TEParsons deleted the dev-bf-plugin-reloading branch July 14, 2024 23:14
@peircej peircej added the 🐞 bug Issue describes a bug (crash or error) or undefined behavior. label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Issue describes a bug (crash or error) or undefined behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Plugin component instances fail to load when reloadPrevExp enabled

2 participants