[Koha-bugs] [Bug 24001] Cannot edit card template
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 18 17:06:43 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24001
--- Comment #36 from Rinrada Wongsaichua <hlunlin93 at gmail.com> ---
(In reply to Jonathan Druart from comment #35)
> Hello Rinrada,
>
> I have attached a file that has the correct format (patch).
> However I am not sure this is the correct way to fix the issue.
>
> Chris, can we get your opinion on it?
Hi Jonathan,
every time I edit template of patroncards which has no profile_id attached to
template
Profile will display first printer name from the selector list even if
profile_id==0
Tested edit on template of labels that has no profile_id attached
(profile_id==0)
It will display 'Profile: No Profile/N/A' and able to save successfully no
error
Checked label-edit-template.pl and found this line
>> push @$profile_list, {paper_bin => 'N/A', profile_id => 0, printer_name => 'No Profile'};
which only exist in label-edit-template.pl but does not exist in
edit-template.pl
Checked database and noticed that both patroncards and labels stored Printer
profiles in the same table (printers_profile table) and identify by creator
field
Hopefully my investigation will help you guys on this case come how
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list