documentation-developer
documentation-developer copied to clipboard
Wrong yaml config in "Create custom taxonomy" example
| Question | Answer |
|---|---|
| JIRA Ticket | N/A) |
| Versions | 4.6 |
| Edition | Experience |
This is fix for the page : https://doc.ibexa.co/en/latest/content_management/taxonomy/taxonomy/#customize-taxonomy-structure
The docs instructs you to name that field "name", but this doesn't match the config presented : https://github.com/ibexa/documentation-developer/blob/bb643999f925210719dc995b6839d616d8c87354/docs/content_management/taxonomy/taxonomy.md?plain=1#L50
Note that the instructions still doesn't work as listed due to IBX-8420
Work-around is to do this after the content type with content_category identifier as been created:
- Comment out new taxonomy config in yaml
- Attempt to create that "root" content in admin-ui. Draft will be created, but TaxonomyNotFoundException will be thrown due to missing yaml config. So you won't be able to edit and publish the draft
- Re-enable yaml config
- Go to dashboard
- Edit draft of the "Content category" which was just created
Then continue from "Finish taxonomy setup by creating a new Content category (...)" as described in the docs
Not sure if we should add the bullet list above to the documentation until IBX-8420 has been fixed?
Checklist
- [ ] Text renders correctly
- [ ] Text has been checked with vale
- [ ] Description metadata is up to date
- [ ] Redirects cover removed/moved pages
- [ ] Code samples are working
- [ ] PHP code samples have been fixed with PHP CS fixer
- [ ] Added link to this PR in relevant JIRA ticket or code PR
Preview of modified files: no change to preview.
code_samples/ change report
| Before (on target branch) | After (in current PR) |
|---|---|
|
|
|
|
|
|
|
|
|
|