Timeline for Glass Sitecore Service save object for multilist resulting in 'Item not in list' warning
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 25, 2016 at 13:00 | vote | accept | Rondel | ||
Oct 24, 2016 at 16:21 | comment | added | Akshay Mahajan | @Rondel - Could you please try to override a method for .ToString() which converts your guid alphabet characters to uppercase and before you save the item call yourGuid.ToString() with the override that you just defined. I believe you could also try Guid.ToString().ToUpper() without overriding anything | |
Oct 24, 2016 at 15:51 | answer | added | Santiago Morla | timeline score: 4 | |
Oct 24, 2016 at 15:06 | comment | added | Rondel | @MichaelEdwards Yes if I switch the raw values to the uppercase version of the GUID then the 'Not in List' disappears and it works correctly | |
Oct 24, 2016 at 14:32 | comment | added | Michael Edwards | Just test in the content editor by using raw values and manually changing the value. You can then see if the framework needs updating to use lowercase letters or not. | |
Oct 24, 2016 at 14:30 | history | edited | Corey Smith | CC BY-SA 3.0 |
Add syntax highlighting hints.
|
Oct 24, 2016 at 14:24 | comment | added | Rondel | @MichaelEdwards Since I'm working with Guids and not strings I don't have the ability to specify casing for the save. I could potentially try changing the model to use strings and set uppercase GUID strings explicitly but I would rather leave the actual type in place if possible | |
Oct 24, 2016 at 14:21 | comment | added | Rondel | @ASURA yes the templateId and itemId attributes exist on the model correctly. It does also save but there is just the problem with this particular field type | |
Oct 24, 2016 at 14:20 | history | edited | Rondel | CC BY-SA 3.0 |
added more context
|
Oct 24, 2016 at 14:19 | comment | added | Michael Edwards | Can you try converting the Glass guid to upper case, I wonder if the tool that does check is case sensitive | |
Oct 24, 2016 at 14:10 | comment | added | ASura | Are there template id and item id attributes for that model you are saving? | |
Oct 24, 2016 at 13:48 | comment | added | Corey Smith |
Could you show us your code where you're populating your WorkingGroups property and saving the item?
|
|
Oct 24, 2016 at 13:41 | history | edited | Gatogordo | CC BY-SA 3.0 |
added code highlights
|
Oct 24, 2016 at 13:37 | review | First posts | |||
Oct 24, 2016 at 13:49 | |||||
Oct 24, 2016 at 13:33 | history | asked | Rondel | CC BY-SA 3.0 |