Active
Project:
Admin Notes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2010 at 20:49 UTC
Updated:
5 May 2016 at 18:06 UTC
Jump to comment: Most recent
I can input a note into the block and save it. But if I leave the page and return, the note is gone. When I go to the reports to view the notes, I have none showing.
This looks like a great module if you can get it to work. I wish I knew the code to help but I don't.
Thx,
Z
Comments
Comment #1
bocaj commentedHi Z,
Are you using the beta2 version? If not, try that. It should be working fine. If you are using beta2 let me know and I will look into it and see what is going on. I am currently using it on three websites that I am maintaining and it seems to be working fine.
Thanks!
Comment #2
Zalatar commentedYes I am using beta 2. I tried to change my default admin theme but the block wouldn't show up.
I think I am going to try it with another site & theme.
Edit: Tried different site using Aquia Prosper and Garland themes. Entered note and saved. Browsed to reports>view admin notes, nothing there. Went back to the page I had notes on and nothing shows.
I don't have a lot of time to troubleshoot at this time. But I will keep a watch on this module.
Z
Comment #3
bocaj commentedI am not sure exactly what the issue is. I will look into this and see what is going on. Thanks for reporting this error.
Comment #4
bocaj commentedOK, so I have narrowed it down. I use the admin module and this module is working properly when configured to display within the admin panel. If the Admin Notes block is set to a theme region like other blocks, then the note is not getting saved. I apparently broke something during a different fix and forgot to test this outside of the admin module. I will look into this as soon as possible and post when a fix has been released.
Comment #5
bocaj commentedI have committed a new dev release that should hopefully take care of this issue. Please try the dev release out when it becomes available and let me know if it works correctly or not for you.
Comment #6
Nnet commentedI have same problem with Admin notes. :-/ Im using 6.19 Drupal core. If it will help. I can write but afret click on save nothing happend and note is after refresh gone.
With this patch I can click on buttont and page refresh but stil nothing saved. http://drupal.org/node/933766
Comment #7
mojzis commentedit works fine with the latest dev release
Comment #8
roderikYes, works fine with -dev for me too.
Time for a new stable release? :)
Comment #10
bocaj commentedStable release pushed this morning. Nothing changed from last dev. Sorry for completely disconnected from this project for so long.
Comment #11
misanthropisht commentedThe latest build still has this problem. Whether the bug affects you is dependent on you db config. However the solution is just to increase the size of the timestamp column.
The problem is the timestamp column created by the module is too small. Depending on how your database is configured the data will either fail to save or a truncated value will be stored. This is why it is working for some people but not for others.
Those currently using the module successfully should be able to verify using the SQL below:
SELECT from_unixtime(timestamp) FROM admin_notes a;To fix this drop
'size' => 'medium'from the timestamp array in admin_notes.installIf I get time I will look in to how to write a patch.