Hi everyone, Hi flocondetoile,
I use your modules to manage a multisite for a french university.
Problem/Motivation
The webmasters of micro sites create nodes they sometimes want to preview. To preview their node before publish it, a micro-path is generated based on node title. When saving the node, it generates a new path also based on node title then the path ends with "-0" because the proper path is already taken.
The first path generated by the preview has "/" as source URI.
The second one has the good URI "node/{nid}"
We have to go (as administrator) to micro_path list to delete the wrong micro_path (first one) and edit node again.
To reproduce
- micro_node (8.x-1.0-alpha6), micro_site (8.x-1.0-alpha7)
- Create a node on a micro-site.
- Preview node before saving content.
- Save content
- Go to micro_path list /admin/config/micro_site/micro_path/list
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3203813-3.patch | 619 bytes | flocondetoile |
| bug_micro_node.png | 34.22 KB | lilyanah_cz |
Comments
Comment #2
flocondetoileProbably because the preview feature "save" a clone of the node to be able to preview it. This needs to be handle effectively.
Comment #3
flocondetoileThis should do the trick
Comment #4
flocondetoileComment #6
flocondetoile