Feature chain printing using qualified name

I’m having an issue with the textual notation output of feature chains.
I’m trying to reproduce something like this:

package Package {
    part def PartDef {
        action theAction;
    }

    part myPart {
        part subPart : PartDef;

        part performingPart {
            perform subPart.theAction;
        }
    }
}

However, in some cases Syside Automator prints the last chain in the feature as a fully qualified path:

package Package {
    part def PartDef {
        action theAction;
    }

    part myPart {
        part subPart : PartDef;

        part performingPart {
            perform subPart.Package::PartDef::theAction;
        }
    }
}

Which returns the following error the next time I’m trying to load the model:
error (reference-error): No Namespace named 'Package' found

Unfortunately I was not able to produce Python code to reproduce this in this isolated case.
Maybe it is an easy fix to ensure that when printing a feature chain, only the names are printed?

Greetings,
Jasper

Thanks for the report. I have changed relative references to always be printed as unqualified identifiers in the next release. Previously it relied on reference shortening through inheritance which could fail in some cases.

1 Like