Skip to Content
author's profile photo Former Member
Former Member

bugs & code generation problems (Sneak Preview II) !


We have built some larger Web Dynpro projects (containing multiple wd components) and are regularly experiencing major problems, that we unfortunately can't reproduce (yet?)

The problem often starts with some inconsistency in the code. E.g. corrected changes are always undone, as soon as the meta data is saved. The only a rebuild and/or a restart of NDS seems to help.

But.. later on code for the wd component having the problems before, isn't being (re)generated anymore. Actually the \gen_wdp\<component> package does exist anymore at all, nor is it being re-generated.

However, for the other components (re)generation works fine; even if their \gen_wdp\ packages are empty.

The only solution that works in (most) cases, is to start all over again with a recent copy of such an corrupted (?) wd component. We takes LOTS of time :(((

Rebuild nor Repair (project level or component level)seems to help.

Our question: can we force a total rebuild in some way or solve such code generation problems in any other way?

Any tips would we really appreciated!!



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 28, 2004 at 09:54 AM

    Hi Rob,

    I donĀ“t know if this is the same problem I had several times yet.

    In my case the complete controller code is commented. To be exactly my custom code is commented. The code generated by the Web Dynpro plugin has gone completely.

    My solution for this:

    - delete all files and subdirs from gen_* directories.

    - closing all projects in NDS.

    - restarting NDS.

    After that the source is generated again.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Rob and Helmut,

      this problem exists for a very long time actually with different possible reasons (some versions failed generating if you didn't bind a context attribute to a DropDownByKey element for example). Since the reasons aren't really reproducable, it's difficult to determine why this happens sometimes. Anyway, no editing or changing action in the NDS should lead to this, simply stopping at the "point of no return" would be better since one could check where and possibly why this happens.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.