Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
  1. Home
  2. General
  3. Segment Code Bug Report

Segment Code Bug Report

Scheduled Pinned Locked Moved Unsolved General
6 Posts 2 Posters 473 Views 2 Watching
  • 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.
  • L Offline
    L Offline
    LEE JONG GUN
    wrote on last edited by
    #1

    Hello

    A "code" field was recently added to Segments. When using the Clone function, the code is also carried over (copied as-is) into the cloned segment, which prevents the clone from being saved.

    Since the code value should be unique, the cloned segment ends up with a duplicate code and cannot be saved.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JasonL
      bitHeads
      wrote on last edited by
      #2

      Good catch! Thanks for bringing this to our attention. We’ll fix it so that cloning a segment doesn’t copy and inactivate the code field, avoiding the duplicate-code issue and allowing the clone to be saved.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JasonL
        bitHeads
        wrote on last edited by
        #3

        Hi @LEE-JONG-GUN,

        Good news: the fix for the Segment code field clone bug has been deployed.

        What changed

        • When you clone a Segment now, the code field is automatically appended with _copy (e.g., myCode becomes myCode_copy).
        • The cloned segment's code field is editable, so you can change it to any unique value and save the clone successfully.

        This resolves the duplicate-code issue that was preventing clones from being saved. Thanks again for the report.

        L 1 Reply Last reply
        1
        • J JasonL

          Hi @LEE-JONG-GUN,

          Good news: the fix for the Segment code field clone bug has been deployed.

          What changed

          • When you clone a Segment now, the code field is automatically appended with _copy (e.g., myCode becomes myCode_copy).
          • The cloned segment's code field is editable, so you can change it to any unique value and save the clone successfully.

          This resolves the duplicate-code issue that was preventing clones from being saved. Thanks again for the report.

          L Offline
          L Offline
          LEE JONG GUN
          wrote on last edited by
          #4

          @JasonL Thanks for the update, and for getting this fixed.

          One follow-up: now that _copy is auto-appended, the resulting code can
          exceed the 12-character limit, and in that case the clone still can't be
          saved. For example, a code that's already 8+ characters will go over the
          limit once _copy is added.

          Ideally, the code field should be editable during the clone step itself,
          so the user can set a valid, unique code up front rather than relying on
          an auto-generated suffix that may already break the length limit.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JasonL
            bitHeads
            wrote on last edited by
            #5

            All fields are editable during the cloning step, and the Code field is also editable there. I’m not sure why it’s looking like the Code field isn’t editable for you, it should work the same whether it’s under or over the 12‑character limit.

            L 1 Reply Last reply
            0
            • J JasonL

              All fields are editable during the cloning step, and the Code field is also editable there. I’m not sure why it’s looking like the Code field isn’t editable for you, it should work the same whether it’s under or over the 12‑character limit.

              L Offline
              L Offline
              LEE JONG GUN
              wrote on last edited by
              #6

              @JasonL At the time I reported this, that field was locked too, so it couldn't be edited — but I've now confirmed that it's editable.

              1 Reply Last reply
              1

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Solved
              • Unsolved
              • Users