AutoNotification upgraded to Oreo now notification content duplicated

Discussion in 'AutoApps' started by tboooe, Jan 13, 2018.

  1. tboooe

    tboooe Member

    Joined:
    Oct 20, 2017
    Messages:
    73
    Likes Received:
    1
    I just upgraded to Oreo and now all of my AN Table notifications are acting odd. All the text within the table doubled. For example, if I have a AN table with the text "Hello", I now get a notification with "Hello" twice in the same notification. This is how it looks:

    Hello
    Hello

    Any ideas why?
     
    Last edited: Jan 13, 2018
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  3. tboooe

    tboooe Member

    Joined:
    Oct 20, 2017
    Messages:
    73
    Likes Received:
    1
    Here is the description. By the way, I created a new table notification in a completely new task and the problem did not go away. As I mentioned in my other thread, I am on Oreo 8.0 running on a Huawei Mate 9. Line A67 is the table notification.

    Code (Text):
    Update Market Indices (38)
        A1: Spreadsheet Query [ Configuration:Query Investments Google Finance Timeout (Seconds):20 Continue Task After Error:On ]
        A2: Variable Set [ Name:%query_attempts To:0 Recurse Variables:Off Do Maths:Off Append:Off ]
        A3: Variable Add [ Name:%query_attempts Value:1 Wrap Around:0 ]
        A4: If [ %description(21) ~ %+ ]
        A5: If [ %query_attempts < 6 ]
        A6: Variable Add [ Name:%query_attempts Value:1 Wrap Around:0 ]
        A7: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
        A8: Goto [ Type:Action Number Number:1 Label: ]
        A9: Else
        A10: AutoNotification [ Configuration:Use HTML: true
    Title: <font color="red"><b>Failed to retrieve daily data</b></font>
    Icon: /storage/emulated/0/Download/51EkCUW10HL.png
    Status Bar Icon Manual: /storage/emulated/0/Download/51EkCUW10HL.png
    Status Bar Text Size: 16
    Priority: 0
    Visibility: Private
    Title Expanded: <font color="red"><b>Failed to retrieve data</b></font>
    Group Key: Fidelity
    Update Notification: true Timeout (Seconds):20 ]
        A11: Variable Set [ Name:%query_attempts To:0 Recurse Variables:Off Do Maths:Off Append:Off ]
        A12: Stop [ With Error:Off Task: ]
        A13: End If
        A14: End If
        A15: Flash [ Text:%query_attempts Long:On ]
        A16: Variable Set [ Name:%loop_counter To:21 Recurse Variables:Off Do Maths:Off Append:Off ]
        A17: Variable Set [ Name:%us_performance_index To:0 Recurse Variables:Off Do Maths:Off Append:Off ]
        A18: Variable Set [ Name:%global_performance_index To:0 Recurse Variables:Off Do Maths:Off Append:Off ]
        <US indices loop start>
        A19: If [ %loop_counter < 24 ]
        A20: If [ %last_price_change(%loop_counter) > 0 ]
        A21: Variable Add [ Name:%us_performance_index Value:1 Wrap Around:0 ]
        A22: Variable Set [ Name:%index_summary_color(%loop_counter) To:%Green Recurse Variables:Off Do Maths:Off Append:Off ]
        A23: Else If [ %last_price_change(%loop_counter) < 0 ]
        A24: Variable Subtract [ Name:%us_performance_index Value:1 Wrap Around:0 ]
        A25: Variable Set [ Name:%index_summary_color(%loop_counter) To:%Red Recurse Variables:Off Do Maths:Off Append:Off ]
        A26: End If
        A27: Variable Add [ Name:%loop_counter Value:1 Wrap Around:0 ]
        A28: Goto [ Type:Action Label Number:19 Label:US indices loop start ]
        A29: End If
        A30: If [ %us_performance_index = 3 ]
        A31: Variable Set [ Name:%us_market_summary_emoji To: Recurse Variables:Off Do Maths:Off Append:Off ]
        A32: Variable Set [ Name:%us_market_summary To:US markets are up Recurse Variables:Off Do Maths:Off Append:Off ]
        A33: Variable Set [ Name:%us_market_summary_color To:%Green Recurse Variables:Off Do Maths:Off Append:Off ]
        A34: Else If [ %us_performance_index = -3 ]
        A35: Variable Set [ Name:%us_market_summary_emoji To: Recurse Variables:Off Do Maths:Off Append:Off ]
        A36: Variable Set [ Name:%us_market_summary To:US markets are down Recurse Variables:Off Do Maths:Off Append:Off ]
        A37: Variable Set [ Name:%us_market_summary_color To:%Red Recurse Variables:Off Do Maths:Off Append:Off ]
        A38: Else
        A39: Variable Set [ Name:%us_market_summary_emoji To:↕️ Recurse Variables:Off Do Maths:Off Append:Off ]
        A40: Variable Set [ Name:%us_market_summary To:US markets are mixed Recurse Variables:Off Do Maths:Off Append:Off ]
        A41: Variable Set [ Name:%us_market_summary_color To:#000000 Recurse Variables:Off Do Maths:Off Append:Off ]
        A42: End If
        <Global indices loop start>
        A43: If [ %loop_counter < %description(#)+1 ]
        A44: If [ %last_price_change(%loop_counter) > 0 ]
        A45: Variable Add [ Name:%global_performance_index Value:1 Wrap Around:0 ]
        A46: Variable Set [ Name:%index_summary_color(%loop_counter) To:%Green Recurse Variables:Off Do Maths:Off Append:Off ]
        A47: Else If [ %last_price_change(%loop_counter) < 0 ]
        A48: Variable Subtract [ Name:%global_performance_index Value:1 Wrap Around:0 ]
        A49: Variable Set [ Name:%index_summary_color(%loop_counter) To:%Red Recurse Variables:Off Do Maths:Off Append:Off ]
        A50: End If
        A51: Variable Add [ Name:%loop_counter Value:1 Wrap Around:0 ]
        A52: Goto [ Type:Action Label Number:39 Label:Global indices loop start ]
        A53: End If
        A54: If [ %global_performance_index = 5 ]
        A55: Variable Set [ Name:%global_market_summary_emoji To: Recurse Variables:Off Do Maths:Off Append:Off ]
        A56: Variable Set [ Name:%global_market_summary To:Global markets are up Recurse Variables:Off Do Maths:Off Append:Off ]
        A57: Variable Set [ Name:%global_market_summary_color To:%Green Recurse Variables:Off Do Maths:Off Append:Off ]
        A58: Else If [ %global_performance_index = -5 ]
        A59: Variable Set [ Name:%global_market_summary_emoji To: Recurse Variables:Off Do Maths:Off Append:Off ]
        A60: Variable Set [ Name:%global_market_summary To:Global markets are down Recurse Variables:Off Do Maths:Off Append:Off ]
        A61: Variable Set [ Name:%global_market_summary_color To:%Red Recurse Variables:Off Do Maths:Off Append:Off ]
        A62: Else
        A63: Variable Set [ Name:%global_market_summary_emoji To:↕️ Recurse Variables:Off Do Maths:Off Append:Off ]
        A64: Variable Set [ Name:%global_market_summary To:Global markets are mixed Recurse Variables:Off Do Maths:Off Append:Off ]
        A65: Variable Set [ Name:%global_market_summary_color To:#000000 Recurse Variables:Off Do Maths:Off Append:Off ]
        A66: End If
        A67: AutoNotification Table [ Configuration:Title: %us_market_summary_emoji <font color="%us_market_summary_color">%us_market_summary</font>  |          %global_market_summary_emoji <font color="%global_market_summary_color">%global_market_summary</font>

    Texts:  : : : : :: %description(21): %last_price(21):  <font color="%index_summary_color(21)">%last_price_change(21)</font>: <font color="%index_summary_color(21)">%today_s_gain_loss_percent(21)</font>:: %description(22): %last_price(22):  <font color="%index_summary_color(22)">%last_price_change(22)</font>: <font color="%index_summary_color(22)">%today_s_gain_loss_percent(22)</font>:: %description(23): %last_price(23):  <font color="%index_summary_color(23)">%last_price_change(23)</font>: <font color="%index_summary_color(23)">%today_s_gain_loss_percent(23)</font>:: %description(24): %last_price(24):  <font color="%index_summary_color(24)">%last_price_change(24)</font>: <font color="%index_summary_color(24)">%today_s_gain_loss_percent(24)</font>:: %description(25): %last_price(25):  <font color="%index_summary_color(25)">%last_price_change(25)</font>: <font color="%index_summary_color(25)">%today_s_gain_loss_percent(25)</font>:: %description(26): %last_price(26):  <font color="%index_summary_color(26)">%last_price_change(26)</font>: <font color="%index_summary_color(26)">%today_s_gain_loss_percent(26)</font>:: %description(27): %last_price(27):  <font color="%index_summary_color(27)">%last_price_change(27)</font>: <font color="%index_summary_color(27)">%today_s_gain_loss_percent(27)</font>:: %description(28): %last_price(28):  <font color="%index_summary_color(28)">%last_price_change(28)</font>: <font color="%index_summary_color(28)">%today_s_gain_loss_percent(28)</font>
    Separator: :
    SubText: %account_name_number(20)
    Number of Columns: 5
    Cell Widths: 20,80,80,70,70
    Cell Height: 5,20,20,20,20,20,20
    Text Alignment: Right
    Manual Text Alignment: left,left, right, right, right
    Status Bar Icon: /storage/emulated/0/Download/modules_financial.png
    Big Icon: /storage/emulated/0/Download/stock-exchange-icon-png-1.png
    Text Color: #000000
    ID: Index
    Priority: Normal Timeout (Seconds):60 ]
     
    Last edited: Jan 15, 2018
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Thanks :) Can you please try disabling the "Update Notification" option? How does that work? Thanks!
     
  5. tboooe

    tboooe Member

    Joined:
    Oct 20, 2017
    Messages:
    73
    Likes Received:
    1
    I dont see this option for Table Notifications.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Oh, sorry, my bad. Does it also appear doubled if you don't have an AutoNotification notification present?
     
  7. tboooe

    tboooe Member

    Joined:
    Oct 20, 2017
    Messages:
    73
    Likes Received:
    1
    Yes, the content is doubled all the time for any Table Notification. Normal Autonotifications do not have this problem.
     
    Last edited: Jan 17, 2018
  8. tboooe

    tboooe Member

    Joined:
    Oct 20, 2017
    Messages:
    73
    Likes Received:
    1
    So am I the only one having this issue on Oreo?
     
  9. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    Hi,
    I have the same problem. Any news on that issue?

    Thanks,
    Hulzer
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Sorry for the delay... I can't get it to do this myself... Does a reboot change anything for you?
     
  11. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    Hi,

    a reboot changes nothing...

    Here's a screenshot with the duplicated content:
    [​IMG]
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Are you able to make the notification smaller by swiping up with 2 fingers?
     
  13. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    No, this does not work.
    I remember that sometimes I only get a collapsed notification but also duplicated when expanded.
     
    Last edited: Jun 20, 2018
  14. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    Sorry forget my last post... Swiping with 2 fingers does collapse it.
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    And does it look good then?
     
  16. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    Yes. Then I get the collapsed notification which looks ok.
     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Thanks, I'll try figuring it out, but it really does seem like a device specific issue :/
     
  18. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    Thanks.
    I also tried it with a simple table notification, with 1 row & 1 column. It's the same behaviour, it's duplicated.
     
  19. Bierfranken

    Bierfranken New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    0
    If I can help you debugging or run some tests - please let me know.
     
  20. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Thanks, I will
     

Share This Page