Bug 15470 - Error when adding new authority with Default framework
Summary: Error when adding new authority with Default framework
Status: RESOLVED DUPLICATE of bug 15473
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Frédéric Demians
QA Contact: Testopia
URL:
Keywords:
Depends on: 15381
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-05 11:45 UTC by Frédéric Demians
Modified: 2016-01-05 15:48 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 15470: Error when adding new authority with Default framework (1.33 KB, patch)
2016-01-05 11:48 UTC, Frédéric Demians
Details | Diff | Splinter Review
[SIGNED-OFF] Bug 15470: Error when adding new authority with Default framework (1.45 KB, patch)
2016-01-05 15:22 UTC, Bernardo Gonzalez Kriegel
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Demians 2016-01-05 11:45:06 UTC
To produce this bug: Authorities > New authority > Default

Result: Can't call method "authtypetext" on an undefined value at /home/tamil/client/devel/kohaclone/authorities/authorities.pl line 665.
Comment 1 Frédéric Demians 2016-01-05 11:48:20 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2016-01-05 15:22:52 UTC
Created attachment 46267 [details] [review]
[SIGNED-OFF] Bug 15470: Error when adding new authority with Default framework

TO TEST:
1. Authorities > New authority > Default
2. You get:
   Can't call method "authtypetext" on an undefined value at
3. Apply the patch and repeat 1

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Bug reproduced, now fixed.
No koha-qa errors
Comment 3 Bernardo Gonzalez Kriegel 2016-01-05 15:31:51 UTC
Hi,
I signed this, but seems to be  duplicate of Bug 15473,
can you take a look?
Comment 4 Jonathan Druart 2016-01-05 15:32:40 UTC
Frédéric,

Sorry I have noticed before but actually it's a duplicate of bug 15473 (I have just filled).
With your patch, we are loosing the 'Default' authtypetext.

I am marking this one as a duplicate as I am pretty sure it's the way to go.
Comment 5 Jonathan Druart 2016-01-05 15:33:00 UTC

*** This bug has been marked as a duplicate of bug 15473 ***
Comment 6 Frédéric Demians 2016-01-05 15:48:13 UTC
(In reply to Jonathan Druart from comment #4)
> Frédéric,
> 
> Sorry I have noticed before but actually it's a duplicate of bug 15473 (I
> have just filled).
> With your patch, we are loosing the 'Default' authtypetext.
> 
> I am marking this one as a duplicate as I am pretty sure it's the way to go.

I agree