- Issue created by @tijsdeboeck
- Merge request !4Added uuid field type to barcode field formatter β (Merged) created by tijsdeboeck
- last update
about 1 year ago 7 pass - π§πͺBelgium tijsdeboeck Antwerp π§πͺ πͺπΊ π
I've added support for uuid field_type in the barcode field formatter. It is working for our use-case.
Quick tip: Since uuid doesn't have a default formatter at the moment, we found the uuid_extra β module very useful. It adds a regular formatter for UUID, so you can easily output the UUID as a regular uuid string, or as a barcode when using both modules.
- Status changed to Needs review
about 1 year ago 8:17pm 28 August 2023 - last update
about 1 year ago 7 pass - πΊπΈUnited States tr Cascadia
Thanks for the contribution.
In #3353094-3: Support Serial Field β I said that continually adding new field types is not really scalable, but the Uuid field is part of core, so perhaps we should at least support all the core fields that we can.Since Uuid is a subtype of a String field, and since we specify that this works for String fields, shouldn't core allow it to be used on Uuid fields? Uuid "is a" String. If the Barcode formatter can handle general unconstrained Strings, it can certainly handle subsets of the String type like Uuid.
Other String field types in core are 'string_long', 'uri', and 'password'
- π§πͺBelgium tijsdeboeck Antwerp π§πͺ πͺπΊ π
Hi TR, I understand that core should support this, but it doesn't at the moment (in views at least), see #3112256 β .
Since it is very simple, doesn't create any issues for this module, and uuid comes with core, I thought it would be a good idea to add support here (at least until core supports it).
- First commit to issue fork.
- last update
10 months ago 7 pass -
sanduhrs β
committed 9675328e on 2.0.x authored by
tijsdeboeck β
Issue #3383887 by tijsdeboeck: Support UUID field
-
sanduhrs β
committed 9675328e on 2.0.x authored by
tijsdeboeck β
- Status changed to Fixed
9 months ago 7:30pm 4 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.