Method Community

 

Possible bug in Activity Comments HTML

Last post 06-08-2015 8:52 AM by Method_Audisho. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 06-05-2015 11:41 AM

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Possible bug in Activity Comments HTML

    I'm inserting a followup activity from a Web Form. Here is the Expression I'm using.


    This is the results I get when I View in Show Message


    This is what I get in Activity List

    But this is what I get in Edit Activity


    It displays fine in Opportunities

    Works fine when you go to view activity from Opportunity

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 11:59 AM In reply to

    Re: Possible bug in Activity Comments HTML

    Hi Mahlon,

    It looks like that extra line is where BillAddressAddr3 would go if it contained a value. What happens if you remove the logic for adding BillAddressAddr3 in the character function? Are you still unable to get a “<br>” tag to function properly? What about if you replace your “<div>” & “</div>” tags with “<p>” & “</p>”?

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-05-2015 12:04 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Possible bug in Activity Comments HTML

    Line 3 is not always used. In that case the div tagas usually remove the line.

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 1:04 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Possible bug in Activity Comments HTML

    Another thing, if you open the Activity in the Edit Activity screen, and close it. later it looks like this.

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 2:39 PM In reply to

    Re: Possible bug in Activity Comments HTML

    Hi Mahlon,

    If you check the source code from the Insert tab of the text editor, you will notice that it is replacing your “<div></div>” with “<div>&nbsp;</div>”. I believe that this is what is causing the extra blank line. I have created a ticket for the development team to investigate and will keep you posted with any updates via this thread.

    I have not been able to replicate the last issue that you described. Returning to the activity and saving numerous times results in the same layout with the <div> tags still in tact. Can you replicate this and check the source code of the comments? Are your tags being removed?

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-05-2015 2:41 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Possible bug in Activity Comments HTML

    Try accessing the activity through the opportunity.

    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-05-2015 3:17 PM In reply to

    Re: Possible bug in Activity Comments HTML

    mahlonf:

    Try accessing the activity through the opportunity.

    I'm still not able to replicate this.

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-05-2015 3:42 PM In reply to

    • mahlonf
    • Top 10 Contributor
    • Joined on 09-28-2012
    • Stevens, PA
    • Posts 879

    Re: Possible bug in Activity Comments HTML

    Here is what it looks like


    Here is the source code


    Mahlon L Fisher
    Computer Bookkeeping Solutions
    www.combooksolutions.com
  • 06-08-2015 8:52 AM In reply to

    Re: Possible bug in Activity Comments HTML

    Hi Mahlon,

    I put together a quick character function in an attempt to replicate this.

    Even using this character function to insert the activity comments and navigating to the activity via the opportunity, I am still unable to replicate this behaviour. The HTML displays as it should with the exception of “&nbsp;” within the blank div tag, for which I have already created a ticket.

    With regard to the extra line being displayed, I recommend that you instead use a conditional statement and 2 different character functions. 1 for when a BillAddressAddr3 exists and 1 for when it does not. I also recommend separating these using “<br>” instead of nesting them in a div.

    I hope this helps.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
Page 1 of 1 (9 items)