6.0.0-git
2019-03-19

[#2787] "New Item" link broken on wishlist summary in portal view
Summary "New Item" link broken on wishlist summary in portal view
Queue Genie
Type Bug
State Resolved
Priority 1. Low
Owners
Requester s_gatterbauer (at) idlm (dot) net
Created 2005-10-14 (4904 days ago)
Due
Updated 2005-10-16 (4902 days ago)
Assigned
Resolved 2005-10-16 (4902 days ago)
Milestone
Patch No

History
2005-10-16 23:23:19 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS
2005-10-14 19:21:43 s_gatterbauer (at) idlm (dot) net Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ "New Item" link broken on wishlist summary in portal view
Queue ⇒ Genie
Reply to this comment
on the first entry - after login - the link "New Item" on the wishlist summary

in the portal view leads correctly to  /horde/genie/item.php?actionID=101

after coming back from any Horde application (i.e. imp or genie itself)

the link is changed to not working   
/horde/genie/item.php?actionID=GENIE_ADD_ITEM

and the following PHP Notice is written to the log :

Use of undefined constant GENIE_ADD_ITEM - assumed 'GENIE_ADD_ITEM' in 
/usr1/htdocs_ssl/horde/genie/lib/Block/summary.php on line 18



modifying line 18 of horde/genie/lib/Block/summary.php  from

  Horde::link(Horde::applicationUrl('item.php?actionID=' . 
GENIE_ADD_ITEM, true)) ...............

to

  Horde::link(Horde::applicationUrl('item.php?actionID=101', true)) 
...............

solves the problem - I am not familiar with php, so this is just my 
simple solution.


Saved Queries