6.0.0-beta1
8/15/25

[#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 10/14/2005 (7245 days ago)
Due
Updated 10/16/2005 (7243 days ago)
Assigned
Resolved 10/16/2005 (7243 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/16/2005 11:23:19 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS
10/14/2005 07:21:43 PM s_gatterbauer (at) idlm (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
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