Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Xmlize problem with Nulls
Xmlize problem with Nulls [message #44455] Fri, 13 March 2015 13:25 Go to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Now when a Null EditNotNull field is Xmlized, an error is set in the xml file, so when the xml file is opened a "invalid Value type" error is thrown so xml file is not opened.

The reason is that EditFields get data from Scan(), and it returns "error" type and an error message ("Null value not allowed.") when field is Null (or out of max/min limits, with "Number must be between %d and %d." message).

IMHO if an EditMinMaxNotNull or EditNotNull field is saved in a xml, the original data should be saved instead of an error. Other way could be to ignore ERROR type values when opening a xml file, instead of throwing an error.

What do you think?


Best regards
IƱaki

[Updated on: Fri, 13 March 2015 13:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Building from source on Windows
Next Topic: How to get path separator depended on platform?
Goto Forum:
  


Current Time: Sun May 12 20:47:00 CEST 2024

Total time taken to generate the page: 0.02180 seconds