Menu

#85 Button dialog forces developer to Advanced view

open
nobody
None
7
2005-03-24
2005-03-24
Joc
No

If a button contains a SendEmail action, and the email
contains new lines, a subsequent editing of the button
action is only possible in the advanced view.

Reason:
The saveCodeFileContents function removes excessive
newlines thereby changing the code in the behavior
file. Next time the XML version of the action rules is
compared to the code version the comparison leads to a
difference (which was caused by the system and not the
developer).

Solution:
Perhaps not reformat the behavior code on every save,
but make the code insertion/replacement/deletion
functions more accurate to also remove excessive space.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.