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

bocaj’s picture

Status: Active » Postponed (maintainer needs more info)

Hi 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!

Zalatar’s picture

Yes 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

bocaj’s picture

Status: Postponed (maintainer needs more info) » Active

I am not sure exactly what the issue is. I will look into this and see what is going on. Thanks for reporting this error.

bocaj’s picture

OK, 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.

bocaj’s picture

I 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.

Nnet’s picture

I 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

mojzis’s picture

Status: Active » Reviewed & tested by the community

it works fine with the latest dev release

roderik’s picture

Status: Reviewed & tested by the community » Fixed

Yes, works fine with -dev for me too.
Time for a new stable release? :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bocaj’s picture

Stable release pushed this morning. Nothing changed from last dev. Sorry for completely disconnected from this project for so long.

misanthropisht’s picture

Status: Closed (fixed) » Active

The 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.install

If I get time I will look in to how to write a patch.

  • bocaj committed dbe7beb on 8.x-1.x
    #952466: Fixed issue where admin notes were not saving if a block was...