DateField: selecting and invalid date possible by clicking twice

If an errorStatus is set in execChangedValue, picking that date leading
to the error using the date picker will set the error status correctly,
but only the first time. If the same date is clicked a second time the
error status will be removed. This does not happen if the validation
code is executed by execValidateValue.

Reason: when a date is picked, field.setValue is called. The
DateFieldAdapter used a parser which was not executed in that case.
Changing it to a validator solves that problem.

Unfortunately, this was not sufficient. When an ui error status was set
in the meantime the server sent the ui error status back. The adapter
stored that status incl. its display text which was not a parsable date.
When the not allowed date was picked, the new display text did not match
the display text of the error status anymore, therefore the model error
status could not be reverted. The server now sends the UI and the model
status back and the adapter ignores the UI status.

226855
5 files changed
tree: 30a35fcdd37a476b75afe79ce597d40cf0619888
  1. license_files/
  2. org.eclipse.scout.dev.jetty/
  3. org.eclipse.scout.dev.jetty.test/
  4. org.eclipse.scout.dev.jetty.test.affix/
  5. org.eclipse.scout.jaxws.apt/
  6. org.eclipse.scout.json/
  7. org.eclipse.scout.rt/
  8. org.eclipse.scout.rt-settings/
  9. org.eclipse.scout.rt.client/
  10. org.eclipse.scout.rt.client.test/
  11. org.eclipse.scout.rt.jackson/
  12. org.eclipse.scout.rt.jackson.test/
  13. org.eclipse.scout.rt.mom.api/
  14. org.eclipse.scout.rt.mom.api.test/
  15. org.eclipse.scout.rt.mom.jms/
  16. org.eclipse.scout.rt.mom.jms.test/
  17. org.eclipse.scout.rt.platform/
  18. org.eclipse.scout.rt.platform.test/
  19. org.eclipse.scout.rt.rest/
  20. org.eclipse.scout.rt.rest.test/
  21. org.eclipse.scout.rt.server/
  22. org.eclipse.scout.rt.server.commons/
  23. org.eclipse.scout.rt.server.commons.test/
  24. org.eclipse.scout.rt.server.jaxws/
  25. org.eclipse.scout.rt.server.jaxws.test/
  26. org.eclipse.scout.rt.server.jdbc/
  27. org.eclipse.scout.rt.server.jdbc.test/
  28. org.eclipse.scout.rt.server.jms/
  29. org.eclipse.scout.rt.server.test/
  30. org.eclipse.scout.rt.serverbridge/
  31. org.eclipse.scout.rt.shared/
  32. org.eclipse.scout.rt.shared.test/
  33. org.eclipse.scout.rt.svg.client/
  34. org.eclipse.scout.rt.svg.client.test/
  35. org.eclipse.scout.rt.svg.ui.html/
  36. org.eclipse.scout.rt.team-project-set/
  37. org.eclipse.scout.rt.ui.html/
  38. org.eclipse.scout.rt.ui.html.scriptprocessor/
  39. org.eclipse.scout.rt.ui.html.scriptprocessor.test/
  40. org.eclipse.scout.rt.ui.html.selenium/
  41. org.eclipse.scout.rt.ui.html.test/
  42. shell_scripts/
  43. .gitattributes
  44. .gitignore
  45. .gitreview
  46. CONTRIBUTING.md
  47. pom.xml
  48. README.md
README.md

Eclipse Scout - RT

[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.

This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.

Downloads

The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.

The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.

Documentation & Links

  • [Eclipse Scout Wiki] 4
  • [Eclipse Scout Forum] 5
  • [Eclipse Bugzilla] 6 (Product=Scout; Component=Scout)

Contribution Guidelines

We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.

The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).

External tools like the GitHub tracker and pull requests are not supported.

Get in Touch

To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org

License

[Eclipse Public License (EPL) v1.0] 9