Bug Report: Can't print a specific list

Discussion in 'Infinity Army' started by Captain Spud, Apr 26, 2018.

  1. Captain Spud

    Captain Spud Maker of Things

    Joined:
    Nov 23, 2017
    Messages:
    149
    Likes Received:
    904
    I've discovered a reproducible bug in Army that creates a broken unit profile and disables the print buttons. Thanks to Steven Flagg Jr. on the WGC Infinity Facebook group for helping me figure it out. :)
    1. Create a Tohaa list.
    2. Add an 86pt Gorgos to the list.
    3. Right-click the Gorgos in your army list and swap it out for the 82pt Gorgos.
    4. Click the Print or Courtesy list buttons-- the print dialog doesn't appear, and instead, the following shows up in the error console:
    Code:
    A6_compilado.js:4 Uncaught TypeError: Cannot read property 'split' of undefined
        at imp_unidad (A6_compilado.js:4)
        at imprime_lista (A6_compilado.js:4)
        at HTMLDivElement.<anonymous> (A6_compilado.js:8)
        at HTMLDivElement.dispatch (jquery-2.2.3.min.js:3)
        at HTMLDivElement.r.handle (jquery-2.2.3.min.js:3)
    Props to Steven for noticing the specific problem-- if you follow the steps above, the Gorgos profile only includes the group cost of 82 and the Chaksa, but not the Gorgos itself:

    [​IMG]

    If you remove the Gorgos and re-add directly from the unit menu, all three entries and point costs now appear, and the list prints correctly:

    [​IMG]

    So it's specifically exchanging one profile for the other one that breaks it.

    Oh, and a fun bonus: once you break your Gorgos, you can pass it to someone else via an Army Code, and it will arrive broken on their end as well. Try pasting this list to see it yourself:
    • BwBgjAPgzCIQQgUwDbIJYHNECdEDsAXAAgDFkB7bAQwjACYBSANgFYB2BmO4BgQjBbMmIBnW5Q+YACzMWATlHdGvOiLZgFdKVAkq1G0dsH9mUpoqjGwp82Kjn+PNiA5aXkp+7cde51ta4ZAAEQoA
    So, yeah. This should probably be looked at. :P
     
  2. Robock

    Robock Well-Known Member

    Joined:
    Nov 24, 2017
    Messages:
    1,246
    Likes Received:
    858
    wait, what ?? wow!!! all that time I spent replacing loadout the old way (adding the new one to the list and removing the old one) and dragging back the model to the place I wanted it to be ordered!
     
  • About Us

    We are a company founded in 2001 in Cangas (Spain), and devoted to design and manufacture games and figures. Our main product, Infinity the Game, was born with the ambition to satisfy the most demanding audience, offering the best quality.

     

    Why are we here?

     

    Because we are, first and foremost, players.

  • Quick Navigation

    Open the Quick Navigation