| Summary: | /virtualshelves/addbybiblionumber.pl plack scoping | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Dobrica Pavlinusic <dpavlin> |
| Component: | Lists | Assignee: | Dobrica Pavlinusic <dpavlin> |
| Status: | CLOSED FIXED | QA Contact: | Ian Walls <koha.sekjal> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | alex.arnaud, paul.poulain |
| Version: | 3.8 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | |||
| Bug Blocks: | 7172 | ||
| Attachments: |
Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping
[Signed-off] Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping |
||
|
Description
Dobrica Pavlinusic
2012-03-30 23:30:16 UTC
Created attachment 8730 [details] [review] Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 129. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 134. Variable "$newvirtualshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 135. Variable "$sortfield" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 136. Variable "$category" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 139. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 140. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 143. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 145. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 151. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 153. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 157. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 165. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 173. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 178. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 180. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 188. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 196. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 204. Variable "$newshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 205. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 206. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 207. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. Variable "$cookie" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. Can't call method "param" on an undefined value at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. test scenario: 1. go to search results 2. select few of them 3. Add to: [ new list ] 4. enter name and save 5. verify that list exists Test i did without the patch:
- Select few record from search results,
- Add them to [ new list ]
=> get the following error:
"Can't call method "param" on an undefined value at /home/alex/workspace/versions/koha34/virtualshelves/addbybiblionumber.pl line 115."
Applying the patch, all works well:
- Select few record from search results,
- Add them to [ new list ],
- Give it a name and save,
=> The created list is viewable from opac and intranet, koha being on plack or not.
Signing off
Created attachment 8800 [details] [review] [Signed-off] Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 129. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 134. Variable "$newvirtualshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 135. Variable "$sortfield" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 136. Variable "$category" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 139. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 140. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 143. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 145. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 151. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 153. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 157. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 165. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 173. Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 178. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 180. Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 188. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 196. Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 204. Variable "$newshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 205. Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 206. Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 207. Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. Variable "$cookie" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. Can't call method "param" on an undefined value at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> 'my' to 'our' scope only changes. markign passed QA There have been no further reports of problems so I am marking this bug resolved. |