Uniface User Forum

 View Only
  • 1.  Is it possible to turn off....

    Posted 04-21-2021 17:00

    the most annoying thing (for the time being) in Uniface 10?

    The autosave.  Lordy.  Who on earth thought that was a good idea?

    Do I just blow it out to 99999 to 'disable' it?  or?

    Regards,

    Knut



  • 2.  RE: Is it possible to turn off....

    Posted 04-22-2021 14:22

    Agree 🙂



  • 3.  RE: Is it possible to turn off....

    Posted 04-26-2021 13:07

    Hi Knut,

    AFAIK it is in that way by design! ...but all designs could be improved... 😉

    There is already a wish UNP-98 opened by Takafumi Yamamoto and I would like to support it but since a while I did NOT find anymore the opportunity to vote for any wish.

    Regards,
    Gianni



  • 4.  RE: Is it possible to turn off....

    Posted 04-26-2021 13:16

    Who on earth thought this design was a good idea?

    Bank clerk - looking at your bank balance - touches the keyboard and changes the balance from

    10,000 to 1 - and uf autosaves it?  Really?

    If it was 1 to 10,000 - well, sure, ok (only kidding!)

    How's Italy these days?  Are you allowed out yet?

    Regards,

    Knut



  • 5.  RE: Is it possible to turn off....

    Posted 05-07-2021 09:16

    Yes this "autosave" is a dangerous thing
    Please turn it off

    But I believe this is elementary for the non modal editors in the IDF 😔
    If I'm right, UnifAce don't create a layer between surface and database which synchronize the information in the tabs in IDF.  The easiest way to do the synchronizes the data is to store them in DB and reload the tab on FRGF. So UnifAce use this simpel way ...
    That is my guess how it's works


    Ingo



  • 6.  RE: Is it possible to turn off....

    PARTNER
    Posted 10-28-2021 00:27
    Hello everybody,

    full acknowledge...

    After coding a while with Uniface 10, we would also like to get rid of this "feature".
    Please give us the possibility to turn it off.

    There have already been some situations where an Undo didn't work. :-(

    BTW: I couldn't find the wish list in the new rocket forum. Does anybody has the link to it?

    Best regards
    Michael Rösch

    ------------------------------
    Michael Rösch
    Abrechnungszentrum Emmendingen
    ------------------------------



  • 7.  RE: Is it possible to turn off....

    PARTNER
    Posted 12-08-2021 10:52
    How does the autosave logical work? I tried it and it's not working as I expected.
    I added autosave=60
    I put a change in the script (just added a variable declaration).
    I closed the component and got no warning or option to save/discard.
    I went back into the component and my change was there.

    This is Uniface 10.3.

    ------------------------------
    David Pontius
    Systems Analyst
    AFS Technologies Inc
    Tampa FL US
    ------------------------------



  • 8.  RE: Is it possible to turn off....

    ROCKETEER
    Posted 12-08-2021 11:16
    The autosave logical will automatically save the changes after the specified amount of seconds. If an action is preformed in the Editor, like e.g. compiling or closing it, then a "normal" save is done (unrelated to autosave).

    Here's some more info about this topic:

    Uniface IDE > Working with Development Objects > Save New and Modified Objects

    There is a story on the product backlog to introduce a visual indicator or something similar that informs the developer that the object opened in an editor has been changed. I currently don't have any info if and when this can be picked up. Sorry.

    I hope this helps.

    ------------------------------
    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland
    ------------------------------



  • 9.  RE: Is it possible to turn off....

    Posted 05-06-2022 06:47

    Hello,
    I use your tool to do git versionning on xml files.
    UTIMESTAMP and UCOMPSTAMP drive many useless conficts on when merging code.
    I think that UTIMESTAMP is generated by save and/or auto save that's why I want to disable autosave.
    Maybe at least, Is it possible to manage XML export to not store UTIMESTAMP and UCOMPSTAMP in XML.
    Thanks in advance,
    Maxime CHAZALVIEL



    ------------------------------
    Maxime CHAZALVIEL
    Rocket Forum Shared Account
    ------------------------------



  • 10.  RE: Is it possible to turn off....

    Posted 05-09-2022 08:58
    Hello Maxime,

    I use 
    findstr /R /V /C:"^<DAT name=\"UCOMPSTAMP\">" /C:"^<DAT name=\"UTIMESTAMP\">"
    to eliminate timestamps in the exported xml files.

    Then I calculate the hash from this file and compare it with a list, where I store the old hashes.
    Only if the hash differs, the code has really changed and I copy the file to git.
    ; Hash berechnen
    lfileload V_DATEI_HASH, V_INHALT
    V_HASH = $encode("HEX", $encode("SHA512", V_INHALT))
    if (V_HASH != V_HASH_ALT)
    Kind regards
    Norbert

    ------------------------------
    Norbert Lauterbach
    Infraserv Gmbh & Co. Höchst Kg
    Frankfurt DE
    ------------------------------



  • 11.  RE: Is it possible to turn off....

    Posted 05-09-2022 10:59

    Ok great thanks for the tip.
    Kind regards,
    Maxime



    ------------------------------
    Maxime CHAZALVIEL
    Rocket Forum Shared Account
    ------------------------------