Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
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 (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Bug Reports
  3. Fixed
  4. After a tag is added to an object via the add tag behavior other behaviors still can’t access it by that tag.

After a tag is added to an object via the add tag behavior other behaviors still can’t access it by that tag.

Scheduled Pinned Locked Moved Fixed
4 Posts 4 Posters 909 Views 1 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.
  • T-StudiosT Offline
    T-StudiosT Offline
    T-Studios
    wrote on last edited by T-Studios
    #1

    iPad Model: iPad air 1
    iOS version: 11.3
    hyperPad Version: 1.23
    Description: If you add a tag to an object by using the add tag behavior other behaviors will still not consider it when performing actions on all objects with that tag.
    Steps to reproduce: Use the add tag behavior to add a tag to an object. Then, use another behavior of any type to perform an action with all objects containing that tag. It will not affect the object which you added the tag to.
    Additional info: Below I attached a link to a project demonstrating this. All behaviors are located in the graphic I placed on the center of the screen. In this project I add a tag to an object, then attempt to remove all objects with that tag. Nothing happens.

    Interestingly, the “get objects by tag” behavior still returns an objects ID if you try it with the tag.

    Project: http://bit.ly/2NwWFdK

    1 Reply Last reply
    0
    • RobinsonXR Offline
      RobinsonXR Offline
      RobinsonX
      wrote on last edited by
      #2

      Yeah... This is a weird bug..

      Though, there's a way around this. Every time you want to reference a group of objects with a custom tag, you can use the "get objects by tag" behavior every time and use it in a behavior. If you want to use a tag in a loop, simply set an array with the output of the "get objects by tag" behavior, since the behavior outputs json. You can get the array count and loop through each individual object ID in the array.

      Though there are ways around this, it's very inconvenient and time consuming if we are repeating these behaviors. Besides, it's probably killing performance.

      1 Reply Last reply
      0
      • HamedH Offline
        HamedH Offline
        Hamed
        Admin
        wrote on last edited by
        #3

        @t-studios said in After a tag is added to an object via the add tag behavior other behaviors still can’t access it by that tag.:

        ior to add a tag to an object. Then, use another behavior of any type to perform an action with all objects containing that tag. It will not affect the object which you added t

        I believe we've fixed this. However, your example is trying to add the tag to the same tag. No other objects had this tag so it did nothing.

        1 Reply Last reply
        0
        • MurtazaM Offline
          MurtazaM Offline
          Murtaza
          Admin
          wrote on last edited by
          #4

          Fixed in 1.24

          1 Reply Last reply
          0

          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
          • Users
          • Search