Closed (fixed)
Project:
Terms of Use
Version:
6.x-1.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2009 at 02:23 UTC
Updated:
16 May 2010 at 08:30 UTC
notice: Undefined index: terms_of_use_node_id in /terms_of_use.module on line 99.
when submitting the form the first time:
admin/settings/terms_of_use
Comments
Comment #1
jennifer.chang commentedall on a fresh install, the second time I submitted the form, after having specified the nid,
if I reload the form and click 'I prefer to specify the node id', the nid is unset again, so the variable is lost somewhere...
Comment #2
kars-t commentedSeems to be fixed as I can't reproduce it.
Comment #3
jennifer.chang commentedHow was it fixed since there was no commit in a year?
check your development installation:
#761780: Plenty of E_ALL notices in modules developed on installation with Drupal tarball
Comment #4
kars-t commentedHi jennifer.
The one side of this issue is about E_ALL. Would be easier if you state first that this is an E_ALL problem ;)
The thing in #2 is a "by design" behavior of this module. I don't think it is nice but due to the JS handling switching to "Node by it's ID" will seem to loose the ID. This is not true because the script will not safe anything. But this will produce the E_ALL Error I believe as the field changed and you can only see the original value if you reload.
This will need some work. Feel free to provide a patch for this.
Comment #5
kars-t commentedI changed the algorythm a bit. I still don't like it but won't do a rewrite till next release.