Uploaded image for project: 'Lucee Development'
  1. LDEV-1370

ORM Data update not saved in the db -> Lucee Admin Issue

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.1.9
    • Fix Version/s: 5.2.4.10
    • Labels:
    • Environment:

      Fresh Lucee 5.2.1.9 Windows installation

      Description

      So I have this code to update a dataset:

      aTest = entityLoadByPK('artist', 1);
      aTest.setType(5);
      entitySave(aTest);
      OrmFlush();

      It has no effect to the database! The record is not updated.

      Now I deselect the checkbox in Lucee Server Admin under
      ORM / "Flush at request end"
      and now the data is saved!

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              marcackermann Marc Ackermann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: