[MGNLUI-5770] Can't edit content in a content-app without i18n enabled Created: 26/Mar/20  Updated: 09/Apr/20  Resolved: 09/Apr/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: 6.2.1

Type: Bug Priority: Neutral
Reporter: Jorge Franco Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.15h
Original Estimate: Not Specified

Attachments: PNG File Captura de pantalla 2020-03-27 a las 15.03.07.png     PNG File Captura de pantalla 2020-03-30 a las 12.50.07.png     File config.modules.site.config.site.yaml    
Issue Links:
Relates
relates to MGNLUI-5772 Streamline/revisit implementations of... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: UI framework implementation
Sprint: UI Framework 21
Story Points: 2

 Description   

In community edition, when try to edit content created in a content app, detail sub app appears with blank content. For example with:

 

contentTypes/news.yaml

datasource:
  workspace: news
  namespaces:
    mi: https://www.magnolia-intranet.com/jcr/1.0/mi
  autoCreate: true

model:
  nodeType: mi:news
  properties:
    - name: created
      type: Date
    - name: title
    - name: author
    - name: content
      type: richText
    - name: image
      type: asset

apps/news-app.yaml

!content-type:news
name: news-app


 Comments   
Comment by Jorge Franco [ 27/Mar/20 ]

Martin suggested very easy workaround, in definition of contentTypes use !content-type-m5 instead of !content-type

Comment by Jorge Franco [ 30/Mar/20 ]

I have made two changes in configuration to setup a default language. One under config/modules/site/config, other in server/i18n/content, file to import and screenshot in ticket with them.

 

I have attached config.modules.site.config yaml file. Config of server/i18n/content maybe can be optional.

Generated at Mon Feb 12 09:29:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.