[MGNLUI-2997] Import action is disabled in stk/site definitions Created: 19/Feb/14  Updated: 07/Jul/14  Resolved: 23/Jun/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.7, 5.3.1

Type: Bug Priority: Neutral
Reporter: Jan Haderka Assignee: Karel Nedoma
Resolution: Fixed Votes: 0
Labels: trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Date of First Response:

 Description   

when you go to admin central and open STK/Site definitions it is not possible to import new site definition because import action is disabled.



 Comments   
Comment by Jaroslav Simak [ 13/Jun/14 ]

Reopened:

  • since you've fixed it in ui, move this issue to the ui pls
  • set correct fix version(s)
Comment by Karel Nedoma [ 13/Jun/14 ]

commit: https://git.magnolia-cms.com/gitweb/?p=magnolia_ui.git;a=commit;h=5f944d76419b5a845ab0b49c6b4278565750d4e1

Comment by Karel Nedoma [ 13/Jun/14 ]

missing Update Task

Comment by Roman Kovařík [ 18/Jun/14 ]

Reopen:

  • The task name isn't explanatory. I would suggest e.g. 'Allow import action at root level in configuration and STK apps'
  • Different property type:
    • Root property in the bootstrap file is of type String:
      <sv:property sv:name="root" sv:type="String">
    • update task adds boolean property true:
      new NewPropertyTask("", UI_ACTIONS_IMPORT + "/availability", "root", true)
      Should by Boolean in both cases. Although it works, the migration tests would fail with this difference.
  • You should use NodeBuilder task instead of multiple tasks for creating path/property to create such node structure.
  • Please wrap tasks to multiple lines so it's more readable.
Generated at Mon Feb 12 09:02:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.