Skip to content

Conversation

@sudwebdesign
Copy link

@sudwebdesign sudwebdesign commented Jun 3, 2025

See Notification Tag saved in french
Bug: Tag enregistré !

Screenshot 2025-06-03 at 01-36-36 Vvveb - Notification Tag saved html entities error

Fix: Tag enregistré !

Screenshot 2025-06-03 at 01-39-05 Vvveb - Notification Tag saved html entities Fix OK

Sometime less is more... & Think K.I.S.S.

Note: not fully tested with all marvelous possibilities of Vvveb...
I share this commit just in case.

N.B.:

Tested to replace urldecode with urlencode but fail in numerous link (edit/design btns)

See Notification Tag saved in french
Bug: Tag enregistré !
Fix: Tag enregistré !

Sometime less is more...
@sudwebdesign
Copy link
Author

sudwebdesign commented Jun 3, 2025

Maybe this is a bad fix note: the notification html entity become only when save a new tag

after givanz/vvveb-admin-template#3 & #307 (in my case)

After save a new TAG redirect to admin/index.php?module=content/tag&taxonomy_item_id=13&taxonomy_id=5&type=product&success=Tag enregistré%C2%A0! and after save with (same) url Vvveb show twice notification:

Screenshot 2025-06-03 at 01-36-36 Vvveb - 2 Notifications new Tag resaved

With this PR or not !

How to reproduce

  • Add a new tag > save (One notification) > (Re)Save (two notifiactions) 1st from url & 2nd from controller

@sudwebdesign
Copy link
Author

Reopened because after little test nothing go wrong (for the moment...)

I continue the tests

@sudwebdesign sudwebdesign changed the title [Fix] system url function show html entities in notifications [KISS] system url function helper : no urldecode Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant