HISE Logo Forum
    • Categories
    • Register
    • Login

    silent failure in File Name Pattern Settings using unequal number of tokens

    Scheduled Pinned Locked Moved Bug Reports
    3 Posts 2 Posters 985 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      elanhickler
      last edited by

      let's say you have tokens
      alt text

      and you use a preset such as

      <?xml version="1.0" encoding="UTF-8"?>
      
      <settings Separator="_">
        <panel Property="Ignore Token" DataType="Ignored" Items="" Values=""/>
        <panel Property="Ignore Token" DataType="Ignored" Items="" Values=""/>
        <panel Property="Single Key" DataType="Number" Items="" Values=""/>
        <panel Property="RR Group" DataType="Custom" Items="rr1 rr2 rr3 rr4"
               Values="1 2 3 4"/>
      </settings>
      

      the above fails to set File Name Pattern Settings.

      this does not fail:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <settings Separator="_">
        <panel Property="Ignore Token" DataType="Ignored" Items="" Values=""/>
        <panel Property="Ignore Token" DataType="Ignored" Items="" Values=""/>
        <panel Property="Single Key" DataType="Number" Items="" Values=""/>
      </settings>
      

      Just because there are different number of token entries does not mean you shouldn't set the settings. We shouldn't have to have a setting for every number of possible tokens.

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Yes that is reasonable. You'll get a warning that the token amount is not matching but if you press OK it will use what's there.

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          All right this is fixed (along with some other minor improvements of this dialog)

          1 Reply Last reply Reply Quote 2
          • First post
            Last post

          43

          Online

          1.7k

          Users

          11.7k

          Topics

          101.9k

          Posts