Either:
A red alert:
Step 1 Failed: Another category with the same parent category has the same alias (remember it may be a trashed item).
Labels |
Added:
?
|
And what happens if the user removes the sample data manually and wants to install it again?
Or wants to install it twice in different languages (which is perfectly fine and works).
Don't get me wrong. I don't want to shoot this down. But it was discussed already when we introduced this module and we didn't find a solution that would work.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-04 08:53:11 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_Date | 2019-03-04 08:53:11 | ⇒ | 2019-03-04 08:53:12 |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23633
closed on Base of Comment above.
Status | Closed | ⇒ | New |
Closed_Date | 2019-03-04 08:53:12 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
In J4 users get only blog sample data. If the user tries to install again, an appropriate message appears as requested.
Display a more appropriate message such as stating they've already installed it.
Hopefully we find a better solution for J5
Actually it is pretty easy to resolve
in the sample data add a step that unpublished the sample data plugin
or
Update the plugin code so that it can be disabled and still published then
in the sample data add a step that disables the install button of the sample data plugin
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-11-14 20:21:14 |
Closed_By | ⇒ | Hackwar |
Doesn't work because we have no way of tracking which sample data is installed. Even if we would track it (in a database), we wouldn't know if the installed sample data still is the original one or if it got deleted or whatever.
The only error we can get is that the category already exists, for whatever reason (sample data already installed or category manually created with same name). And that we do.