问题
I have an Enterprise Architect 12 project with enabled Security and activated 'Require User Lock to Edit' option. I locked my view and then imported my C# code via Code Engineering > Import Source Directory. That worked fine so far and I then released the lock. I wanted to update my model to reflect my code changed so I applied the lock and reran Import Source Directory. It started synchronizing the objects but at some point it started popping up a message box saying
DAO.Recordset[3315] Field 't_objectproperties.Notes' can't be a zero-length string.
for almost every C# class it was synchronizing. What's wrong with my EA and how can I fix it? Understandably I do no want to make a clean import every time, because that would destroy my diagrams in which I have placed th eimported entities.
回答1:
This looks like a bug that should be reported to Sparx Systems
回答2:
I tried some actions that could be useful for solving that situation, while some notes about bugs are waiting.
My situation: using Enterprise Architect's code importer, i selected the folder for source files, when import end, appears that message that you've mentioned before.
My source files were used and/or locked by SVN, so when the import starts, some files failed for import.
My solution: I've Moved the source files and folder structure into another folder. and then i repeated the source code import.
That worked for me.
来源:https://stackoverflow.com/questions/33691889/why-am-i-getting-the-error-field-t-objectproperties-notes-cant-be-a-zero-len