aleksandar_trif
Returning Observer

Rules void (canceled, anulled) when section is pasted as a reference

Hello Community,

When using Rules to "Show/Hide" elements is clear to me, and I wrote it. But, error happens when I paste a section as a reference, and rules are abolished (canceled).

I tried to used preset="copy" and preset="default" on all input components and nothing is fixing this issue.

Example:

367093_pastedImage_0.png

When First input component is filled, others are hidden.

367280_pastedImage_1.png

This works fine on a section in Page content, but when I want to paste section as a reference, rules are non existing and all components are visible

367281_pastedImage_2.png

367282_pastedImage_3.png

Is there a possibility to prevent this behaviour, maybe something to do with RULES and/or INPUT COMPONENTS ?

Best regards

Alex

0 Kudos
7 Replies
StefanSchulz
I'm new here

Hi Alex,

So, if I understand correctly, it seems that rules are not applied when using a section reference, yes?

As the SiteArchitect is not meant as client for editors, could you check, whether this is an issue in the ContentCreator as well?

Please, report your findings including information about your setup to our Technical Support, as it looks like an error to me.

Thanks and best regards

Stefan

0 Kudos
rmx
Returning Observer

Hi Stefan and Alex,

I have the same issue. Here are my findings:

:smileycheck: In ContentCreator my rules are handled correctly with the referenced section!

:smileyminus: In my Case my Ruleset does only work in my primary language DE. In EN ist does not work properly. Neither in the section nor in the referenced section 

BTW: I opened an issue with ContentCreator because referenced sections are not handled correctly by copying. Therefore an editor has to use SiteArchtiect to properly work with referenced sections. Just saying 🙂

0 Kudos

Hi Roman,

Rules only working in one language sounds strange. Would be helpful to see the rules, though.

Best regards

Stefan

0 Kudos
rmx
Returning Observer

Hi Stefan,

we have two CMS_GROUPS with the name of cta and button. They should only be visible if st_button_target has the appropriate value.

<RULES>

  <RULE>

       <WITH>

            <EQUAL>

                 <PROPERTY name="ENTRY" source="st_button_target"/>

                 <TEXT>cta</TEXT>

            </EQUAL>

       </WITH>

       <DO>

            <PROPERTY name="VISIBLE" source="#form.cta"/>

       </DO>

  </RULE>

  <RULE>

       <WITH>

            <EQUAL>

                 <PROPERTY name="ENTRY" source="st_button_target"/>

                 <TEXT>form</TEXT>

            </EQUAL>

       </WITH>

       <DO>

       <PROPERTY name="VISIBLE" source="#form.button"/>

       </DO>

  </RULE>

</RULES>

Any clues?

All the best,

Roman

0 Kudos

Hi Roman,

ok, no clue. This looks like a very simple ruleset and should work in any language. This would require a more detailed analysis of the project and whether we can reproduce this behaviour to detect a potential bug.

Cheers

Stefan

0 Kudos
rmx
Returning Observer

Hi StefanSchulz,

that's what I thought.

See our two screenshots. In DE the rule is working as expected (only button is visible). in EN both Groups (cta & button) are visible. Therefore, the ruleset is not working properly.

Please investigate!

Bildschirmfoto 2020-11-23 um 11.47.33.pngBildschirmfoto 2020-11-23 um 11.47.54.png

0 Kudos

Hi Roman,

It looks broken and seems to be a case that should be reported to Technical Support, including all information necessary to reproduce the issue.

Best regards

Stefan

0 Kudos