[
https://issues.apache.org/jira/browse/CAUSEWAY-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18060981#comment-18060981
]
Andi Huber commented on CAUSEWAY-3971:
--------------------------------------
*Analysis so far:*
There is only *one* instance of ObjectSpecification per DomainObject class.
When a layout gets loaded the first time a bunch of layout related Facets
within said ObjectSpecification receive an update to reflect layout data from
this new layout.xml.
Those layout related facets are stateful and there state depends on the layout
that was last loaded.
Hence, layout switching does not work as desired. Even worse, in a multi-user
environment all sorts of weird layout issues might occur, not only related to
member hiding.
> [Wicket Viewer] Switching between Layout Variants may result in Members
> staying hidden
> --------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3971
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3971
> Project: Causeway
> Issue Type: Bug
> Components: Core, Viewer Wicket
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Labels: end-user-visible
> Fix For: 4.0.0
>
>
> If layout A hides certain members which B does not, then switching from A to
> B results in those members staying hidden. Reproducible in PRODUCTION and
> PROTOTYPING mode.
> (backport to v2 is desired)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)