[
https://issues.apache.org/jira/browse/ISIS-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026833#comment-15026833
]
Cesar Lugo commented on ISIS-1247:
----------------------------------
Hello, I originally prepared an example and provided some directions to
reproduce the error:
I created a sample repository to show the issue, on github:
https://github.com/cesarlugosis/isisbusinesstest2
After you download the repository, run the app, and then when in the wicket
viewer (standard sven user), follow these steps:
1) Using the businessSubscriptions menu on the left, create a new
businessSubscription (Add Subscription option). Use any numeric values for both
parameters, like 1 and 30. This will show a newly created subscription with all
fields organized in 3 sections aligned horizontally, according to
BusinessSubscription.layout.json under dom's domainapp.dom.simple.businesses
pack.
2) Now go to the Prototyping menu, select the option "Switch to Reading
Translations"
3) Go back to the businessSubscriptions menu, now select the option to list all
business subscriptions (now in Spanish, "Lista las Subscripciones de
Negocios"). It will show the businessSubsciption, but now the layout is lost,
showing it with the default Isis wicket viewer layout. Yo might need to refresh
the businessSubscription to force it reload.
4) If you go back to "Switch to Writing Translations" and list all
businessSubscriptios again, the layout comes back. Again, Yo might need to
refresh the businessSubscription to force it reload.
I hope this helps you to see the issue, or if not an issue.
Cesar.
> .layout.json file not found if i18n is enabled ... uses the translated name
> to lookup the file.
> -----------------------------------------------------------------------------------------------
>
> Key: ISIS-1247
> URL: https://issues.apache.org/jira/browse/ISIS-1247
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.10.0
> Reporter: Dan Haywood
> Assignee: Jeroen van der Wal
> Fix For: 1.11.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)