[Koha-bugs] [Bug 22408] Subscription entry form cleanup
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 18 01:21:00 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22408
Hayley Mapley <hayleymapley at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #6 from Hayley Mapley <hayleymapley at catalyst.net.nz> ---
Failed QA
Steps taken
- Set Record for New Subscription and clicked Next, clicking Okay to continue
without a Vendor.
- Set Issue publication date, set Frequency 1 week, did not specify
subscription length
- Set subscription start date and end date.
- Created an advanced pattern and named it, then created another advanced
pattern and chose it as the Numbering pattern above
- Clicked test prediction pattern and selected two dates to not publish
randomly
- Clicked Save subscription
- Error!
Error trace:
Can't call method "title" on an undefined value at
/home/vagrant/kohaclone/Koha/Subscription.pm line 165
1. in Koha::Subscription::get_sharable_info at
/home/vagrant/kohaclone/Koha/Subscription.pm line 165
162: my $sub_numberpatteern =
163: Koha::Subscription::Numberpatterns->find(
$subscription->numberpattern );
164:
165: my $sub_mana_info = {
166: 'title' => $biblio->title,
167: 'sfdescription' => $sub_frequency->description,
168: 'unit' => $sub_frequency->unit,
2. in Koha::SharedContent::prepare_entity_data at
/home/vagrant/kohaclone/Koha/SharedContent.pm line 123
120: my $ressource_mana_info;
121: my $packages = "Koha::".ucfirst($ressourcetype)."s";
122: my $package = "Koha::".ucfirst($ressourcetype);
123: $ressource_mana_info =
$package->get_sharable_info($ressourceid);
124: $ressource_mana_info = { %$ressource_mana_info, %$mana_info };
125:
126: return $ressource_mana_info;
3. in Koha::SharedContent::send_entity at
/home/vagrant/kohaclone/Koha/SharedContent.pm line 82
79: my ($lang, $loggedinuser, $resourceid, $resourcetype, $content)
= @_;
80:
81: unless ( $content ) {
82: $content = prepare_entity_data($lang, $loggedinuser,
$resourceid, $resourcetype);
83: }
84:
85: my $result = process_request(build_request('post',
$resourcetype, $content));
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list