digideskio / zotonic

Automatically exported from code.google.com/p/zotonic
0 stars 0 forks source link

Error then using "add internal link" search in tinyMCE in /admin/edit/1 #133

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. go to edit any page e.g. /admin/edit/1
2. use tintMCE editor
3. press the button "add internal link"
4. Type part of the name of existing page

Expected output:
Drop-down list with links to pages

What do you see instead?
HTTP 500 in firebug with...

webmachine error: path="/postback"
{error,{error,function_clause,
              [{z_utils,js_escape,
                        [{trans,[{en,<<"My page 1 caption">>}]},[]]},
               {action_admin_zlink,render_action,4},
               {z_render,render_actions,4},
               {action_base_event,render_action,4},
               {z_script,'-get_script1/1-fun-1-',2},
               {lists,foldl,3},
               {z_script,get_script1,1},
               {resource_postback,process_post,2}]}}

What version of the product are you using? On what operating system?
0.6.0-HG latest

Original issue reported on code.google.com by hellla...@gmail.com on 17 Jan 2011 at 9:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Can you still reproduce this? did you "make" zotonic after updating?

Original comment by scherpenisse on 11 Feb 2011 at 8:31

GoogleCodeExporter commented 8 years ago
Minute ago i've redone following steps:

hg pull

hg up -r tip

hg sum
parent: 1609:f0fc2f8eccb9 tip
  mod_menu - support for multiple menu's per site.

make clean
make
./start.sh

After, in browser i gone to /admin/edit/1
Ctrl+F5 in browser to flush cached JS.
Pressed "add internal link" in tinyMCE.
Typed "sc" in dialog appeared.

And in console I see:

=ERROR REPORT==== 11-Feb-2011::11:35:33 ===
webmachine error: path="/postback"
{error,{error,function_clause,
              [{z_utils,js_escape,[{trans,[{en,<<"Quickstart Guide">>}]},[]]},
               {action_admin_zlink,render_action,4},
               {z_render,render_actions,4},
               {action_base_event,render_action,4},
               {z_script,'-get_script1/1-fun-1-',2},
               {lists,foldl,3},
               {z_script,get_script1,1},
               {resource_postback,process_post,2}]}}

So, issue is still here.

Original comment by hellla...@gmail.com on 11 Feb 2011 at 8:44

GoogleCodeExporter commented 8 years ago
This issue was closed by revision b397d3e233.

Original comment by scherpenisse on 25 Feb 2011 at 10:50

GoogleCodeExporter commented 8 years ago
Thanks for reporting! it has been fixed in default and release-0.6.x branch.

Original comment by scherpenisse on 25 Feb 2011 at 10:51

GoogleCodeExporter commented 8 years ago
Still reproducible with zotonic-0.6.0.zip file from downloads page.

Original comment by vsviri...@gmail.com on 5 Jul 2011 at 9:12

GoogleCodeExporter commented 8 years ago
True. We should really release a 0.6.1 version very soon.

Original comment by scherpenisse on 5 Jul 2011 at 9:22

GoogleCodeExporter commented 8 years ago
The current 0.6 tip should be quite stable.  We have been running production 
with multiple sites on that tip.
Shall we release it as-is?  So that there is a more stable 0.6 for those of us 
that can't use 0.7 immediately?

Original comment by ma...@pobox.com on 5 Jul 2011 at 9:57