Error in NAML

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in NAML

Coleen_Astalos
When I go into "Edit this page", I get an immediate error that says...
Error Found
An error was found in the NAML code of this application – Hide Details | Go to NAML Editor
macro or method for 'reply_to_author_path' not found in [basic, nabble, ad, instant_mail, node_page, subscription_list, block, email] stack = [basic, nabble, ad, node, node_poll, instant_mail, node, node_poll, node_page, subscription_list, subscription, block, email]
  in reply_to_author_path(custom_tweak:send_subscription_email:9) - <n.reply_to_author_path/>
  in send(custom_tweak:send_subscription_email:6) - <n.send> - public void nabble.view.web.template.EmailNamespace.send(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.model.ModelException$EmailFormat
  in new_email(custom_tweak:send_subscription_email:5) - <n.new_email.> - public void nabble.view.web.template.NabbleNamespace.new_email(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in block(custom_tweak:send_subscription_email:4) - <n.block.> - public void nabble.naml.namespaces.BasicNamespace.block(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in send_subscription_email(nabble:email.naml:30) - <n.send_subscription_email
  node_attr = "[n.page_node/]"
  text_part = "[n.local_subscription.instant_text/]"
  html_part = "[n.local_subscription.instant_html/]"
  />
  in send_instant_email(nabble:email.naml:8) - <then.current_subscription.send_instant_email />
  in current_subscription(nabble:email.naml:8) - <then.current_subscription.send_instant_email /> - public void nabble.view.web.template.SubscriptionNamespace$SubscriptionList.current_subscription(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in if(nabble:email.naml:7) - <n.if.current_subscription.user.should_get_instant_mail> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in do(nabble:utilities.naml:911) - <n.do/>
  in while(nabble:utilities.naml:909) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in loop(nabble:email.naml:6) - <n.subscription_list.loop.>
  in subscription_list(nabble:email.naml:6) - <n.subscription_list.loop.> - public void nabble.view.web.template.InstantMailNamespace.subscription_list(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in instant_emails(nabble:email.naml:2) - <n.get_instant_emails.new_node.as_node_page.instant_emails />
  in as_node_page(nabble:email.naml:2) - <n.get_instant_emails.new_node.as_node_page.instant_emails /> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in new_node(nabble:email.naml:2) - <n.get_instant_emails.new_node.as_node_page.instant_emails /> - public void nabble.view.web.template.InstantMailNamespace.new_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in get_instant_emails(nabble:email.naml:2) - <n.get_instant_emails.new_node.as_node_page.instant_emails /> - public void nabble.view.web.template.NodeNamespace.get_instant_emails(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in (nabble:email.naml:1) - <macro name="notify_subscribers" requires="node"> 
If I go to "Customized Macros" it's showing None (where I do have several customized macros).

Is this related to the reply/reply-all feature you were trying to set up for me?
Thanks,
Coleen

Reply | Threaded
Open this post in threaded view
|

Re: Error in NAML

Pedro
What did you do before it? It is something that you have done at send_subscription_email line 9.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Error in NAML

Pedro
Remove that "reply_to_author_link".
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Error in NAML

Coleen_Astalos
This post was updated on .
Thanks.  That was leftover from when I was trying to do the reply to the sender instead of the forum address.  I thought I had removed that mod, but apparently not (and it didn't work).