Ticket #4054 (closed defect: fixed)
Some calls to $lang->has_phrase don't pass session parameter
| Reported by: | tmb | Owned by: | |
|---|---|---|---|
| Priority: | Customer Report | Milestone: | EPrints 3.3.10 |
| Component: | Phrases | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Seen in: EPrints::Plugin::InputForm::Component::Upload::has_help
This doesn't cause a problem until a phrase is modified via Edit page phrases - now the call to _get_src_phrase without a session will fail:
[error] Can't call method "get_repository" on unblessed reference at /opt/eprints3/perl_lib/EPrints/Language.pm line 342.\n
=> user sees internal server error when trying to access Upload stage of workflow
Other instances:
EPrints::Plugin::InputForm::Component::Documents::has_help EPrints::Update::Views L566 L1345 L1400
Also applies to any call to $lang->get_phrase_info or $lang->phrase
Change History
Note: See
TracTickets for help on using
tickets.
