Reference detection fail

Peter Schubert's Avatar

Peter Schubert

17 Oct, 2016 09:34 AM

If a layout is used via calculation, IP6 do not detect the use and report 0 references !
Fatal, if i want to belive the reference count.

A layout "layout 2" is just used once with the step:

Go to Layout [Case ( Get ( ScriptParameter ) = 2; "layout 2"
   ; "layout 1" ) ]

the layout 2 has a reference count of 0

  1. 1 Posted by psc on 17 Oct, 2016 09:41 AM

    psc's Avatar


    Mac, 10.12.1 (Beta !)
    FMPA (DDR and working)
    InspectorPro 7/29/2016 6:51:45 PM - build 59

  2. 2 Posted by psc on 17 Oct, 2016 09:43 AM

    psc's Avatar

    Oh, additional info:

    The layout name use strange german umlauts ... maybe an issue ?

  3. Support Staff 3 Posted by Vince Menanno on 17 Oct, 2016 10:10 PM

    Vince Menanno's Avatar


    InspectorPro can you show you lots of information.

    If you look at a particular layout - you will see all the places where that LAYOUT is referenced.

    To be exact, in your example you are not referring to a layout but rather a string - a literal string. In quotes, that is also sometimes referred to as indirection. Note that you could even reference the layout name from values of 2 fields concatenated together. So it would be impossible for us determine the name of the layout. Yes we could guess when it is a string, but that would be the wrong assumption.

    However there is a view in the other section called Layout Destination.

    This is what it looks like. In the example below shows all the go to LAYOUT … by calculating the name. In your case it is a hard coded string. So there are 2 options you could do..

    1 - is go here to see all the places where you are using Go To Layout Name by calculation …
    2 - Do a search in the calculations for that string and see if it shows up and where.

    This other section I am mentioning about here is only available in an update that should be out this week or next.

    Hope this helps you.

  4. tonya_m closed this discussion on 15 Nov, 2016 08:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac